Právě je 29 bře 2024 16:29

Všechny časy jsou v UTC + 1 hodina




Odeslat nové téma Odpovědět na téma  [ Příspěvků: 33 ]  Přejít na stránku Předchozí  1, 2, 3, 4
Autor Zpráva
 Předmět příspěvku: Re: Drupal 7 - nový návod na instalaci a stránka o aplikaci
PříspěvekNapsal: 16 zář 2011 13:52 
C4 podpora
C4 podpora

Registrován:
30 čer 2009 08:14
Příspěvky:
8492
Dobrý den,

takže z databází to nesouviselo. Když budete postupovat podle návodu v souboru UPGRADE.txt, tak aktualizace bude fungovat bez problémů. Tento problém naleznete v bodu 13.

Kód:
1. Check on the Drupal 7 status of your contributed and custom modules and
   themes. See http://drupal.org/node/948216 for information on upgrading
   contributed modules and themes. See http://drupal.org/node/895314 for a list
   of modules that have been moved into core for Drupal 7, and instructions on
   how to update them. See http://drupal.org/update/modules for information on
   how to update your custom modules, and http://drupal.org/update/theme for
   custom themes.

   You may decide at this point that you cannot upgrade your site, because
   needed modules or themes are not ready for Drupal 7.

2. Update to the latest available version of Drupal 6.x (if your current version
   is Drupal 5.x, you have to upgrade to 6.x first). If you need to update,
   download Drupal 6.x and follow the instructions in its UPGRADE.txt. This
   document only applies for upgrades from 6.x to 7.x.

3. Log in as user ID 1 (the site maintenance user).

4. Go to Administer > Site configuration > Site maintenance. Select
   "Off-line" and save the configuration.

5. Go to Administer > Site building > Themes. Enable "Garland" and select it as
   the default theme.

6. Go to Administer > Site building > Modules. Disable all modules that are not
   listed under "Core - required" or "Core - optional". It is possible that some
   modules cannot be disabled, because others depend on them. Repeat this step
   until all non-core modules are disabled.

   If you know that you will not re-enable some modules for Drupal 7.x and you
   no longer need their data, then you can uninstall them under the Uninstall
   tab after disabling them.

7. On the command line or in your FTP client, remove the file

     sites/default/default.settings.php

8. Remove all old core files and directories, except for the 'sites' directory
   and any custom files you added elsewhere.

   If you made modifications to files like .htaccess or robots.txt, you will
   need to re-apply them from your backup, after the new files are in place.

9. If you uninstalled any modules, remove them from the sites/all/modules and
   other sites/*/modules directories. Leave other modules in place, even though
   they are incompatible with Drupal 7.x.

10. Download the latest Drupal 7.x release from http://drupal.org to a
   directory outside of your web root. Extract the archive and copy the files
   into your Drupal directory.

   On a typical Unix/Linux command line, use the following commands to download
   and extract:

     wget http://drupal.org/files/projects/drupal-x.y.tar.gz
     tar -zxvf drupal-x.y.tar.gz

   This creates a new directory drupal-x.y/ containing all Drupal files and
   directories. Copy the files into your Drupal installation directory:

     cp -R drupal-x.y/* drupal-x.y/.htaccess /path/to/your/installation

   If you do not have command line access to your server, download the archive
   from http://drupal.org using your web browser, extract it, and then use an
   FTP client to upload the files to your web root.

11. Re-apply any modifications to files such as .htaccess or robots.txt.

12. Make your settings.php file writeable, so that the update process can
   convert it to the format of Drupal 7.x. settings.php is usually located in

     sites/default/settings.php

13. Run update.php by visiting http://www.example.com/update.php (replace
   www.example.com with your domain name). This will update the core database
   tables.

   If you are unable to access update.php do the following:

   - Open settings.php with a text editor.

   - Find the line that says:
     $update_free_access = FALSE;

   - Change it into:
     $update_free_access = TRUE;

   - Once the upgrade is done, $update_free_access must be reverted to FALSE.

14. Backup your database after the core upgrade has run.

15. Replace and update your non-core modules and themes, following the
   procedures at http://drupal.org/node/948216

16. Go to Administration > Reports > Status report. Verify that everything is
   working as expected.

17. Ensure that $update_free_access is FALSE in settings.php.

18. Go to Administration > Configuration > Development > Maintenance mode.
   Disable the "Put site into maintenance mode" checkbox and save the
   configuration.

_________________
Radek Plašil
Webhosting C4
https://www.c4.cz/


Nahoru
 Profil  
 
 Předmět příspěvku: Re: Drupal 7 - nový návod na instalaci a stránka o aplikaci
PříspěvekNapsal: 16 zář 2011 14:40 

Registrován:
08 lis 2010 16:22
Příspěvky:
37
Dobrý den,
tak zdá se, že jádro se rozběhlo, teď aktualizuji moduly. Mám problém s modulem Display suite. Po spuštění skriptu update.php vypíše následující chybu:

ds module
Update #7002

Failed: DatabaseSchemaObjectDoesNotExistException: Cannot change the definition of field <em class="placeholder">ds_layout_settings</em>.<em class="placeholder">layout</em>: field doesn't exist. in DatabaseSchema_mysql->changeField() (line 449 of /data/www/farnost2k.cz/dev.farnost2k.cz/includes/database/mysql/schema.inc).

Zatím se bez něj obejdu, tak ho smažu, ale rád bych, kdyby se rozchodil... Nevíte, v čem je tady problém?


Nahoru
 Profil  
 
 Předmět příspěvku: Re: Drupal 7 - nový návod na instalaci a stránka o aplikaci
PříspěvekNapsal: 16 zář 2011 14:59 
C4 podpora
C4 podpora

Registrován:
30 čer 2009 08:14
Příspěvky:
8492
Dobrý den,

jestli modul nepotřebujete, tak ho vyzkoušejte odinstalovat a nainstalovat znovu http://drupal.org/project/ds.

_________________
Radek Plašil
Webhosting C4
https://www.c4.cz/


Nahoru
 Profil  
 
Zobrazit příspěvky za předchozí:  Seřadit podle  
Odeslat nové téma Odpovědět na téma  [ Příspěvků: 33 ]  Přejít na stránku Předchozí  1, 2, 3, 4

Všechny časy jsou v UTC + 1 hodina


Kdo je online

Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 0 návštevníků


Nemůžete zakládat nová témata v tomto fóru
Nemůžete odpovídat v tomto fóru
Nemůžete upravovat své příspěvky v tomto fóru
Nemůžete mazat své příspěvky v tomto fóru
Nemůžete přikládat soubory v tomto fóru

Hledat:
Přejít na:  
FTP Uploader
Staňte se naším zákazníkem!
Hledáme kolegy
Drupal partneři

Seznam všech partnerů

Drupal Hosting
Návody pro C4

© 2009-2024 ČESKÝ WEBHOSTING s.r.o. Kontaktní e-mail: forum@c4.cz
Diskuzní fórum využívá technologie: phpBB, phpBB-SEO.com, phpBB.cz