Zen Cart Logo
Forums / General Questions / Unable to access admin page

Unable to access admin page

Views: 1,923

Results 1 to 17 of 17
17 Mar 2014, 1:54 PM
#1
sachin1008 avatar

sachin1008

New Zenner

Join Date:
Mar 2014
Posts:
32
Plugin Contributions:
0

Unable to access admin page

The application was launched through GoDaddy C panel and the link that is showing for Admin Url is not working: It's showing: WARNING: An Error occurred, please refresh the page and try again.

17 Mar 2014, 5:40 PM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Unable to access admin page

look at your /logs folder via FTP to see the error log that warning should have posted.

17 Mar 2014, 8:35 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: Unable to access admin page

twitchtoo:

look at your /logs folder via FTP to see the error log that warning should have posted.
If you're running a Zen Cart version earlier than v1.5.1, those debug-log files will be in your store's /cache folder.

18 Mar 2014, 7:15 AM
#4
sachin1008 avatar

sachin1008

New Zenner

Join Date:
Mar 2014
Posts:
32
Plugin Contributions:
0

Re: Unable to access admin page

I could locate the shopping cart directory in C panel with files like cache, docs, download. But how do I access the admin page once again or restore the existing files?

18 Mar 2014, 7:47 AM
#5
jwaynehinkle avatar

jwaynehinkle

New Zenner

Join Date:
Aug 2013
Location:
United States
Posts:
73
Plugin Contributions:
0

Re: Unable to access admin page

I personally have never had any luck with using the Godaddy launcher, not to say some have not, however I have not, it is much easier to just install it yourself the normal method (at least this is what I always do). If you server is set up correctly and you have ssh to wget the .zip file, then extract it to whatever folder you want it takes no time at all to get what you need on the server, then fire up filezilla set you permissions rename dist-configure.php to configure.php in admin/includes and /includes browse to the site in your browser and good to go start setting up your store :)

19 Mar 2014, 7:47 AM
#6
sachin1008 avatar

sachin1008

New Zenner

Join Date:
Mar 2014
Posts:
32
Plugin Contributions:
0

Re: Unable to access admin page

In logs file, the following message is recorded: [19-Mar-2014 00:38:08 America/Phoenix] PHP Fatal error: 0:DB_ERROR_NOT_CONNECTED :: select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' in /home/content/99/10511299/html/articleshopping/includes/classes/db/mysql/query_factory.php on line 120

19 Mar 2014, 5:35 PM
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: Unable to access admin page

Sachin1008:

In logs file, the following message is recorded: [19-Mar-2014 00:38:08 America/Phoenix] PHP Fatal error: 0:DB_ERROR_NOT_CONNECTED :: select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' in /home/content/99/10511299/html/articleshopping/includes/classes/db/mysql/query_factory.php on line 120
That log-message indicates that the database settings in /YOUR_ADMIN/includes/configure.php are not correct. Can you see your store? If so, copy the database settings from /includes/configure.php to the admin version.

5 Apr 2014, 6:53 AM
#8
sachin1008 avatar

sachin1008

New Zenner

Join Date:
Mar 2014
Posts:
32
Plugin Contributions:
0

Re: Unable to access admin page

I have installed Zencart this time through FTP. I can access admin area but when I press Configuration Management, I am taken to the page that reads: An error has occurred.
The requested page cannot be found. The page URL shows MyWebSiteName/admin(not discosing the name I opted for admin)/configuration.php?gID=1. Else, the admin area seems to be working fine where I can add new categories and products.

5 Apr 2014, 10:54 AM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Unable to access admin page

Sachin1008:

I have installed Zencart this time through FTP. I can access admin area but when I press Configuration Management, I am taken to the page that reads: An error has occurred.
The requested page cannot be found. The page URL shows MyWebSiteName/admin(not discosing the name I opted for admin)/configuration.php?gID=1. Else, the admin area seems to be working fine where I can add new categories and products.

Is it. Only the configuration of my store that doesn't work, or does the same error occur if you try to go to configuration->product listing or any other configuration option? Seems like if admin panel is working, but configuration.php is "missing" then, well... Configuration.php is probably missing or corrupt from it's expected location.

7 Apr 2014, 5:11 AM
#10
sachin1008 avatar

sachin1008

New Zenner

Join Date:
Mar 2014
Posts:
32
Plugin Contributions:
0

Re: Unable to access admin page

Thanks for the reply. The same problem is encountered whichever option I choose under Configuration Management. How do I address the problem of rectifying configuration.php file?

7 Apr 2014, 2:00 PM
#11
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: Unable to access admin page

Sachin1008:

Thanks for the reply. The same problem is encountered whichever option I choose under Configuration Management. How do I address the problem of rectifying configuration.php file?
It sounds like you're missing the file /YOUR_ADMIN/configuration.php. You might try restoring it from the Zen Cart distribution.

8 Apr 2014, 5:52 AM
#12
sachin1008 avatar

sachin1008

New Zenner

Join Date:
Mar 2014
Posts:
32
Plugin Contributions:
0

Re: Unable to access admin page

Thanks so much for the tip. Actutally, I had renamed the file to configure.php instead of configuration.php while configuring initially just after download.

8 Apr 2014, 11:55 AM
#13
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: Unable to access admin page

Sachin1008:

Thanks so much for the tip. Actutally, I had renamed the file to configure.php instead of configuration.php while configuring initially just after download.
I'm happy to have helped.

17 Apr 2014, 3:48 AM
#14
silverstarhardware avatar

silverstarhardware

New Zenner

Join Date:
Apr 2014
Posts:
1
Plugin Contributions:
0

Re: Unable to access admin page

it has been a year since i have entered my site. i have retrieved all my pass codes and userid. but i am unable to enter my site. my email is obsolete is there any way to change my email for my site.

17 Apr 2014, 11:42 AM
#15
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Unable to access admin page

Silverstarhardware:

it has been a year since i have entered my site. i have retrieved all my pass codes and userid. but i am unable to enter my site. my email is obsolete is there any way to change my email for my site.

You should be able to get into the database - phpmyadmin - from your hosting control panel and change the email stored in the admin login/account field.

This may help also:
http://www.zen-cart.com/content.php?44-how-do-i-change-or-reset-my-admin-password-%28i-lost-it%29

17 Apr 2014, 8:56 PM
#16
allwyn avatar

allwyn

New Zenner

Join Date:
Aug 2012
Posts:
1
Plugin Contributions:
0

Re: Unable to access admin page

Hello There,

Im currently using Zencart 1.3.8 it was working fine till i moved the hosting from a cloud service to godaddy. The site works perfect but im unable to log into the admin panel. It doesnot gives any error but it simply shows the same form again to be. I tried to check the SSL part to be turned to false, Session stuff and the Security Token in the Form and all of them seems to be fine. Any help in this regards is really appreciated.

Thanks in advance.

18 Apr 2014, 11:10 AM
#17
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Unable to access admin page

allwyn:

Hello There,

Im currently using Zencart 1.3.8 it was working fine till i moved the hosting from a cloud service to godaddy. The site works perfect but im unable to log into the admin panel. It doesnot gives any error but it simply shows the same form again to be. I tried to check the SSL part to be turned to false, Session stuff and the Security Token in the Form and all of them seems to be fine. Any help in this regards is really appreciated.

Thanks in advance.
Based on the info above, it appears the link that was posted just before your post was not attempted. Have you tried reestablishing access through the SQL command(s) included in that link?