Zen Cart Logo
Forums / Installing on a Linux/Unix Server / 0 DB_ERROR_NOT_CONNECTED ADMIN Problem After Moving To New Hosting

0 DB_ERROR_NOT_CONNECTED ADMIN Problem After Moving To New Hosting

Locked

Views: 5,993

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
22 May 2007, 9:53 PM
#1
helensama avatar

helensama

New Zenner

Join Date:
Dec 2006
Location:
Northwest Connecticut
Posts:
87
Plugin Contributions:
0

0 DB_ERROR_NOT_CONNECTED ADMIN Problem After Moving To New Hosting

I moved a version 1.2.6 zen cart to new hosting and get a blank page with --- "0 DB_ERROR_NOT_CONNECTED"when I go to ADMIN, the site shows up with categories and subcategories, but there is a "1054 Unknown column 'p.products_id' in 'on clause'" error appearing at the product level and none of the products are listed... I've checked the configure.php files and based on my limited knowledge, they look OK... I have installed a current version of zen cart 1.3.7 and started the customization all over again using stylesheets, but want to access and move the products on the old version to the new one.

Here is the URL for the old version http://www.greenmountainorganics.com/index.php

Here is the URL for the new version
http://www.greenmountainorganics.com/newzc/

Thank you for any help or suggestions!

25 May 2007, 5:07 PM
#2
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: 0 DB_ERROR_NOT_CONNECTED ADMIN Problem After Moving To New Hosting

Well, I don't find the new version at all, and the old version clicks away to an ip address and not a domain name when you click on any link.

Vger

25 May 2007, 5:47 PM
#3
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: 0 DB_ERROR_NOT_CONNECTED ADMIN Problem After Moving To New Hosting

To quotes Hippocrates - First do no harm.

I moved a version 1.2.6 zen cart to new hosting and get a blank page with --- "0 DB_ERROR_NOT_CONNECTED"
means:
You are not connecting to the database. - your /includes/configure.php has incorrect database information

when I go to ADMIN, the site shows up with categories and subcategories
means:
Your /admin/includes/configure.php has the correct database information.

there is a "1054 Unknown column 'p.products_id' in 'on clause'" error appearing at the product level
means:
You have moved from MySQL 4 to MySQL 5. Search these forums on ' 1054 unkown p.products' or similar.

checked the configure.php files and based on my limited knowledge, they look OK
Nope. See above.

want to access and move the products on the old version to the new one.

I hope the 2 installations have different databases? This is normally done by taking a backup of the original store, restoring it to the new store database, and running 'Upgrade Database' from the Zen Cart installer.

15 Apr 2008, 12:55 PM
#4
greentaramama avatar

greentaramama

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: 0 DB_ERROR_NOT_CONNECTED ADMIN Problem After Moving To New Hosting

I am the owner of this site and am still having some problems that werent completed by the person who installed the cart. It looks terrible in IE6 and when a person checks out they get "this page contains secure and non secure items, do you want to continue?"

It works well in firefox, which I use. I am seeing that many people are visiting the site and using the cart, and then their session expires. I am wondering if this is due to the fact that they think the site is not secure?

I have had another person look at the code, and they say it is done incorrectly. I would like to learn this cart myself, but am a bit afraid of the c panel area, I am fairly confident in the admin area.

I have the zen cart book but am not finding too much help on the php, css which I am totally unfamiliar with. I am wary of paying someone else $500 to fix something that I have already spent $1300 on (and we provided graphics) but perhaps I will have to- I would just like to find someone who really knows what they are doing and that I can trust.

Thanks for any pointers
michelle
https://www.greenmountainorganics.com

12 Jul 2008, 12:00 AM
#5
greentaramama avatar

greentaramama

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: 0 DB_ERROR_NOT_CONNECTED ADMIN Problem After Moving To New Hosting

found someone great to repair the code , which was bad. I highly recommend camelot hosting and marsh web designs, who have helped me determine the glitches.

michelle
https://www.greenmountainorganics.com

12 Jul 2008, 3:16 AM
#6
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,844
Plugin Contributions:
0

Re: 0 DB_ERROR_NOT_CONNECTED ADMIN Problem After Moving To New Hosting

Thanks for the kind words.....it was no problem at all :hug:

1 Apr 2009, 9:32 PM
#7
serge111 avatar

serge111

New Zenner

Join Date:
Apr 2007
Posts:
57
Plugin Contributions:
0

Re: 0 DB_ERROR_NOT_CONNECTED ADMIN Problem After Moving To New Hosting

check permissions on the configure.php, they might not be set to WRITE and you are not overwriting it with the new settings