Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

3 hours and 20 fags later.....lol


elaineella61

Recommended Posts

I have looked everywhere and only come on here as a last resort.

 

I uploaded oscommerce ...just the "catologue" (which i renamed "shop") to my root "public_html", set up the database and everything installed ok plus admin.

 

The site shows no problem on www.mydomain.co.uk/shop...but when I click on "top" to take me to my home page on www.mydomain.co.uk it only displays files in "Parent Directory" and by clicking on the "shop" folder in that directory I am taken back to the shop page again.

 

What have I done wrong here? Is it easily sorted?

 

Sorry if this has already been asked, but I have been up and down the boards and did not find the "search" very helpful. I only have the weekend off work.... :D

 

Elaine

Link to comment
Share on other sites

Comment out the 'Top' link in includes/application_top.php, like so:

 

//$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

Vger

 

 

Thanks for replying, I tried that, but it did not work unfortunately. It is as if the site has uploaded ok from the install, but has not loaded to the main page eg www.mydomain.co.uk. I can see it fine if I put in the browser www.mydomain.co.uk/shop....but no-one is going to search for a website that way....lol, if only, then I would be ok :)

Link to comment
Share on other sites

I'm also new to osCOMMERCE but not new to administering websites. Your problem is because you have your files in a directory called shop. The shop directory is a sub-directory of your root. You are seeing the folder names because when you navigate to www.yourdomain, there isn't a default file (normally set to default or index.php/html/htm in the config file on the server) I use this approach on my test server as a lazy quick drop into all the backup web sites I'm responsible for, but like your say not very surfer friendly.

 

You may be able to simple modify your default file location to include the shop directory (www/shop) This is normally performed within the virtual host / server function on the hosts control panel, but you need to be very careful to get the paths and setting correct. You could ask your provider to make the changes for you, but this will depend on their server setup. You can always move the files up one level but you must remember to alter all paths, someone else would be better advising you or the implications of this as I haven't fully studied the file structure. You could install an index.php or index.html file as the front page with a link to the shop level. But if you haven't started to load the database you may find it quicker to delete and reload without the shop directory. Copy all the files from inside the catalog folder and load then direct into the root directory then run the install from that location.

 

I hope this helps you

 

JP

Link to comment
Share on other sites

The website is going to be adult based, I have seen some sites where they have a home page where the viewer has to consent to view the website.....so If I can find one of those, I will be able to link it to the shop???

 

Or else it looks like i am going to have to contact my hosting co again...lol

Link to comment
Share on other sites

If you have moved everything to your root folder, simply upload the install folder again of osc. and reinstall the database, it will automatically change your configure.php file to the new settings.

 

ONLY DO THIS if your site is unmodified, as it will overwrite any contrib sql commands and any products that you have added.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...