Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Browser View Problem


Guest

Recommended Posts

Hi everyone

 

I have been scanning the forum for similar issues that I am having with the ecommerce website. My website address is http://www.digitalw.com.au

 

When accessing from machines running windows 98 and some macintosh running OS9, the CSS and graphics do not work... Just Times New Roman, no original osCommerce formatting and only some graphics are displaying.

 

We have found the web page looks fine in Safari for OSX, Mozilla, Explorer in OSX and OS9 for Mac after updating to the final Mac OS9 explorer version.

 

I have read on this forum answers such as: browsers need to be update to checking file permissions to using external domain names (which we do) and we have used a fresh install of osCommerce that we have not modified and came across the same browser viewing issues.

 

We checked other osCommerce sites using the explorer versions that were not able to view our web page properly and these websites did not display the same issues we are having but looked fine.

 

Our server info is as follows:

Server Host: www.digitalw.com.au (10.1.1.99)

Database Host: localhost:8085 (localhost:8085)

 

Server OS: Darwin 7.9.0

Database: MySQL 4.1.11-standard

 

 

HTTP Server:

Apache/1.3.33 (Darwin) DAV/1.0.3 mod_ssl/2.8.22 OpenSSL/0.9.7b PHP/4.3.10 mod_perl/1.26

 

PHP Version:

4.3.10 (Zend: 1.3.0)

 

Any Help is greatly appreciated.

Link to comment
Share on other sites

Your <base href> tag is empty.

 

This is set in code by the following. Check your HTTP_SERVER and DIR_WS_CATALOG strings in your configure file.

 

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

Link to comment
Share on other sites

Sometimes, it is the $request_type variable that messes things up.

This is set in application_top.php, here:

 

// set the type of request (secure or not)

$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

 

 

 

Try changing this to:

 

$request_type=isset($_SERVER['HTTPS']) ? 'SSL' : 'NONSSL';

Link to comment
Share on other sites

Sometimes, it is the $request_type variable that messes things up.

This is set in application_top.php, here:

 

// set the type of request (secure or not)

  $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

Try changing this to:

 

  $request_type=isset($_SERVER['HTTPS']) ? 'SSL' : 'NONSSL';

 

:rolleyes:

 

A BIG THANK YOU TO DAWN

 

This solution has appeared to work, we will test it on a few more windows machines using explorer but it is looking good. Once again thank you very much I never would have know to do that.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...