Internal Server Errors

badsocref

Joined: 2013-02-06
Posts: 17
Posted: Wed, 2013-05-01 18:59

I am getting a "500 - Internal Server Error" from my gallery. I asked my ISP for help, but all they could tell me was that the Gallery application was trying to use a dedicated connection and was not closing the MySQL connection after accessing the database. This apparently exceeded the connections I am allowed and resulted in the error message. This makes no sense to me nor to the IT guy I work with. Can somebody (please) give me a nice simple solution to this problem. The folks at my ISP said there was nothing that they could do about it, and that I should contact the Gallery folks. However, this type of troubleshooting is not on their list of things they will work on (not even more pay). Please help!

rr

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2013-05-01 20:43

gallery2/config.php line ~107 $storeConfig['usePersistentConnections'] = false;

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
badsocref

Joined: 2013-02-06
Posts: 17
Posted: Thu, 2013-05-02 02:46

That looks nice, but I have no idea what to do with it. I really need full instructions on how to put this code where it belongs (please).

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2013-05-02 02:53

edit gallery2/config.php in a plain text editor
line ~107 should read $storeConfig['usePersistentConnections'] = false;

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
badsocref

Joined: 2013-02-06
Posts: 17
Posted: Thu, 2013-05-02 03:06

Where is this file (in which folder)?

 
badsocref

Joined: 2013-02-06
Posts: 17
Posted: Thu, 2013-05-02 03:10

Never mind - I found the file. The line already reads as you have indicated. Must be something else.

rr