Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urgent - admin links not working


jrtechnology

Recommended Posts

Posted

1-My admin area is at www.mysite.com/osc/admin.

2-I can log on (using htaccess) and it takes me to the page.

3-Any links at that page are pointing to www.mysite.com/admin/(whatever url) instead of www.mysite.com/osc/admin/(whatever url).

4-If I type the URL myself the way they are supposed to be, they work fine.

 

 

I have been to configure.php but cannot find the variable I need to change to fix this. Notice that my store root is in the osc folder inside my web root.

 

Please help.

 

Thanks in advance.

Posted

It has to be either your configure.php files or a redirect on your htaaccess file casusing this.

I would say as it is admin it will be you configure.php files

Check these two lines form admin / includes / configure

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/home/user/public_html/osc/admin/');

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
It has to be either your configure.php files or a redirect on your htaaccess file casusing this.

I would say as it is admin it will be you configure.php files

Check these two lines form admin / includes / configure

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/home/user/public_html/osc/admin/');

 

Nic

 

Thanks a lot for your help and although there was something missing, if it wasn't for you, I wouldn't have found the glitch. You were really close. See this.

define('DIR_WS_ADMIN', '/osc/admin/');

 

After re-writing that line the way you see it, I was able to fix it.

 

Thanks a lot.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...