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! 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, |
|
| Login or register to post comments |

Posts: 25957
Anything in the gallery/var/logs from the last few min?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 3
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
Posts: 25957
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
Posts: 3
Thank you floridave.
That solved the problem! Great!
Stellan
Posts: 244
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
-------