DrupalGuide: Difference between revisions
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
====== Upgrade Process ====== | ====== Upgrade Process ====== | ||
http://drupal.org/node/570162 | http://drupal.org/node/570162<br> | ||
About This Article | About This Article<br> | ||
* Drupal version: Drupal 7.x | * Drupal version: Drupal 7.x | ||
Line 44: | Line 44: | ||
Upgrade Steps | Upgrade Steps | ||
1. Backup your existing site and database. | 1. Backup your existing site and database.<br> | ||
2. Login as user 1. | 2. Login as user 1.<br> | ||
3. # Place the site in "off-line" mode (Administer >> Site configuration >> Site maintenance). | 3. # Place the site in "off-line" mode (Administer >> Site configuration >> Site maintenance).<br> | ||
4. Switch your site's theme to a default theme (Garland). | 4. Switch your site's theme to a default theme (Garland).<br> | ||
5. Disable all custom and contributed modules. | 5. Disable all custom and contributed modules.<br> | ||
6. Remove the Drupal 6 files in the folder or subfolder on your computer | 6. Remove the Drupal 6 files in the folder or subfolder on your computer<br> | ||
7. Copy the Drupal 7 files into the folder or subfolder on your computer | 7. Copy the Drupal 7 files into the folder or subfolder on your computer<br> | ||
8. Re-Configure Your Installation | 8. Re-Configure Your Installation<br> | ||
<br> | |||
Copy your backed up "files" and "sites" directories to the Drupal | Copy your backed up "files" and "sites" directories to the Drupal | ||
installation directory. If other system files such as .htaccess or | installation directory. If other system files such as .htaccess or | ||
robots.txt were customized, re-create the modifications in the new | robots.txt were customized, re-create the modifications in the new | ||
versions of the files using the backups taken in step #1. | versions of the files using the backups taken in step #1.<br> | ||
<br> | |||
quoted from upgrade.txt file | quoted from upgrade.txt file<br> | ||
10. Empty your 'sites' folder | 10. Empty your 'sites' folder<br> | ||
11. Run update.php (DO NOT RUN INSTALL.PHP). Point the browser to http://example.com/update.php | 11. Run update.php (DO NOT RUN INSTALL.PHP). Point the browser to http://example.com/update.php<br> | ||
12. Running update.php at this time makes the necessary database changes to Drupal 7. Your contributed modules are not yet upgraded | 12. Running update.php at this time makes the necessary database changes to Drupal 7. Your contributed modules are not yet upgraded<br> | ||
13. Copy the Drupal 7 contributed modules and themes to your 'sites/all/modules' or 'sites/all/themes' folders as needed | 13. Copy the Drupal 7 contributed modules and themes to your 'sites/all/modules' or 'sites/all/themes' folders as needed<br> | ||
14. Copy customized modules and themes in the correct place 'sites/all/modules' or 'sites/all/themes | 14. Copy customized modules and themes in the correct place 'sites/all/modules' or 'sites/all/themes<br> | ||
15. Go to Administer → Sites Building → Modules and re-enable the modules | 15. Go to Administer → Sites Building → Modules and re-enable the modules<br> | ||
16. Re-Run update.php (DO NOT RUN INSTALL.PHP). Point the browser to http:// yourdomain/update.php | 16. Re-Run update.php (DO NOT RUN INSTALL.PHP). Point the browser to http:// yourdomain/update.php<br> | ||
17. Running update.php at this time makes the database table updates needed by the modules | 17. Running update.php at this time makes the database table updates needed by the modules<br> | ||
18. Re-activate your theme | 18. Re-activate your theme<br> | ||
====== Drupal 7.x ====== | ====== Drupal 7.x ====== |
Revision as of 09:13, 29 January 2011
Drupalbeta
I have a customer on the phone and don't know what to check
The Problem is with a new Drupal installation, and it's not on a VPS1
- Is anything other than SuPHP being used? If so, recommend SuPHP be used & check permissions.
- Is the server using lots of RAM, having MySQL issues, or experiencing high load post-install?
- If yes, the PHP and MySQL settings are likely set too conservatively for Drupal to work properly
- If yes, the PHP and MySQL settings are likely set too conservatively for Drupal to work properly
It's an existing site
- Are they on a VPS1 or have they upgraded servers recently? If they've migrated/upgraded, check the PHP version.
- Is anything other than SuPHP being used? If so, recommend SuPHP be used & check permissions.
- Is this a new Drupal install? If so, and it isn't working, make sure it was installed properly via cPanel/Fantastico.
- Assuming it was installed properly
- Assuming it was installed properly
File Structure
While all PHP-based CMS-packages perform what can basically be considered the same task, differences in functionality and scalability arise out of how those tasks are performed. Drupal File Structure
Versions & Upgrading
http://drupal.org/documentation/upgrade/6/7
Upgrading your Drupal installation
The process of upgrading to the latest version of Drupal can vary in difficulty depending on the complexity of your current installation. You can only upgrade from one version to the next version. For example you are trying to move from Drupal 5 to Drupal 7 you first need to upgrade to Drupal 6 before you upgrade to Drupal 7.
Upgrade Process
http://drupal.org/node/570162
About This Article
* Drupal version: Drupal 7.x * Page status: Needs updating * Last modified: January 20, 2011
Note: DO NOT run install.php at any time during an upgrade. It will empty your content from the database. Upgrade Steps
1. Backup your existing site and database.
2. Login as user 1.
3. # Place the site in "off-line" mode (Administer >> Site configuration >> Site maintenance).
4. Switch your site's theme to a default theme (Garland).
5. Disable all custom and contributed modules.
6. Remove the Drupal 6 files in the folder or subfolder on your computer
7. Copy the Drupal 7 files into the folder or subfolder on your computer
8. Re-Configure Your Installation
Copy your backed up "files" and "sites" directories to the Drupal
installation directory. If other system files such as .htaccess or
robots.txt were customized, re-create the modifications in the new
versions of the files using the backups taken in step #1.
quoted from upgrade.txt file
10. Empty your 'sites' folder
11. Run update.php (DO NOT RUN INSTALL.PHP). Point the browser to http://example.com/update.php
12. Running update.php at this time makes the necessary database changes to Drupal 7. Your contributed modules are not yet upgraded
13. Copy the Drupal 7 contributed modules and themes to your 'sites/all/modules' or 'sites/all/themes' folders as needed
14. Copy customized modules and themes in the correct place 'sites/all/modules' or 'sites/all/themes
15. Go to Administer → Sites Building → Modules and re-enable the modules
16. Re-Run update.php (DO NOT RUN INSTALL.PHP). Point the browser to http:// yourdomain/update.php
17. Running update.php at this time makes the database table updates needed by the modules
18. Re-activate your theme
Drupal 7.x
Hab' doch g'rad g'sagt das i' es hab'n werde wenn's mir auch lohnt~!
Common Causes of Issues in Order of Frequency
Your first step should be to ignore whatever bits of misinformation the customer is giving you. Remember, these people are web developers; this means they usually have no idea
PHP
Drupal