Forums / General Questions / No Access to admin

No Access to admin

Locked

Views: 684

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
29 Nov 2008, 2:55 PM
#1
macker999 avatar

macker999

New Zenner

Join Date:
Nov 2008
Posts:
3
Plugin Contributions:
0

No Access to admin

Hi

I have moved our zen cart to a different server.

I followed the steps from this link
https://www.zen-cart.com/tutorials/index.php?article=100

and i also uploaded the fix_cache_key.php and accessed this file in browser. The results where
No changes required.
Exiting.

Everything has gone well accept i cannot access the admin folder.

It time out. There are no errors displayed. I checked the cinfigure table in the databas and the only thing I noticed was the STORE_PAGE_PARSE_TIME_LOG confguration value has a directory path from the old server.

/home/.economized/paulaasple/mabelandviolet.com/cache/page_parse_time.log

Is there anything else i can do to fix this issue?

I am really stuck on this so any help would be greatfully appre ciated

Thanks

29 Nov 2008, 3:31 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: No Access to admin

Did you install zen cart on new server and then moved your files ? or just moved old zen cart to new host ???

if you moved the old zencart to new host .. then make sure you change the path to admin in admin/include/ configure.php..

this file contains the path to http , https , and your admin folder .

it should reflect the path structure on your new server .

29 Nov 2008, 3:42 PM
#3
macker999 avatar

macker999

New Zenner

Join Date:
Nov 2008
Posts:
3
Plugin Contributions:
0

Re: No Access to admin

Hi

I installed a new version on the server and then copied the files from the old server all accept the config file and the admin config file.

I just noticed that when i installed the zen cart using the new hosting control panel all the paths have a douible forward slash.

ie. http://mabelandviolet.com//index.php.

I checked the admin config file
define('DIR_WS_ADMIN', /'/admin/');
define('DIR_WS_CATALOG', '//');
define('DIR_WS_HTTPS_ADMIN', '//admin/');
define('DIR_WS_HTTPS_CATALOG', '//');

I took out one of the forward slashes and it now works.

Would you know why there is 2 forwards slashes and how can i fix this?

Thanks

29 Nov 2008, 4:23 PM
#4
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: No Access to admin

this is not issue with zen cart , it might be issue with your new host and their root configuration .

contact them and asked about // appearing in your path.
specially if you have dedicated SSL..
it also might be shared SSL redirect issue if you are using shared SSL.

sure someone with more experience on this matter would help you out here on zen cart forum

29 Nov 2008, 4:40 PM
#5
macker999 avatar

macker999

New Zenner

Join Date:
Nov 2008
Posts:
3
Plugin Contributions:
0

Re: No Access to admin

In both config files some of the paths had //. I have changed to / and all works.

Thanks for your help

29 Nov 2008, 5:51 PM
#6
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: No Access to admin

yes. that will work. again , you may want to check with your host.
if you decide to install some add ons , to zen cart that require to validate path generated by your server .. you might have the same issue again and again ..

good luck :)