Forum Moderators: open

Message Too Old, No Replies

Problems connecting to database

Using sunshop and database connection is timing out

         

Megalomaniacs

5:36 am on Aug 29, 2007 (gmt 0)

10+ Year Member



I have sunshop 3.5.1 installed on a godaddy linux shared server. It's been working fine for over a year until a couple of weeks ago. I'm getting this error when I try to check out:

Database Error In SunShop 3.5.1: Invalid SQL: SELECT * FROM items where itemid='122'

MySQL Error: Lost connection to MySQL server during query

MySQL Error Number: 2013

Date: Tuesday 28th of August 2007 10:23:44 PM

Script: /shop/index.php?action=checkout

I haven't changed anything recently. I talked to godaddy and they are telling me that something is messed up with the permissions, so they reset all the permissions to 705. The permissions wouldn't have anything to do with the database timing out/disconnecting would it? So I don't know what to do. I thought I would ask here first before reinstalling the cart. Anyone have any idea what could be causing this problem?

Thanks!