I am having issue when trying to upgrade my current 6.28 to 7.21. I followed all of the upgrade steps found here. Whenever I visit www.site.com/upgrade.php I get the checklist page that tells me "register_globals" is on.

I am hosting at hostgator and they created a php.ini file for me that I placed into my www directory. I edit the php.ini and set

register_globals = Off

. Then I visit upgrade.php again and I get a WSOD.

I have checked the server copy of php.ini at /usr/local/lib/ and it is identical to the one that hostgator created for my site. Here is the php.ini

If I got to the main site page, I get the following error message.

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bob_drpl1.blocked_ips' doesn't exist: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array ( [:ip] => 76.31.xx.xx) in drupal_is_denied() (line 1895 of /home/bob/public_html/includes/bootstrap.inc).

So it appears that I have a missing table in by DB. I checked in phpMyAdmin, and sure enough there is no blocked_ips table. Is this causing the issue? My Drupal 6 was working fine, even when I did an update between versions. Thanks for any help.

My php version is 5.2.17, and mysql is 5.5.23-55.

Comments

john_b’s picture

On your blocked IPs issue, there is thread on this issue http://drupal.org/node/517742. I notice posts 55 and following have a claimed explanation.

On why turning off register_globals gives you WSOD on update.php, if fixing the blocked_ip table issue does not help, I do not know. Although Hostgator seem good for what they are, I am pretty much allergic to running Drupal on shared hosting which is not Drupal-specialist. If you want to debug it yourself you should look at the server logs (which even on shared hosting is often possible).

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

jay_m’s picture

I have successfully upgraded my site to Drupal 7. The issue that I was having was an incomplete understanding of the procedures laid out in the Upgrade process. Step 8.

Remove all old core files and directories

I skipped over, apparently this is critical. I simply was not certain what was considered an "old core" file and directory.

I used the guide

Upgrading Drupal rapidly using SSH/Shell commands

to get all of the old files for me. Worked like a charm.

Future note for anyone reading this. Prior to upgrading my Durpal 6 I had installed a 7 on a test server to check it out. I got the nice black admin bar across the top automatically. This did not happen whenever I upgraded to Drupal 7. In fact I had no link to an administration page at all. I had to use the url

http://www.mysite.com/admin

. This took me to a page where I could enable the "Toolbar" module to get it back.

Thanks