Gallery Redirects to Upgrade

jtnatoli

Joined: 2010-08-14
Posts: 3
Posted: Sat, 2010-08-14 23:06

I recently made some template changes and moved a Drupal site from one server to another. Now I'm trying to get the Gallery to work. I copied all of the files and database over, installed on the new server, and after some hiccups, everything seems to have taken - except now if you go to the gallery page ( http://ooohlalabath.com/gallery2/ ) it redirects you to here http://ooohlalabath.com/gallery2/upgrade/index.php

I'm really lost on this one - does anyone know why this is happening?

Thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2010-08-15 01:08

Make sure you followed this guide:
FAQ: How can I move my gallery installation from one server to another?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jtnatoli

Joined: 2010-08-14
Posts: 3
Posted: Sun, 2010-08-15 11:33

Thanks, I did see that. Here's what I did:

  • moved all files from old server to new
  • moved databases
  • moved gallery2 folder
  • moved g2data
  • edited config.php with updated paths and db info
  • went through install process

Do you see anything in what I did that would cause problems? Can you think of anything specifically that would cause a redirect to the upgrade script?

 
jtnatoli

Joined: 2010-08-14
Posts: 3
Posted: Sun, 2010-08-15 12:13

ok so the redirect has stopped, but now i just get a blank white page. error log reports: [15-Aug-2010 06:09:41] PHP Fatal error: Call to a member function onLoad() on a non-object in /home1/ooohlal1/public_html/gallery2/modules/core/classes/helpers/GalleryEntityHelper_simple.class on line 91

any ideas?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sun, 2010-08-15 14:45
Quote:
Can you think of anything specifically that would cause a redirect to the upgrade script?

A redirect to the upgrade script occurs when the versions.dat (version.dat?) file is absent, or its contents do not match what is expected in the code.

As to the other error - no idea. I would scrap it and start again. Follow the instructions very carefully and methodically, they're known to work.