Hi,
I have attempted to upgrade my site from Drupal 4.7.x to Drupal 6.1. I am using Apache2Triad (Apache2, PHP5, MySQLI am running into serious trouble. Hope you can help.
Here are the steps I followed:
1. Logged in to my site
2. Backed up all my files and database.
3. Followed instructions as good as possible (I didn't have a standard 4.7 theme, so what I did was to edit variable "default_theme" and changed from s:2:"td" to s:10:"bluemarine".
4. Deleted ALL files in the installation folder.
5. Copied all new files into installation folder.
6. Copied my files directory over again.
7. Copied my sites directory over again.
8. Ran update.php file.
At this point, I only get a completely blank screen. Searching the Drupal site gives me results about memory limits and ensuring error reporting is on, etc.
When I run update again, after memory limit was set to 32MB and error reporting was switched on, I get the following error message:
Fatal error: Call to undefined function: _system_theme_data() in D:\Web\htdocs\sites\oldtd-sa\includes\theme.inc on line 431
So - I searched for this function in all files, and couldn't find where it is defined, only where it has been referenced. I re-downloaded Drupal 6.1 to ensure that I absolutely have the complete and functional archive, unpacked it again, and did all the steps from 4 to 8 (as above) again, and got the same problem.
Any advice would be appreciated. I am forced to upgrade to Drupal 6.1 now, as my host upgraded PHP and Apache, and now I am without a working site... :-(
Thanks!
Kobus
Comments
take the long way around
the direct upgrade from 4.7.x to 6.x is not supported, you need to upgrade to 5.x first.
in this case you'd clear the directory again and set up a drupal 5.x installation there.. run upgrade.php .. then repeat the process for drupal 6.x
good luck, I hope all will work again
Thanks
Thank you, I will try this and give feedback :-)
Kobus
Thanks!
Hi,
It works now - thanks for the advice! You saved my hide. :-) Now I just need to figure out how to upgrade my custom modules and themes, however, there is a huge help section for that, and a whole pot of midnight oil :P
-- Kobus
Well, thanks for pointing
Well, thanks for pointing this out. I ran into the exact same problem.
What I find extremely irritating about this is that all of the docs say that upgrading 4.5.x and later IS supported.
the doc's also say that 4.5
the doc's also say that 4.5 is very old... there are 4 major releases since 4.5 ( drupal 4.6.x, drupal 4.7.x [insert magic version numbering switch] drupal 5.x and drupal 6.x)
expecting that a upgrade from 4.5 to 6 will work straight away is somewhat [self censored mode activated]
OTOH, please tell us which part of the documentation so we can fix that part...
Such Arrogance
Wow that is an arrogant comment.
Frankly, as a user I believed an upgrade would work from any version to any other version, and that at the very least the software would inform me if my attempt to upgrade was not supported (it certainly let me know about my global variables being turned on). Hell, even if the upgrade instructions said anything about upgrades from version 4 being unsupported (I read through all the upgrade docs, not a word is mentioned). I've wasted hours on this. So next time do the math: should 1 person spend an hour making the software and/or documentation user-friendly, or should countless users have to spend their hours in frustration trying to figure out what the hell happened and why their software is completely hosed?
True, it was arrogant, but
True, it was arrogant, but please read my last sentence too: where does the documentation need to be improved to make it clearer?