how to get back to upgraded after 500error

petri
petri's picture

Joined: 2005-12-15
Posts: 253
Posted: Fri, 2014-03-07 08:26

Hello.

My previous gallery 3.0.2 was not working any more so Floridave suggested me to update.

So I did following the steps : http://codex.galleryproject.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#Upgrading

But I made a mistake, I did not copy the correct var folder so when I tried to log into my uploader, I was brought to the installer who told me he found a var but wanted me to create a database, I then realized it was not the right one so I switch it with the correct one and refreshed the page, it brought me to this page : http://www.coquille.org/gallery/installer/

now when I try to reach my website : www.coquille.org/gallery , I get the 500 error message.

Same when I try to reach the upgrader.

I did change my php.ini file but it did not work, I don't know how to edit the apache config.

How could I get back to the upgrader ? maybe with the correct var folder it would work this time ?

thank you in advance for any useful information.

------
Gallery 3 URL = http://www.coquille.org/gallery
Version: 3.0.2 (Coollanta)
Operating system: Linux 2.6.18-194.32.1.el5
Apache: Apache/2.2.3 (Red Hat)
PHP: 5.2.6
MySQL: 5.0.77
Server load: 1.31 1.58 1.53
Graphics toolkit: gd
-------

 
petri
petri's picture

Joined: 2005-12-15
Posts: 253
Posted: Sat, 2014-03-08 13:54

I found an error in the log :

2014-03-08 14:04:52 +01:00 --- error: Database_Exception [ 44 ]: #1062: Duplicate entry 'var_cache' for key 'key' [ INSERT INTO `caches`
(`key`, `tags`, `expiration`, `cache`)

how can I solve this ?

anyone has an idea ?

------
Gallery 3 URL = http://www.coquille.org/gallery
Version: 3.0.2 (Coollanta)
Operating system: Linux 2.6.18-194.32.1.el5
Apache: Apache/2.2.3 (Red Hat)
PHP: 5.2.6
MySQL: 5.0.77
Server load: 1.31 1.58 1.53
Graphics toolkit: gd
-------