Zen Cart Logo
Forums / General Questions / Admin Links Broken Help Please!

Admin Links Broken Help Please!

Locked

Views: 1,558

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
8 Apr 2009, 2:53 PM
#1
pasb avatar

pasb

New Zenner

Join Date:
Mar 2009
Location:
Essex (UK)
Posts:
71
Plugin Contributions:
0

Admin Links Broken Help Please!

Hi all,

On my test site until today things were fine, but all of a sudden when the admin panel shows all ok, but NONE of the links in each drop down connect, they all go to the Google broken link page, what’s happened:huh:?

Can someone help me get it all working again please as I don't know of anything that I have done any different to the other one I am working on, which is all ok still?

Paul

8 Apr 2009, 3:57 PM
#2
joasai avatar

joasai

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: Admin Links Broken Help Please!

Have you install any addons or modified admin in any other way?

8 Apr 2009, 5:48 PM
#3
pasb avatar

pasb

New Zenner

Join Date:
Mar 2009
Location:
Essex (UK)
Posts:
71
Plugin Contributions:
0

Re: Admin Links Broken Help Please!

Hi,

No I have not installed any addons, the only things I have done is changed the admin file name and altered the config.php file, moved the cache and altered the files to match and placed htaccess files in the appropriate areas.

I have checked all I see that needs it, but for some reason, links within the drop down menus are going to 404

Paul

8 Apr 2009, 7:18 PM
#4
joasai avatar

joasai

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: Admin Links Broken Help Please!

If I were you I would check carefully every step I took, paying particular attention to htaccess files placement.

atb,
joasai

9 Apr 2009, 4:20 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Links Broken Help Please!

Check and make sure that the files actually update on the server after you made your changes and reloaded them ...

On many servers, the configure.php files are set to 444 and you cannot overwrite the file unless you either change it to 644 or delete the file, prior to loading the new file ...

11 Apr 2009, 10:20 AM
#6
pasb avatar

pasb

New Zenner

Join Date:
Mar 2009
Location:
Essex (UK)
Posts:
71
Plugin Contributions:
0

Re: Admin Links Broken Help Please!

Hi,

thanks for the advice all, I checked everything and still could not place what it was, so uploaded my backup file and re traced my steps again adding in the htaccess files even more carefully.

All seems ok now

Sorry for late reply I have had pc issues on top of it all.

thanks
Paul

11 Apr 2009, 2:09 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Links Broken Help Please!

Thanks for the update that things are working now ... :smile:

20 Apr 2009, 11:04 AM
#8
joasai avatar

joasai

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: Admin Links Broken Help Please!

Nice to hear that it's ok now :)

12 Aug 2009, 4:42 PM
#9
novachild avatar

novachild

New Zenner

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

Re: Admin Links Broken Help Please!

Same problem here but backup disc is dead. I have only made the changes specified in this article: https://www.zen-cart.com/tutorials/index.php?article=33

But for some reason I have a subdirectory duplicating in my admin URLS (the 'cart' directory appears twice in all admin links), though I can access the main admin page.

Change 1:

define('HTTP_SERVER', 'http://united-tech.com/cart');
define('HTTPS_SERVER', 'https://gator526.hostgator.com/~unitedt');
define('HTTP_CATALOG_SERVER', 'http://united-tech.com/cart/uticart74146');
define('HTTPS_CATALOG_SERVER', 'https://gator526.hostgator.com/~unitedt/uticart74146');

Change 2:

define('DIR_WS_ADMIN', '/cart/uticart74146/');
define('DIR_WS_CATALOG', '/cart/');
define('DIR_WS_HTTPS_ADMIN', '/cart/uticart74146/');
define('DIR_WS_HTTPS_CATALOG', '/cart/');

Can anyone help me? Is there another function that controls the links in the admin area aside from this? I also find it strange that I can manually type in the 'correct' link and it takes me automatically to the login screen.

Help most appreciated.

12 Aug 2009, 8:32 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Links Broken Help Please!

These are incorrect:

define('HTTP_SERVER', 'http://united-tech.com/cart');
define('HTTPS_SERVER', 'https://gator526.hostgator.com/~unitedt');
define('HTTP_CATALOG_SERVER', 'http://united-tech.com/cart/uticart74146');
define('HTTPS_CATALOG_SERVER', 'https://gator526.hostgator.com/~unitedt/uticart74146');

Try using:

define('HTTP_SERVER', 'http://united-tech.com');
define('HTTPS_SERVER', 'https://gator526.hostgator.com/~unitedt');
define('HTTP_CATALOG_SERVER', 'http://united-tech.com');
define('HTTPS_CATALOG_SERVER', 'https://gator526.hostgator.com/~unitedt');

14 Aug 2009, 2:16 PM
#11
novachild avatar

novachild

New Zenner

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

Re: Admin Links Broken Help Please!

D'oh! Seemed to work before the patch (for about 9 months or so). Not sure why it was set up that way. Thanks so much.