Forums / Basic Configuration / Double /store/ In Some Links In Admin

Double /store/ In Some Links In Admin

Locked

Started by chrx on 10 May 2006, 4:35 PM · Views: 2,075

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 May 2006, 4:35 PM
#1
chrx avatar

chrx

New Zenner

Join Date:
Aug 2005
Location:
SF Bay Area, California, USA
Posts:
84
Plugin Contributions:
0

Double /store/ In Some Links In Admin

Greetings,

Went live last Thursday, and now I notice that some of the paths for my links in the Admin area show my "/store/" directory twice. This /store/ directory is my Zen Cart top directory.

I first noticed this when my "English" flags were breaking in Admin/Catalog/Categories & Products. Besides the flag images, the "Online Catalog" link in the Admin header repeats the /store/ as well.

The Online Catalog link in the Admin header is displayed like this:
"http://www.maximummotorsports.com/store/store/index.php?main_page="

and the English flag icon links are displayed as:
"http://www.maximummotorsports.com/store/store/includes/languages/english/images/icon.gif"

I think it might be due to how my configure.php file is set up in the admin area. Here is how it is set up currently:

// Define the webserver and path parameters
define('HTTP_SERVER', 'https://www.maximummotorsports.com');
define('HTTPS_SERVER', 'https://www.maximummotorsports.com');
define('HTTP_CATALOG_SERVER', 'http://www.maximummotorsports.com/store');
define('HTTPS_CATALOG_SERVER', 'https://www.maximummotorsports.com/store');
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

define('DIR_WS_ADMIN', '/store/maxmot_ad/');
define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_ADMIN', '/store/maxmot_ad/');
define('DIR_WS_HTTPS_CATALOG', '/store/');

Any suggestions?

Thanks,
chrx

15 May 2006, 7:15 PM
#2
chrx avatar

chrx

New Zenner

Join Date:
Aug 2005
Location:
SF Bay Area, California, USA
Posts:
84
Plugin Contributions:
0

Re: Double /store/ In Some Links In Admin

Bump.

Any ideas as to what may be causing this?

chrx

15 May 2006, 8:20 PM
#3
chrx avatar

chrx

New Zenner

Join Date:
Aug 2005
Location:
SF Bay Area, California, USA
Posts:
84
Plugin Contributions:
0

Re: Double /store/ In Some Links In Admin

By looking at some other postings that have come in lately, I found the problem:

define('HTTP_CATALOG_SERVER', 'http://www.maximummotorsports.com/store');
define('HTTPS_CATALOG_SERVER', 'https://www.maximummotorsports.com/store');

has now been changed to:

define('HTTP_CATALOG_SERVER', 'http://www.maximummotorsports.com');
define('HTTPS_CATALOG_SERVER', 'https://www.maximummotorsports.com');

Removing the /store at the end of the urls fixed it.

Cheers,
chrx

15 May 2006, 11:56 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Double /store/ In Some Links In Admin

Thanks for the update ... this will be of great help to others with similar configuration issues ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!