I have a version of Gallery that was originally installed on the domain by someone else some time ago. Just recently, the domain hosting service apparently upgraded to a new version of PHP on the server, and none of my gallery scripts work any longer.
What is the best approach to save my gallery? A lot of work has gone into uploading and organizing pictures for our sailing club.
Should I install the latest version of gallery on the server from scratch, and then try to import data from the old installation - or can I install an upgrade over top of the current version.
I don't even know what version is on the server now, since none of the php pages will display, includeding .config, etc.
I have found bits and pieces of the answer to my question on the website and forum, but am having difficulty forming a safe, clear path to resolving this problem.
Thanks much,
Gene Lambert
Posts: 4342
If you can be more specific about what you see on screen then it might be possible to be of more help.
What's in the version.dat file in the g2data directory?
There may in fact not be one.
Posts: 9
Alecmeyers - thank you very much for the rapid reply.
I can't find a 'g2data directory'; however, I did find 'version.php' page in my current, broken gallery root directory. Again, these php pages will not execute any longer on the updated server, but I did download the page and examined it as as text. I think this is the pertainent information:
$gallery->version = "1.4-pl2";
$gallery->config_version = '48.1';
$gallery->album_version = '15.1';
$gallery->remote_protocol_version = 1;
$gallery->user_version = 1;
You asked what I see on the screen when I try to access gallery. The answer is nothing. Again, the scripts are apprently not executing ever since the host updated their version of PHP, so I get nothing in return on my screen.
By the way, I did upload the current version of Gallery 2 onto the host server, and the introductory setup screen looked fine. These new scripts are working fine on this server with respect to the first page, anyway. I guess he problem is how to rescue my work from the original gallery and get it to the new version - or how to update the old scripts to work with then newer version of PHP.
Thanks again - Gene
Posts: 4342
That'll be gallery version 1, then, not related to G2.
Posts: 9
OK - it appears you're right. I guess I'll have to appeal to the gallery v.1 crowd then.
Thanks for your time.
Posts: 16504
I moved the thread to the G1 forums. Do you get any error message at all when trying to access your site?
Can you post a link to phpinfo?
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 9
Thanks again. No message error whatsoever. Just like stepping on a plum - nothing.
Here is the site: kbsail.com/gallery. It was working normally until they updated to a new version of PHP (the php upgrad is verified by the host).
I will follow up on your guidance to the phpinfo page later today, after the sailboat race I'm am promised to.
My plan right now is to find out how to back up my sql database (small, family run host & server), then install g2 and try to import the data from the old g1 database to whatever g2 eats.
Thanks again for following up.