Topic: Topic: osCommerce problem
Sorry for placing such post on this forum, but I am reallu desparate to find the solution to my problem. I did not receive any help on osCommerce forum sad On the other hand I have always received help from you, that's why I decided myself to write here.
I tried to install a contribution on my index page which allows to place on it some of the boxes from the shop. I put the following code on
<?php $cwd=getcwd(); chdir('/home/bulgaricus/public_html/sklep/'); include('includes/application_top.php'); ob_start(); include(DIR_WS_BOXES.'specials.php'); $sbox=ob_get_contents(); ob_clean(); include(DIR_WS_BOXES.'whats_new.php'); $wbox=ob_get_contents(); ob_end_clean(); $sbox=str_replace("src=\"images", "src=\"http://www.bulgaricus.com/sklep/images",$sbox); $wbox=str_replace("src=\"images", "src=\"http://www.bulgaricus.com/sklep/images",$wbox); chdir($cwd); ?> <html><head> <link rel="stylesheet" type="text/css" href="http://www.bulgaricus.com/sklep/stylesheet.css" /> </head> <body><center> <table border="0" width="120" cellspacing="0" cellpadding="0"> <?php echo $sbox; ?> </table> <table border="0" width="120" cellspacing="0" cellpadding="0"> <?php echo $wbox; ?> </table></center></body></html>
Everything works great except that when I click a link from my index page to the shop it does not work. The explorer shows a totally blank screen.
On the other side if I erase 'www' from that link, it works. Normally the shop works with the 'www' in the link. What is wrong?
I will be very grateful for your help. Thanks in advance!