Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Overwritten index.php and .htaccess by mistake


patriciaW

Recommended Posts

It's possible to download new copies of both the index.php and .htaccess files if you know what version your shop is. 

On the products page you can download the current or older versions.  If you are using Community Edition, look here

To determine the version, try looking in the file includes/version.php

If that file does not exist look in includes/application_top.php for

// define the project version
  define('PROJECT_VERSION', 'OSCOM CE Phoenix');

But realize that that version is out of date if includes/version.php exists. 

The whole thing becomes trickier if you are using modified versions of one or both files. 

Always back up before making changes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...