Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Catalog Pages


geoffquinn

Recommended Posts

The image links are all broken on catalog page http://69.6.239.148/catalog/. The domain name is not active yet so, I'm using my ip address instead. When I looked at the index.php page code in my browser I noticed this tag:

<base href="http://semg.org/catalog/">

 

I think this is what's causing the broken links.

 

The orignial index.php file shows this:

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

 

I went to the catolog config file:

define('HTTP_SERVER', '');

define('HTTPS_SERVER', '');

 

and changed: define('HTTP_SERVER', '69.6.239.148');

 

It didn't help! Any suggestions?

Link to comment
Share on other sites

As a test just set

 

define('HTTPS_SERVER', '69.6.239.148');

 

as well.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Hi, since I installed osEcommerce automatically from a control panel on my server, much of the configuration info was done for me. The config file I needed to change was:

/catalog/includes/local/configure.php

<?

define('HTTP_SERVER', 'http://69.6.239.148');

 

I also had page linking problems on the admin page and it was solved by: /admin/includes/local/configure.php

<?

define('HTTP_SERVER', 'http://69.6.239.148');

 

Thanks for helping me on this! :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...