Hello all, I've moved a long time Gallery2 system to a new server and am having a small problem.
Gallery version = 2.2.5 core 1.2.0.7
PHP version = 5.4.26 cgi-fcgi
Webserver = Apache mod_fcgid/2.3.10-dev
Database = mysql 5.5.32-cll-lve, lock.system=flock
GD Version: bundled (2.1.0 compatible)
I've re-run the installer to see the System Checks tab, all are green/Success.
Here's the error a user sees when uploading an image:
*Warning*: Missing argument 3 for GdFunctionality::imageJpeg(),
called in /home/mydir/public_html/gallery/modules/gd/classes/GdToolkit.class on line 504
and defined in */home/mydir/public_html/gallery/modules/gd/classes/GdFunctionality.class* on line *351*
Looking at the source, on that line 504 there are only two arguments:
$ret = $gd->imageJpeg($tmpRes, $tmpFile);
And over on that line 351 the function has 3 arguments:
function imageJpeg($res, $filename, $quality) {
Almost everything seems to be working. Images can be posted and the thumbnails are generated, though the user sees the error above for each image posted.
One thing that is not working is login captcha's... they do not get generated. I'm not sure if that's the same problem.
Tips appreciated!
Posts: 8339
Gallery 2.3.1 was released to address php 5.3+ requirements. The latest is 2.3.2
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 1642
Upgrade G2 in two stages.
First to v2.2.6 and then to v2.3.2
--
dakanji.com
Posts: 23
I tried to upgrade to 2.2.6 but it doesn't look like it's going to work on the new server. Lots of PHP deprecated messages.
In the upgrader Step 1 is to authenticate per my config password, I authenticate and get the button to go to Step 2, but clicking that takes me back to the Welcome (Step 0).
Hoping for suggestions on how to proceed.
Posts: 1642
If you control the server, search google for how to disable e_depcrecated warnings and implement.
--
dakanji.com
Posts: 23
Ok, I'll do that but I'm guessing it won't fix the problem of looping from the Step 2 button back to Welcome, or do you think it will? I'm off-site right now and won't be able to try it until much later tonight, so any tips in the meantime will help. THANKS!
Posts: 23
Looks like I'd have to setup a VM with an older PHP. Can anyone suggest what might be the most recent version of PHP that works for 2.2.6? I think it's somewhere from 5.0.4 to 5.2.x?