Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

my basic domain shows my folders


dewaylando

Recommended Posts

Hi all,

 

I have installed oscommerce and felt everything was going okay. When I try to see the site with www.mydomain.co.uk it appears with my folders.

 

To actually get to the site, I have to go to www.mydomain.co.uk/catalog

 

How do I correct this issue please?

 

Thanks,

 

James

Link to comment
Share on other sites

Hi,

 

You may consider to ask your host company to edit the Document Root directive of your hosting account in the VirtualHost configuration.

 

Best regards

Link to comment
Share on other sites

You have to move the site into your public folder and change you configure files. I havent used it but this contribution apparently has all the steps.

 

http://www.oscommerce.com/community/contri...ns,3742/page,72

 

SJC

 

Hi SJC,

 

Thanks for this. Unfortunately, my control panel won't let me complete the first step - all the others are fine.

 

When I try to save the initial php change, it says a fatal error has occurred or it has timed out (only takes a second for this to come up).

 

Does anyone else have any alternative suggestions?

 

Thanks,

 

James

Link to comment
Share on other sites

Hi SJC,

 

Thanks for this. Unfortunately, my control panel won't let me complete the first step - all the others are fine.

 

When I try to save the initial php change, it says a fatal error has occurred or it has timed out (only takes a second for this to come up).

 

Does anyone else have any alternative suggestions?

 

Thanks,

 

James

Are you making the changes with the file manager? From what I hear best not to use it as it can mess up the files. Better to change them localy with a text editor & upload via FTP. There is some good free stuff on the net (crimson editor as text editor & Filezilla for FTP, just google them)

SJC

Link to comment
Share on other sites

  • 2 weeks later...

Hi Guys,

 

I now have moved everything to the main directory and it now shows up without the catalog at the end of the URL.

 

Now though, when I click on hardware, software etc it appears with the folowing error message:

 

The requested URL /catalog/index.php/cPath/1 was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

This happened after I completed this:

 

Step 3.

This modification changes the navigation breadcrumbs to do away

with the normal "Top" link which becomes useless with the store

in the root.

 

Open /catalog/includes/application_top.php

 

Find this code approximately at line 462.

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

Comment out one line so it looks like this:

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

 

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

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

I then changed it back, but it is still happening.

 

Any ideas?

 

Thanks

Link to comment
Share on other sites

In your Admin, set 'Use Search-Engine Safe URLs (still in development)' to false.

 

Save it.

 

Sometimes you have to set 'Use Cache' to false to see any change.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...