I upgrade core from 6.10 to 6.12, ran update.php and all was fine. Then I upgrade views and devel. But when I run update.php this time and click the "Continue" button, I get blank screen. php.log show:
"Call to undefined function: _system_theme_data() in .../includes/theme.inc line 459"
I then ran update.php again and this time no problem.
This happened in my staging site. I am a little bit afraid to do the upgrade on my production site now.
Anyone seen this before? I would like to figure out why this happen before I proceed to upgrade my production sites.
I did google "call to undefined function _system_theme_data", it seem people encounter this problem when upgrade from 4.x to 6.x. I successfully upgraded from 6.10 to 6.12, then get this problem when doing update.php to upgrade the views and devel modules.
Comments
same problem during backup
hm, I have the same problem. the live site is still working on http://bruckerconcept.de but I tried to get a backup of the live site running locally. Was following the instructions provided here: http://drupal.org/node/75545
but after I tried to view the page on my local machine I get the error:
Does anyone have an idea what this is related to? Are there certain modules causing this error?
what are possible fixes for it?
_system_theme_data() is in
_system_theme_data() is in system.module and all module files are loaded at the end of full bootstrap. If anything call list_themes() before that, then it can cause this problem. It's hard to tell what happened without a full stack trace.
I went ahead and upgraded all my production sites without problem.
having similar problem
I am not quite sure why now?
http://SocialNicheGuru.com
Delivering inSITE(TM), we empower you to deliver the right product and the right message to the right NICHE at the right time across all product, marketing, and sales channels.
I had the same issue when
I had the same issue when upgrading from 5.x to 6.x.
I had to add a few columns in tables in the dB that were missing (I forget the columns, but the errors said columns missing, so I created them)
Then I got the error in this thread. My issue was tracked down to multiple "system" module folders. Apparently the moronic developers before me had backed up the system folder to the modules folder and named it "system-backup". When I checked the database, the folder the system module was pointing to was the backup system folder. I didn't examine the files in the folder to see dates and such, but my guess is that the folder was a non-standard naming convention AND active within the database, that screwed everything up.
It took me FOREVER to find the issue, I only hope my message here helps someone somewhere to rectify their issue.
Possible solution
I just had this and it was because my settings.php wasn't defining the correct DB settings.
I had the same problem when I migrated , but different...
I migrated two websites using the same codebase. one worked and one didn't.
once I used the troubleshooting tips from this blog:
https://www.drupal.org/node/158043
it output the errors on my index page. Once there, I noticed some database tables were missing. I found that my database import was missing everything after search_... no tables beyond S. So, I went back to my old server and did a mysql export for tables having a name after S.
I'm downloading the New sql file now and I expect it to work like a champ, after 2 more hours of file upload to my sql server... :P