Forums / General Questions / Cache Folder File Help 0 Db_error_not_connected

Cache Folder File Help 0 Db_error_not_connected

Started by shahram on 29 Feb 2012, 5:37 AM · Views: 1,328

Results 1 to 7 of 7
29 Feb 2012, 5:37 AM
#1
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Cache Folder File Help 0 Db_error_not_connected

Hi all i have problem with my site "0 Db_error_not_connected" Error i use to get this error and what i do before i change my database name and user name and that error go away i did that 5 or 6 time in 3 years but i get this error again nothing helping at this time i did

  1. repair database
  2. new user name and database
  3. i install everything all over
  4. try all option for cache ,none, database, file in configure

and that only file i find in my cache folder flie name: sess_525f77a97a6448c1c48c65b65adf9b7d

please somebody help with that problem i m using V1.3.9h
Thank You

29 Feb 2012, 8:06 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Cache Folder File Help 0 Db_error_not_connected

The sess_xxxxxxxxxxxxxxxx files are for session handling, and are not related to your database problem. They're not debug logs either.

Your database error message is a result of Zen Cart being unable to connect to your database using the settings in your configure.php file.
You'll need to fix the configure.php files to use the correct DB_XXXXXXXXXX values, or work with your hosting company to determine why you can no longer connect to the database with the credentials you're using.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Mar 2012, 12:45 AM
#3
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: Cache Folder File Help 0 Db_error_not_connected

Hello,
I checked my config files and reinstalled everything. I drop my new data and imported my old data to the new installing but I am still getting the same error. Do you have any other suggestions? I already contacted my hosting company and they claim they repaired everything on their end and there's no error in the database (I'm using Hostgator).

3 Mar 2012, 4:09 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Cache Folder File Help 0 Db_error_not_connected

I repeat: > DrByte:

Your database error message is a result of Zen Cart being unable to connect to your database using the settings in your configure.php file.
You'll need to fix the configure.php files to use the correct DB_XXXXXXXXXX values, or work with your hosting company to determine why you can no longer connect to the database with the credentials you're using.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Mar 2012, 4:30 AM
#5
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: Cache Folder File Help 0 Db_error_not_connected

I check everything but i still getting same problem every 2 to 3 hour that error pop up on my site and stay there 30min to 60min please help me with this problem

8 Mar 2012, 4:43 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Cache Folder File Help 0 Db_error_not_connected

Perhaps your site is on a server that's overloaded and too busy.

You will need to sort out the problem by talking to your hosting company. THEY are the ones you need to talk to.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Mar 2012, 6:35 AM
#7
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Cache Folder File Help 0 Db_error_not_connected

shahram:

I check everything but i still getting same problem every 2 to 3 hour that error pop up on my site and stay there 30min to 60min please help me with this problem

Just to backup what DrByte has told you, this is almost certainly a result of the server being overloaded.

If it were a configuration issue then the problem will be evident all the time.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.