Hello.
I had hosted my old Gallery 2 site on my ISP's server, but it's now broken and I can't access it. I can't access any page, not even the admin page.
I copied by FTP all files from the ISP's machine to mine, and did an SQL dump. I then injected the SQL code on my machine.
Now, when I connect to Gallery, I get the upgrade wizard, with lines like
Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/modules/core/classes/GalleryStorage.class on line 275
Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/lib/adodb/adodb.inc.php on line 921
Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/lib/adodb/adodb.inc.php on line 1996
Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/lib/adodb/adodb.inc.php on line 2068
at the top at the page.
Authentication works, I get to "Authentication successful", but at the top of the page, I have tons of lines like
Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/modules/core/classes/GalleryStorage.class on line 1061
Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/modules/core/classes/GalleryStorage.class on line 1077
Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/modules/core/classes/GalleryStorage.class on line 1077
and after theses lines, I have
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /opt/lampp/htdocs/modules/core/classes/GalleryStorage.class:1061) in /opt/lampp/htdocs/lib/support/GallerySetupUtilities.class on line 75
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /opt/lampp/htdocs/modules/core/classes/GalleryStorage.class:1061) in /opt/lampp/htdocs/lib/support/GallerySetupUtilities.class on line 75
When I click on the button to go to step 2, I get back to the first step, where I choose the language, and then to authentication again.
How can I get past this?
Thanks!
Posts: 8339
FAQ: How can I move my Gallery installation from one server to another?
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 1642
Set your php.ini error_reporting to:
Restart PHP.
Alternatively, add the following to config.php in G2:
The first option is better as it fixes the trivial warnings for every PHP app on your server while the second only deals with G2.
Once those trivial warnings are gone, you can see what real issues are left.
Btw, your main issue is that you are using an outdated version of G2 and you need to update to v2.3.2 asap.
--
dakanji.com