Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Getting the following error – Error establishing a database connection
Tagged: database error, wordpress, WP eStore
- This topic has 4 replies, 4 voices, and was last updated 12 years, 5 months ago by admin.
-
AuthorPosts
-
February 13, 2011 at 1:51 pm #2707Crow8sterMember
I have been having problems whenever I add two products or a category to any page. The entire site shuts down and I cannot edit in wordpress or view my store online. I have installed three different wordpress blogs and tried the same steps and I am seeing the same results. It tells me – “Error establishing a database connection” when I go to the store.
About the store –
I have uploaded 240 products by bulk and have 20 categories.
I am running WP 3.0.5
Any ideas?
February 14, 2011 at 4:02 am #29003amin007ParticipantThis problem is related to your hosting (server). There are some good videos here that might give you clues:
February 18, 2011 at 3:57 am #29004Crow8sterMemberThanks! I got it fixed by upgrading php to above 5.0. It all works like a charm now!
June 22, 2012 at 7:08 pm #29005rampantMemberI am getting this same issue “Error establishing a database connection” with the estore plugin. This is actually the 4th time this has happened. I have spent many hours with hostgator trying to resolve the issue. We were able to restore our website each time but when I continue to add products, the site goes down again.
I am hoping there is a solution to this problem rather than always opening up my cpanel and fixing the wp-config file. Every time I add a product, it is adding a new username and password. I have also gone through the video you posted above and we are able to fix the wp-config file every time but I would like to know if there is a way to stop this from happening?
Thanks.
June 22, 2012 at 11:58 pm #29006adminKeymasterThat is just wrong. You should never have to do that. I have a feeling that this has something to do with your server’s mod rewrite rule being messed up a little. It is also possible that there is rogue script somewhere causing trouble. You downloaded eStore from our server from day 1 right? The following post will explain why I am asking this question:
http://www.tipsandtricks-hq.com/free-premium-plugin-and-theme-downloaders-beware-3035
Lets try the following:
1) Deactivate and delete the currently installed eStore plugin from your site.
2) Then load a fresh build of the plugin:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
3) Now, add a product and checkout if the same behavior is still there.
-
AuthorPosts
- You must be logged in to reply to this topic.