Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index error issue?


INDY GS

Recommended Posts

Posted

For some reason, when going to my site, www.raceeffect.com I get the following error...

 

Warning: main(includes/application_top.php): failed to open stream: No such file or directory in /home/content/r/a/c/raceeffect/html/index.php on line 13

 

Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/content/r/a/c/raceeffect/html/index.php on line 13

 

 

However if I go to my page via this address: www.raceeffect.com/catalog

 

How do I replace the index file that seems to be missing. Or can I somehow redirect when someone types in raceeffect.com, it auto redirects to the /catalog page.

 

Thanks!

Posted

Here's a simple redirect to the /catalog/ page. Replace your raceeffect/html/index.php file with this (NOT catalog/index.php):

<?php
header("Location: /catalog/");
?>

Posted
Here's a simple redirect to the /catalog/ page. Replace your raceeffect/html/index.php file with this (NOT catalog/index.php):

<?php
header("Location: /catalog/");
?>

 

 

Thanks for the quick reply and support! Got things sorted out.

Archived

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

×
×
  • Create New...