upgrade d5 to d6 deletes themes and engines from system table
I've seen loads of posts about trouble upgrading from D5 to D6, but no answers for my specific problem. That I know of, anyway. Apologies if this is answered elsewhere. I'm upgrading a site from Drupal 5.x to Drupal 6.x. After running the update.php script, I find the system table contains no owner values for any of my themes. I think I can hack these values, setting the owner column to "themes/engines/phptemplate/phptemplate.engine" for most of the themes. But what's the deal? Why wasn't this done during update.php? It might have to with open basedir restrictions. Because I've updated a local copy of the site and it didn't have this problem. but running update on the live server has this problem. And more importantly, are there any other parts of the upgrade that failed, but I haven't discovered yet? thanks for any help, -Dave
Follow up to my own thread.... I hacked the system table, inserting values for the owner column. but as soon as I visit Site Building >> Themes and save settings, Drupal unsets my owner values. So I keep getting errors about an include failure in theme.inc. I'll keep investigating. Pain.... On Wed, 29 Jul 2009 19:11 -0700, "David Cohen" <drupal@dave-cohen.com> wrote:
I've seen loads of posts about trouble upgrading from D5 to D6, but no answers for my specific problem. That I know of, anyway. Apologies if this is answered elsewhere.
After painful investigation, I learned that Drupal was not recognizing the phptemplate.engine file, because a call to readdir() was simply not working properly. It did not return the phptemplate.engine file, until I touched a new file in that directory, and made a subdirectory. I did those two things just to test what was going wrong, and suddenly it did recognize the file. But still drupal refuses to find other files. So for example I don't see the themes in profiles/custom/themes in my themes list. I suspect something is wrong at my host. Has anyone seen anything like this?
Hi, Have you checked the mySQL configuration of your host? C On Jul 29, 2009, at 8:37 PM, David Cohen wrote:
After painful investigation, I learned that Drupal was not recognizing the phptemplate.engine file, because a call to readdir() was simply not working properly. It did not return the phptemplate.engine file, until I touched a new file in that directory, and made a subdirectory. I did those two things just to test what was going wrong, and suddenly it did recognize the file.
But still drupal refuses to find other files. So for example I don't see the themes in profiles/custom/themes in my themes list.
I suspect something is wrong at my host. Has anyone seen anything like this?
Check perms/ownership on your dirs. Domenic Santangelo Director of Engineering, WorkHabit, Inc 530-902-2576 Direct Via iPhone On Jul 29, 2009, at 8:37 PM, "David Cohen" <drupal@dave-cohen.com> wrote:
After painful investigation, I learned that Drupal was not recognizing the phptemplate.engine file, because a call to readdir() was simply not working properly. It did not return the phptemplate.engine file, until I touched a new file in that directory, and made a subdirectory. I did those two things just to test what was going wrong, and suddenly it did recognize the file.
But still drupal refuses to find other files. So for example I don't see the themes in profiles/custom/themes in my themes list.
I suspect something is wrong at my host. Has anyone seen anything like this?
Wow, you've got a weird one there, Dave. I've done a couple dozen such upgrades and never had anything like this. Never any real significant problems at all (except with 6.8, which I had to skip). -- Nancy E. Wichmann, PMP Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr. -------------- Original message from "David Cohen" : --------------
I'm upgrading a site from Drupal 5.x to Drupal 6.x. After running the update.php script, I find the system table contains no owner values for any of my themes. I think I can hack these values, setting the owner column to "themes/engines/phptemplate/phptemplate.engine" for most of the themes. But what's the deal? Why wasn't this done during update.php?
participants (4)
-
Bushidodeep -
David Cohen -
Domenic Santangelo -
nan_wich@bellsouth.net