Database updates - Out of date
MTecknology - June 27, 2008 - 06:19
| Project: | Pathauto |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
All of the recently released versions of this module seem to break my site.
Does Not Work:
pathauto-6.x-1.1.tar.gz
pathauto-6.x-1.x-dev.tar.gz
pathauto-6.x-2.x-dev.tar.gz
Works:
pathauto-6.x-1.1.tar.gz
What happens:
"Database updates Out of date
Some modules have database schema updates to install. You should run the database update script immediately."
I switched back to the 6.x-1.1 version and things started working fine. I'll hold off on the rest of my sites until this is fixed. :)

#1
This is actually an awesome thing for the Update module to do! I didn't even know it did that! Awesome. :)
Anyway, your site isn't broke, but you do need to run update.php after updating Pathauto. Just like you need to with any other module update. Take a look at your admin/build/modules:
(Also, first you say that 6.x-1.1 doesn't work, and then you say it works (twice). I've interpreted it as if the last two "6.x-1.1" were "6.x-1.0".)
#2
I agree with Freso's debugging analysis of this. Please upgrade to 6.x-1.1, run update.php and let us know what happens.
#3
Sorry, it was the 1.0 version that works. I updated the module, and went to http://site.com/update.php which redirected me to http://site.com/update.php?op=info which displayed no errors.
I changed this in the update.php file
From: ini_set('display_errors', FALSE);
To: ini_set('display_errors', TRUE);
Rerunning the file gave me the exact same thing.
#4
@MTecknology - you have to click through the update wizard until you have done the full update. Simply visiting op=info will not be far enough to clear the menu cache.
#5
I didn't go to op=info. I went to update.php... do I need to go to install.php instead?
#6
@Mtecknology, you sayd "redirected me to http://site.com/update.php?op=info which displayed no errors."
But that is just the first page of a multi-page wizard. You must follow the wizard through to completion.
#7
But there's only a blank white page. When I view source, there's no text at all in the page.
#8
Ok. Please look in the apache logs. This sounds like a fatal error which should show up there.
#9
Sorry... I don't have much internet access for the next two months.... :'(
I checked the apache logs and there's nothing. This is what appends to those files when i load the page.
access.log:
192.168.0.89 - - [07/Jul/2008:09:06:10 -0500] "GET /update.php?op=info HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9) Gecko/200806
1017 Firefox/3.0"
error.log:
nothing
In /etc/apache2/logs there's nothing in any of those files at all.
---
When I go to install.php... I get these errors...
Warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/profarius/includes/theme.maintenance.inc on line 217
Warning: Invalid argument supplied for foreach() in /var/www/profarius/includes/theme.maintenance.inc on line 217
Warning: include(./themes/garland/maintenance-page.tpl.php) [function.include]: failed to open stream: No such file or directory in /var/www/profarius/includes/theme.inc on line 963
Warning: include() [function.include]: Failed opening './themes/garland/maintenance-page.tpl.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/profarius/includes/theme.inc on line 963
------
Am I seriously the only person having this issue?
.... on all three of my web sites?
#10
How about in watchdog? Any errors there?
#11
Have you removed any files from the standard Drupal distribution? Or not updated all files? Those warnings in comment #9 have nothing at all to do with Pathauto, but does look like theme files are missing or corrupted or not compatible with each other (not from the same version of Drupal).
#12
I don't know if I can face plant any harder... I did wind up removing some crap and that's what broke it. I'm sorry for bugging you guys so long for such an idiot mistake.
Thanks for helping me out!
and putting up with me.
#13
That's fine - we all get confused sometimes.
Thanks for reporting back that everything is working.
#14
Just to clarify... I didn't think I needed those themes. That's what I deleted.
#15
Automatically closed -- issue fixed for two weeks with no activity.