After the server was upgraded to PHP 5.4, I first discovered all of the Gallery2 images are broken. When I tried to log in to the admin I was met with this error message:
I was able to get my system info from this failure message:
Quote:
Deprecated: Assigning the return value of new by reference is deprecated in /home/k******y/k******y.com/h***s/bootstrap.inc on line 43
Authentication Failure
Your change cannot be completed due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.
Back to the Gallery
Error Detail -
Error (ERROR_REQUEST_FORGED)
• in modules/core/classes/GalleryController.class at line 239 (GalleryCoreApi::error)
• in main.php at line 243 (GalleryController::assertIsGenuineRequest)
• in main.php at line 104
• in main.php at line 88
I am not able to view the System Information page - it only displays this message
Quote:
Deprecated: Assigning the return value of new by reference is deprecated in /home/k******y/k******y.com/h***s/bootstrap.inc on line 43
Based on the version number being reported, I'm assuming I need to update. My concern is that I'm seeing files in the gallery-2.3.3-typical.zip file that are OLDER than what is on the server.
For example the main.php file on the server is 4/20/2009 but the one in the zip file is 09/02/2008
Should I only upload the newer files?
Gallery version: 2.3
PHP version: 5.4.20 cgi-fcgi
PHPInfo Link (see FAQ):
Webserver: Apache
Database: mysqli 5.1.56-log
Activated toolkits: NetPBM, Gd
Operating system: Linux bifur 3.2.48-grsec-rc1+ #64 SMP Wed Jul 17 18:56:06 UTC 2013 x86_64
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36
Posts: 75
Quick progress note. I only uploaded the newer files. The thumbnails being pulled into WordPress using G2 plug-in but now Gallery2 is at the update screen. Here's hoping this update doesn't break things again. (I've got another G2 install that I STILL cannot get the thumbnails to come back).
Posts: 75
Follow up - this Gallery2 is working again