Hi, I just finished migrating my Drupal install to a new server. In the process I installed the latest version of Drupal and all of the modules that I use, ran the update script etc and now everything seems to be working fine except I get this error on every page:
I have an old, very old, drupal install. I have tried to do the 4.7 to 5.x upgrade, but I get the dreaded blank page with notes in my error logs in apache about a call to an undefined function module exist() in common.inc: eval()'d code on line 2.
So I could go chase that all night... probably going to turn out to be that the VERY old Drupal install I upgraded from (pre 4.5 and old MySQL, etc. is doing something strange.)
What I would prefer to do is somewhat more surgical but probably not so automated. Is the following possible, and if so how would one do it?
I would have made an issue on the offending module, but I'm not sure if the problem is on the CCK or VIEWS end of things.
I have been running Drupal for a bit and recently decided to catch up on some maint. Almost everything seems to have worked except for one of the views that I had previously created. I am now current on all modules according to the update report and Yes I did run the update after each upgrade
This view is creating a block that was displaying a list of node type=projects(one of my new CCK types). Any time I try to dislay a page that contains this generated block. I get the following error msg in my apache log. All I get in my browser is a blank page.
[Sun Nov 18 00:27:56 2007] [error] [client 99.99.99.99] PHP Fatal error: Call to undefined function: () in /removed for security/httpdocs/sites/default/modules/views/views.module on line 1581
Upon upgrading to 4.7, the site seemed to be working fine. But then
When I checked the front page, all the pormoted nodes showed "n/a" for each one.
Going to admin > content showed all the nodes as they were, but I could not view or edit - I got an "access denied" message.
Running the update script had a few problems. There were several failed queries that I was able to perform manually through DBA module. I checked most of them visually and they seemed to take. I got a bunch of "lock tables" warnings, which is nothing new. (Yes I had the host grant me lock tables for now on.) I also got these messages:
# user warning: Table 'node_revisions' already exists query: CREATE TABLE node_revisions SELECT nid, nid AS vid, uid, type, title, body, teaser, changed AS timestamp, format FROM node in /home/bride/www/includes/database.mysql.inc on line 121.
# user warning: Duplicate column name 'log' query: ALTER TABLE node_revisions ADD log longtext in /home/bride/www/includes/database.mysql.inc on line 121.
# user warning: Multiple primary key defined query: ALTER TABLE node_revisions ADD PRIMARY KEY vid (vid) in /home/bride/www/includes/database.mysql.inc on line 121.
# user warning: Duplicate key name 'uid' query: ALTER TABLE node_revisions ADD KEY uid (uid) in /home/bride/www/includes/database.mysql.inc on line 121.
When I ran update.php, it got stuck at the "Please wait while your site is being updated." page. It says "Updating store module", with the progress bar stuck at 21%. I ran update.php because I had to upgrade the e-commerce module to 5.x-4.0-alpha6 in order to have a working Availability module (because my client requires that only a certain amount of product be order-able), whcih the earlier e-commerce module didn't have working.