Jump to content
patriciaW

Overwritten index.php and .htaccess by mistake

Recommended Posts

Overwritten index.php and .htaccess  by mistake  the ecommerce looks bad now. Its someone with experience fixing those issues?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

I'm guessing that you don't have a backup but if you do it is even easier....just pull the files from your backup.

Dan

Edited by Dan Cole

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×