Attention

If your Photo Cart is suddenly getting a 500 error or only displaying a blank page then you or your hosting company has updated the PHP (programming language) to PHP 7 which Photo Cart is not compatible with (and will not be compatible with) mainly because of the removal of the my_sql functions which are replaced with my_sqli functions. 

You would need to have the PHP version downgraded to 5.6 in order for Photo Cart to work. If downgrading the PHP doesn't work then you may have to update Photo Cart to the last version of 7. Download Photo Cart 7 upgrade files. Upgrade instructions.

Photo Cart was retired in 2015. Check out Sytist.

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Mysql Error Message

B
3 posts
Sat May 03, 14 11:34 AM CST
Ugh. I've been using photocart on my site for years and all of a sudden this error message is popping up all over and nobody is able to order any pics:

Unable to connect to the databaseUnknown MySQL server host 'bartelsclient.db.4317162.hostedresource.com' (2)

This MySQL looks fine in my hosting control panel and everything. I'm not sure where to go from here. Help!

Buddy
269 posts
Sat May 03, 14 12:20 PM CST
There is no MySQL server at bartelsclient.db.4317162.hostedresource.com. Check your hosting provider's FAQs regarding MySQL connections; 95% of providers use localhost instead of a different host for the MySQL server.
B
3 posts
Sat May 03, 14 12:34 PM CST
Those are the settings that my photocart has worked with for years. I've never touched the settings. Here is my Godaddy mysql db details for that database.

Any suggestions where to go from here? Like I said my cart has worked for years with these settings. It seems like only certain things don't work now. Clients can navigate around to view pics and options but the problems come when they try to purchase them.
Edited Sat May 03, 14 12:35 PM by Buddy Bartels
B
3 posts
Sat May 03, 14 12:35 PM CST
Forgot to upload screenshot. Here it is.
Attached Photos

269 posts
Sat May 03, 14 3:39 PM CST
Then you need to contact your hosting provider as the server is likely down and needs to be restarted
M
19 posts
Fri Jun 27, 14 1:53 PM CST
I am getting a similar error. I have also used PhotoCart for over 2 years without an issue and now over the last 2 months I get an error like this:

Unable to connect to the databaseLost connection to MySQL server at 'reading initial communication packet', system error: 61

Each time I contact my hosting company and they tell me that it is a 3rd party software problem (photocart). Any suggestions? I have been down all day today.
269 posts
Fri Jun 27, 14 2:00 PM CST
Yes, get a new hosting provider as that is a total BS answer.
M
19 posts
Fri Jun 27, 14 2:09 PM CST
Hi Dave. Thanks for the quick reply. Can you explain to me what that error message means?
M
19 posts
Fri Jun 27, 14 2:13 PM CST
Also, what hosting company is your first choice as I have been thinking about switching for a while now.
269 posts
Fri Jun 27, 14 3:37 PM CST
The error means that the MySQL server is dropping connections, perhaps because it is overloaded by too many users.

Many Photo Cart folks have been very happy with Saratoga Hosting (http://saratogahosting.com) and I have been very pleased with InMotion Hosting (http://inmotionhosting.com).
M
19 posts
Mon Jul 28, 14 5:32 AM CST
Hi again Dave,
Do you guys provide any help in repairing a MySQL Table? (Not sure if I am asking the question right) This is what I am getting now:
MySQL error: Table './mss/pics' is marked as crashed and last (automatic?) repair failed
I am now scrambling to move my 3,000+ galleries over to Sytist but if you could give me any kind of help with this I would appreciate it.
Thank you!
269 posts
Mon Jul 28, 14 2:34 PM CST
You'll need to direct that question to Tim.
12 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 847 times
Category: Error
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close