Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

base href


Crystina

Recommended Posts

I just downloaded an entire store and uploaded it to another site to save time. Oops! Now, my second store has the first store's base href. I have checked all of my php files and they seem to be correct, but when I check my view source, it shows the first store's base. Any ideas?

Link to comment
Share on other sites

It's either one of two issues that I can think of.

 

Check the donfigure files in both admin and catalog.

 

If it's not that, it could be the html editor your using. Programs such as FrontPage include the base href in the vti_cnf folders and unless they are deleted will cause this problem.

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Link to comment
Share on other sites

I checked my html editor. This is the head coding

 

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

 

Any suggestions?

Link to comment
Share on other sites

My configure.php file reads

 

define('HTTP_SERVER', 'http://desertrosedesign.net'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://desertrosedesign.net');

 

My admin configure.php reads the same.

 

I used Windows grep to find all instances of "inspirations" in all of my catalog files and it came up with nothing. This makes no sense to me.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...