Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating a second store


ggrant3

Recommended Posts

Posted

Okay I have searched through here and found that all I "should" have to do is copy all files from Site A over to Site B, change the Site A catalog/includes/configure.php and admin/includes/configure.php files to match Site B and then copy the Site A database and upload it to the Site B database.

 

Is there anything else that needs to be changed?

 

Because when I do this, Site B initially (the home page) looks identical to Site A, all categories and products appear in the category box and all design/layout changes appear correctly, but when I click on a category I get directed to a blank page that says "No index file selected"

 

Does anyone know why that is happening?

Posted

Greg,

 

Ensure the relative paths on the new site are updated to reflect the new server location.

 

 

 

Chris

Posted

Greg,

 

Ensure the relative paths on the new site are updated to reflect the new server location.

 

 

 

Chris

 

They are.

 

I don't see how I could be doing it wrong.

 

All I would change are the absolute paths and the database info, right?

 

I have done this over a dozen times using different methods (going line by line, find and replace, I even used the stock config files that were created by installing a fresh install for the second site), but it just is not working.

 

Question: If the configure files were setup wrong would I be able to view the site at all? Because I can type in the sites address and get the home page, the problem only arises when I click on a link. The product categories and amount of products is correct also.

 

Also, as I mentioned the first site works fine (no errors), but when the home page loads on the second site I get an error along the top highlighted in pink that says

 

"Warning: I am able to write to the configuration file: This is a potential security risk - please set the right user permissions on this file."

 

How is it possible that I have no errors on the first site, but the second site is saying it can write to the config file?

Posted

Anybody at all know why I am getting the error "No Input File Selected"

 

Anyone at all???

 

I have just copied everything over again and I went through my .htaccess file, includes/configure.php, and admin/includes/configure.php files line by line making changes and making sure everything is correct for the information on the second store and I still get this same error.

 

If I do a search for an item it will show all of the results (different sizes with that title) no problem, so the information is there in the site but if I click on one of the search results I still can't get to the item I get the same No Input File Selected error.

 

There has to be a logical reason for this.

 

I have searched and searched and I can't find anyone that has had a error like this.

 

I guess that is why nobody has an answer for it.

Posted

Update

 

After spending some more time researching what could be going wrong between the two stores. I narrowed the only difference down to the hosting setup from GoDaddy. They have the standard Shared Hosting Linux option that is what the original store was using and the second store (the one that I could not get to work) was on a "Grid Hosting" Linux setup.

 

So after talking with GoDaddy on Friday I had them switch my second store hosting to the Shared version and this morning I uploaded all files and went through the standard changes to both configure.php files and everything works.

 

So.....If anyone in the future reads this because they are having a similar problem and you are using GoDaddy, make sure you have a "Shared Hosting" Linux setup and not a "Grid Hosting" Linux setup. Grid Hosting (at least at this point) does not work.

Archived

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

×
×
  • Create New...