Gallery crashed after adding album photos
marcus.lim
Joined: 2014-06-10
Posts: 4 |
![]() |
Hi guys, I need some help. I was adding some photographs to an album, which was overwriting some existing photographs in the album. Once it was done, I logged out. When I tried to access the login page, I get the following message: " Dang... Something went wrong! I really don't know where to start trying to solve this situation, and any help or pointers in the right direction would be very welcomed. Thanks so much in advance! Marcus |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
What does the gallery3/var/logs have to say? Dave |
|
marcus.lim
Joined: 2014-06-10
Posts: 4 |
![]() |
Hi floridave, There are two logs of interest. The latest one dated 06-10 is at this following address: http://pastebin.com/vuTLyE7n The second one, which I noticed because it was over 1mb in size, is dated 06-08, around the time I was last uploading the photos, and the beginning portion is pasted at this address: http://pastebin.com/vuTLyE7n Again, I really appreciate this help |
|
marcus.lim
Joined: 2014-06-10
Posts: 4 |
![]() |
Sorry, my bad. The 06-10 one is here instead: <?php defined('SYSPATH') or die('No direct script access.'); ?> 2014-06-10 06:30:20 +00:00 --- error: Database_Exception [ 44 ]: #2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
#2002: Can't connect to local MySQL server through socket The error message you're getting indicates that the MySQL hostname isn't set correctly. Do other DB driven applications on your host work? Dave |
|
marcus.lim
Joined: 2014-06-10
Posts: 4 |
![]() |
It's actually hosted on a physical server in my friend's house. I have remote access to it, and gallery is the only application running on the server. As far as I can tell, no one's touched the system apart from me. I'm not sure how to check if the DB servers' name has been changed. Again, many apologies if I'm clueless about MySQL and databases, etc. I'm really trying to get up to speed here. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
I guess your friend is the best resource for seeing if the DB server is correct/working/password/name/hostname/ipaddress/etc... Dave _____________________________________________ |
|
togumaqu
Joined: 2014-06-15
Posts: 1 |
![]() |
I really don't know where to start trying to solve this situation, and any help or pointers in the right direction would be very welcomed. Thanks so much in advance! |
|
spags
Joined: 2010-03-26
Posts: 120 |
![]() |
There is some relevant MySQL info in the thread at http://galleryproject.org/node/95317 that might give you a starting point. You should probably also remote into the server and see if you can access MySQL using the admin CLI (sorry the name escapes me at the moment - mysqladmin or something of that nature). See if you can see the Gallery database. |
|