Gallery version = 2.2.5 core 1.2.0.7
PHP version = 5.3.10 cgi-fcgi
Webserver = Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d SE/0.5.3.4
Database = mysqlt 5.1.50-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux n264s2p0 3.10.4-SE #14 SMP Mon Aug 19 11:25:42 GMT 2013 x86_64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; Media Center PC 5.0; SLCC1)
Wow. It's been a long time since I've been here! Still a noob, so go easy on me.
Found that pictures from my gallery that were linked to my website aren't showing up. Went to the gallery and found this error:
Deprecated: Assigning the return value of new by reference is deprecated in /home/www/thunderbirdscentral.tikatu.com/gallery2/bootstrap.inc on line 43
How do I fix this?
Posts: 8339
Gallery 2.3.x was released to be compatible w/ PHP 5.3+
You need to upgrade.
You should do incremental update 2.2.5 -> 2.2.6 -> 2.3.2
FAQ: How to upgrade Gallery2?
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 23
I was afraid you'd say that.
I've done what I think the instructions said. I downloaded and unzipped the upgrade files and used FTP to upload them.
Now I'm getting a "502 Bad Gateway
The server returned an invalid or incomplete response." message.
I think I put two of the files in the wrong place as well as the right one but I have no idea how to fix that. Do I upload my exported back up or what?
As I said, "noob".
ETA: I double checked the files and found I hadn't updated them all. When I did, I got to the installer. But after I put in my password, I got a "Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
--------------------------------------------------------------------------------
Apache/1.3.33 Server at thunderbirdscentral.tikatu.com Port 80"
So, now what do I do?
Posts: 23
Okay. I fixed those files I accidently overwrote by overwriting them again from 2.2.6 (after all, they weren't among the files changed in the upgrade package). I got the updater, whoo hoo! And I put in the right password this time.
Problem is: it went to authentification (good)... and back to Step 0 (language choice) when I clicked on the "Go to Step 2" button (not so good).
IF I decided to "unpack" 2.2.6 "on top of" my current gallery, does that mean I copy over ALL the files in one fell swoop? I don't remember if I used the preinstaller or not, but I could use that if necessary--I usually have to use FTP.
Posts: 8339
As per upgrade instructions, you overwrite your gallery files w/ new version and run the upgrader.
I've upgraded hundreds of galleries, its not difficult.
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 23
Okay. I've used FTP to overwrite all the gallery files with 2.2.6. When accessing the site via bookmark, (gallery2/main.php) I get the error message: "Deprecated: Assigning the return value of new by reference is deprecated in /home/www/thunderbirdscentral.tikatu.com/gallery2/bootstrap.inc on line 43. The site is temporarily down for maintenance." (Which is the nearly the same error message I got before.) I did copy over the bootstrap.inc file from the 2.2.6.
Now, I get: "502 Bad Gateway
The server returned an invalid or incomplete response." when my browser tries to access the upgrader/index.php.
Nothing I've seen in the link you've given me gives me any clue as to just how I'm supposed to get to the upgrader in the first place.
Posts: 23
Since I wasn't getting anywhere with the FTP business, I figured out how to use the preinstaller and unzip a copy of the gallery so I knew I'd get all the files and folders. I also figured out how to get to the updater--go me! However, I'm having trouble with that loop business. It will authenticate me and bingo! Back to Language Select again. So, what bug do I have which causes this?
Posts: 8339
so you were able to successfully run the upgrader?
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 23
Oh dear God.
I decided to screw the upgrader and use the installer. Got as far as Step 7.
Okay. So I go to the upgrader.
Mind you this. IS. GALLERY2. I have, to my knowledge, NEVER had Gallery1. My config.php is there. Updated and everything. When I tried to authenticate myself earlier using the Updater, I was able to do so! So, what the hell do I do now?
ETA: Okay. Having caught a glimpse of the php info I gave at the beginning, I see the problem. My CORE is 1.2.0.7. I thought I'd updated/upgraded it when I installed 2.2.6. How do I update the core?
Posts: 8339
I cannot give better instructions than we have already documented.
http://codex.galleryproject.org/Gallery2:Upgrading
Maybe you need to hire someone more competent.
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 23
This is a fansite. I'm it. Nobody more competent, I'm afraid. :S
I'm going through the files in the core to see what may have not been updated. Thing is: not all the core files have updates in 2.2.6. There were quite a few folders in my old install that had no corollary in the new version. I didn't know what to do with those. I used the preinstaller to unzip the zip file I downloaded and uploaded via ftp so it should have overwritten everything, right?
Posts: 23
You are not going to believe this.
I went into my config.php and updated it with my new password and the new suffix I gave the g2data file. NOW the updater is running, and I'm on updating the core.
I guess I'm more competent than I thought.
ETA: Now I have a HUGE pile of debug errors. What does the upgrader tell me? Why take it to the forums, of course, so y'all can help me diagnose the problem!
So, now what?
Posts: 8339
You need to overwrite all files in your gallery2 directory.
Not config.php as the upgrade package won't have one.
Not g2data as there wpon't be one of those either.
You need to choose an upgrade package that has all the plugins you had in your previous version.
This is an extremely easy step. One you will have to do again w/ 2.3.2
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 23
So, I need the full package? I thought I had a typical one.
ETA: Okay. I used the full package and got way less errors, though there are still a few--including the pesky one I showed you at the beginning of this thread. Now, I guess it's on to the next upgrade?
Posts: 23
Okay. Upgraded to 2.3.2, I think.
Still can't see my albums. Still get errors on log in (actually, I can't log in), including the one at the beginning. There were two plug-ins I wasn't able to upload: album select and archive upload. Don't know what to do about that.
Shall I list the errors here?
ETA: I see where I can get album select and archive upload. Do I need to download them and install? If so, how do I install?
Posts: 23
I have updated album select and archive upload. I'm still getting that pesky deprecation error, but I can log in. However, though I thought I'd upgraded to 2.3.2, my run of the details tells me this:
I take it I have to upgrade to 2.3.2 again. So, off I go to try that.
ETA: After having upgraded to 2.3.2, my gallery STILL says I've got 2.2.6. Also, here's the final set of error messages from the install... besides the pesky deprecated error I started out with!
Posts: 23
Any ideas why, after updating to 2.3.2, my gallery still says I have 2.2.6? I couldn't use the updater; I had the same problem with it as I did the first time I tried it. There seems to be loop somewhere that pops me back to step 0 when I've been authenticated and should be going to step 2. I still have the same problem and the same Deprecated error I had when I first posted this thread. Where else to I go? What else can I do?
Posts: 8339
I suspect you are not completely overwriting the gallery2 code base w/ the new version
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 23
I uploaded the 2.3.2 zip file to my gallery2 folder on my host.
I uploaded the 2.3 preinstaller to my website folder (not the gallery folder).
I used the 2.3 preinstaller to open and unpack the 2.3.2 over my current install. (Since I used the preinstaller on the 2.2.6, I was under the impression I had to use it again. After all, the upgrader wasn't working--it was in some kind of loop.)
I'll try it again, unless you can tell me a step I've missed.
ETA: Now the installer has a loop. I get to step 10 (Security). I change the folder permissions, and get popped back to step 1 (authentification).
Posts: 23
The only things that are not being overwritten/installed are the albumselect and archiveupload modules. I downloaded these modules, unzipped them, and uploaded the files via FTP. Not sure what else to do.
As it seems these two plug-ins are incompatible, how do I uninstall them? I can't do it from site admin. Are there newer, more compatible versions?
Never mind. I figured out how to update them--hopefully it will be enough. I managed to do archiveupload but not albumselect.
Posts: 23
Okay. I deleted the albumselect folder wholesale, then ran the preinstaller again. For the first time, I got these two errors:
Warning: zip_read() expects parameter 1 to be resource, integer given in /home/www/thunderbirdscentral.tikatu.com/preinstall.php on line 876
Warning: zip_close() expects parameter 1 to be resource, integer given in /home/www/thunderbirdscentral.tikatu.com/preinstall.php on line 908
Not going any further without some guidance.
Posts: 8339
you'll have to PM me SFTP and Gallery Admin creds so I can have a look.
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 23
I think I get the admin creds (user name and password for the gallery, right?). I don't understand what you mean by SFTP. What I use in my FTP program to upload?
Posts: 8339
FTP is insecure, SFTP is better if your host supports it.
-s
________________________________
All New jQuery Minislideshow for G2/G3