By faqing on
After I updated from Drupal 6.8 to 6.9 (together with cck), my two sites are not accessible. I tried to replace 6.8 to 6.9, but the sites still are blank.
Can anyone instruct me how to downgrade? Do I need to change some data table?
Comments
=-=
There is no downgrade path.
If you feel you must go backwards, use the backup you took before you upgraded. Though I don't suggest this as you will be missing some secuity issues that were pacthed with the release of 6.9
It is best if you describe the problem to the best of your ability and let's fix the problem rather than downgrading.
blank pages are apache errors, check your apache error logs for the error being thrown. You may need your host, if on shared hosting, to help get those logs.
Thank you for the quick
Thank you for the quick reply.
Here are the error logs (for my site: http://elearning.ibc.ac.th):
[Sat Jan 17 15:06:12 2009] [error] [client 68.98.31.30] File does not exist: /home/ibcacth/public_html/elearning/favicon.ico
[Sat Jan 17 15:06:12 2009] [error] [client 68.98.31.30] File does not exist: /home/ibcacth/public_html/elearning/favicon.ico
[Sat Jan 17 15:06:09 2009] [error] [client 68.98.31.30] File does not exist: /home/ibcacth/public_html/elearning/favicon.ico
[Sat Jan 17 15:06:09 2009] [error] PHP Fatal error: Call to undefined function node_load() in /home/ibcacth/public_html/elearning/includes/menu.inc on line 410
[Sat Jan 17 13:58:01 2009] [error] PHP Fatal error: Call to undefined function node_load() in /home/ibcacth/public_html/elearning/includes/menu.inc on line 410
[Sat Jan 17 13:57:14 2009] [error] PHP Fatal error: Call to undefined function node_load() in /home/ibcacth/public_html/elearning/includes/menu.inc on line 410
[Sat Jan 17 13:56:26 2009] [error] PHP Fatal error: Call to undefined function node_load() in /home/ibcacth/public_html/elearning/includes/menu.inc on line 410
[Sat Jan 17 13:33:07 2009] [error] PHP Fatal error: Call to undefined function _system_theme_data() in /home/ibcacth/public_html/elearning/includes/theme.inc on line 459
[Sat Jan 17 13:32:53 2009] [error] PHP Fatal error: Call to undefined function user_access() in /home/ibcacth/public_html/elearning/includes/menu.inc on line 449
=-=
when upgraing from 6.8 to 6.9 did you run update.php ?
have you tried clearing the cache tables manually in the database?
using the error as a search term here on drupal.org reveals: http://drupal.org/search/node/PHP+Fatal+error%3A+Call+to+undefined+funct...
which may provide a more immediate answer if you did indeed run update.php and try clearing your cache in the database.
I successfully run
I successfully run update.php, but I did not clear the cache of the data table. I did not back up my data. For the past three years, there were no problems to update drupal.
1. Take a database backup.
1. Take a database backup. Now. Please!
2. The first error suggests that Drupal didn't manage to load user.module. (Looks like same problem for node.module, and possibly others too.) Usually this means that either some of the Drupal files are missing, or are in the wrong place, or cannot be read by the PHP process on the web server - check their permissions and also the permissions of modules/ and modules/modulename. As a result their entries in the {system} table in the DB may have status set to 0 instead of 1 (which will also stop the site from working until corrected). Is everything present and correct? There are 5 "core - required" modules: block, filter, node, system, user.
Does this help?
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
Upgrading
Hmmm that's weird. If I were you, I'd try deleting your current 6.9 and re-upload it again. There might be failed transfers/missing include files when you transferred your files to your web site hence the "Call to undefined function node_load()".
This is what I did, I upgraded yesterday:
-> Created a backup of the database using phpMyAdmin
-> Created a backup of the entrie "/" drupal install
-> Put the site into offline mode
-> Selected one of the generic themes
-> Disabled all the modules
-> backed up "sites" and "files"
-> Deleted the old files in "/" Drupal installation
-> Uploaded the new 6.9
-> Restored the old "sites" and "files" folders into the new 6.9 folder "/"
-> Restored the old .htaccess and "robots" file
-> Just in case, I set all permissions to RWX -> 777 (this could be a bad idea) but read on
-> Ran Update.php
-> Any permission security problems were then thrown at me, what should be non-writable and what should be writable and I fixed it
-> Upgrade went without a glitch
I recently had a problem with a module, "Cannot modify headers - headers already sent" error and it turned out to be a bad transfer. Even it doesn't report "failed transfers", I would try it again as the software is designed to work so there shouldn't be a reason why it wouldn't unless your host doesn't meet the requirements.
Hope that helps....
Thank all for your help!
Now my site is back to normal.
The cause of the problem:
When I was updating, I uploaded drupal 6.9 to my module folder.
To solve this problem:
1. I install drupal 6.9 and all the modules to another folder
2. Having installed, I use phpmyadmin to export the "system" data
3. Use phpmyadmin to replace system data with the newly installed one.
4. Run update.php and all my sites come back.
see here: http://elearning.ibc.ac.th
Thank all for your help. Drupal is great!
Glad you got it working
Glad you got it working :-)
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk