Dang... Something went wrong!

aeolian

Joined: 2012-05-22
Posts: 3
Posted: Tue, 2012-05-22 19:28

Hello

Our server has worked fine maybe a year now. A few days ago a user of ours uploaded a few photos and all seemed to work fine. Today something hanged and we had to restart the server. Opening kidlink.org/gallery/ we got this message.

Dang... Something went wrong!
We tried really hard, but it's broken.
Talk to your Gallery administrator for help fixing this!

I restarted the server but useless. The same message. kidlink.org/gallery/installer/index.php says all is ok.

I checked the database and all of it looks nice and well working. What is it that trigger this message? I tried to find the code with sudo grep 'Dang' *.php -R

Thank you,
Stellan

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25957
Posted: Tue, 2012-05-22 20:13

Anything in the gallery/var/logs from the last few min?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
aeolian

Joined: 2012-05-22
Posts: 3
Posted: Tue, 2012-05-22 21:30

Thank you floridave!

Saw the message in the log that explained the problem. Didn't see this in the database:

Table './gallery/kid1_sessions' is marked as crashed and last (automatic?) repair failed
FROM `kid1_sessions`

The problem is more a mysql issue now. How to repair this table. I flushed it but invane.

Stellan

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25957
Posted: Wed, 2012-05-23 02:45

your DB admin client should have a repair option. Most use phpMyAdmin as a DB admin tool:
http://paulstamatiou.com/how-to-quickie-repair-mysql-tables-in-phpmyadmin
the sessions table you should be able to truncate it safely if a repair does not work.
You and all users will have to log in again.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
aeolian

Joined: 2012-05-22
Posts: 3
Posted: Fri, 2012-05-25 12:11

Thank you floridave.

That solved the problem! Great!

Stellan

Login or register to post comments
petri
petri's picture

Joined: 2005-12-15
Posts: 244
Posted: Sun, 2012-07-08 13:30

Thank you Floridave,

had a problem of sessions and fix it thanx to this post !

:-)

------
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
-------

Login or register to post comments