Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Forbidden


Guest

Recommended Posts

Hello anyone,

 

i am new here and am testing this software for the first time. I installed the store using fantastico, entered a test product and went to ge see it at the shop URL.

 

i get an access forbidden message when visiting the store.

 

Why?

 

Mic

Link to comment
Share on other sites

if you are trying to view your shop fro the admin screen...I don't know whay but the view catalogue button only goes to http://yourdomain.com/catalog....it doesn't append default.php

 

(WHY osCommerce uses this i don't know instead of index.php but if that is what you did just type in the URL straight to your default.php

 

ex: http://www.yourdomain.com/catalog/default.php

 

if that doesn't work then there is a problem with your setup/configuration files or your folder permissions

 

Joey

Link to comment
Share on other sites

Its so simple to change the default.php to index.php. Rename the file and do your changes in the application_top.php.

 

Are I'm the only one who knows that ? :wink:

 

 

But its really an interesting question. Why default.php ? (@ Creators)

Link to comment
Share on other sites

Sorry guys,

 

I didn't receive a single email from your responses.  hmmm.

 

Anywhere here is the URL http://www.weblife2000.com/shop

 

mic

 

First, check your profile on the forum and make sure you have Notify me when a reply is posted checked.

 

Second, you get the forbidden message because your server doesn't recognize "default.php" as the starting page. The easiet way to fix that is to rename your catalog/default.php and catalog/includes/languages/english/default.php to index.php and then in catalog/includes/application_top.php change the define to index.php also.

Link to comment
Share on other sites

Second, you get the forbidden message because your server doesn't recognize "default.php" as the starting page. The easiet way to fix that is to rename your catalog/default.php and catalog/includes/languages/english/default.php to index.php and then in catalog/includes/application_top.php change the define to index.php also.

 

I did all that, except or the last bit, applications_top.php

 

It confused me a little. Do I actually rename application_top.php to index.php or do I go inside the file and change the define field. If so, which one? there are lots of define fields. What about applications_bottom.php.

 

LAstly, customers will be using Fantastico to install this program. Does this mean I or they have to rename these pages with each and every new installation of OS Commerce?

 

mic

Link to comment
Share on other sites

okey dokey.

 

btw, I renamed to index.php in catalog/includes/languages/english/default.php and it did not work.

 

So I put it back and it SEEMS to work.

 

SO.....wouldn't happen to know if I am going to have to do this renaming thing for each and every install would ya?

 

mic

Link to comment
Share on other sites

If you rename /catalog/default.php to /catalog/index.php and redefine it in /catalog/includes/application_top.php you also have to rename /includes/languages/english/default.php to /includes/languages/english/index.php ...

 

This is also true for all the other languages you wish to use.

 

The main files and the language files work in together ... the language file is being loaded based on its name via application_top.php

Link to comment
Share on other sites

I talked with my server and told them to set up the server to recognize default.php as main pages.

 

I don't want to be renaming things for clients all year long

 

Cheers and thanks,

 

mic

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...