Forums / General Questions / Can't access admin or even shop directory

Can't access admin or even shop directory

Locked

Views: 1,491

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
10 Nov 2010, 5:41 PM
#1
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Can't access admin or even shop directory

Suddenly I can't access my admin. Any idea why?

This message come up when I try to connect:

0 DB_ERROR_NOT_CONNECTED
in:
[select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

And the following comes up if I just try to go to the shop directory...

Sorry!
There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.

To verify the site status ... Click here*

10 Nov 2010, 5:42 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,681
Plugin Contributions:
0

Re: Can't access admin or even shop directory

Ask your host why your database is unreachable.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

10 Nov 2010, 5:49 PM
#3
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Can't access admin or even shop directory

Well it's reacheable directly - through FTP addressing. I just can't log into the zencart admin or look at the page though a browser. I'd have though the problem might be at the zencart side.

I did change my main passwords for the site host - but can't see how that should stop a browser being pointed at the zencart directory.

10 Nov 2010, 6:07 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Can't access admin or even shop directory

Kim:

Ask your host why your database is unreachable.
Destroyer:

Well it's reacheable directly - **through FTP **addressing
Databases are NOT accessible through FTP....

Zen-Venom Get Bitten

10 Nov 2010, 6:16 PM
#5
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Can't access admin or even shop directory

I can access the database through PHP but I can't login to admin my zencart - and I can't access the zencart directory by browser. I can access teh database by all other means though

10 Nov 2010, 6:19 PM
#6
barco57 avatar

barco57

Totally Zenned

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

Re: Can't access admin or even shop directory

review the database connection settings in the includes/configure.php and in the admin/includes/configure.php
If you believe them to be correct then you will need to ask your host why the cart can not connect to the database with the given connection settings.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

10 Nov 2010, 6:22 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Can't access admin or even shop directory

Destroyer:

Well it's reacheable directly - through FTP addressing

I can access the database through PHP
Which onbe is it??
And if by PHP how are you doing this - with what?

As I stated the database is NOT accessible via FTP

Zen-Venom Get Bitten

10 Nov 2010, 6:29 PM
#8
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Can't access admin or even shop directory

I simply can't log into zencart admin.

I'm also locked out of the zencart directory completely with my browser.

I can access all files and everything on the server if I want to manipulate them through ftp or PHP. I just can't get to admin my store or to look at it even.

10 Nov 2010, 6:32 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Can't access admin or even shop directory

I can access all files and everything on the server

Files are one thing

Kim was talking about your database not your files

Zen-Venom Get Bitten

10 Nov 2010, 6:36 PM
#10
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Can't access admin or even shop directory

well where I'm confused is that I can access the database though PHP. I just can't acess the admin through zencart

10 Nov 2010, 6:42 PM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Can't access admin or even shop directory

Is the frontend loading correctly?

If so, make sure that the admin configure.php db details match the front end configure details EXACTLY

Zen-Venom Get Bitten

10 Nov 2010, 7:13 PM
#12
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Can't access admin or even shop directory

You'll have to excuse me - I don't know what you mean by that.

I didn't change anything that I'm aware off:

http://www.valproshop.com/zencart - nothing loads from here if that's what you mean.

I've put a question to the Hosting company - they respond pretty rapidly normally.

10 Nov 2010, 8:01 PM
#13
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Can't access admin or even shop directory

The first anwser I got here was the right one - the problem was at the hosting end. My site userame and password were somehow too close to the database ones and this confused the system - however they fixed it withouth changing the usernames and passwords. At least I now know what it means when I can't access the database!

I realise what the "frontend" is - the PHP -Myadmin - for example - but it wasn't the issue.

10 Nov 2010, 8:01 PM
#14
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Can't access admin or even shop directory

Thanks to everyone!

10 Nov 2010, 8:42 PM
#15
alana1223 avatar

alana1223

New Zenner

Join Date:
Oct 2007
Location:
Asheville, NC
Posts:
39
Plugin Contributions:
0

Re: Can't access admin or even shop directory

Who is your hosting company? I'm having database issues right now as well.