Guest Posted February 10, 2003 Share Posted February 10, 2003 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 More sharing options...
Guest Posted February 10, 2003 Share Posted February 10, 2003 Can you post an URL ! Link to comment Share on other sites More sharing options...
mindsetdesigns Posted February 10, 2003 Share Posted February 10, 2003 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 More sharing options...
mindsetdesigns Posted February 10, 2003 Share Posted February 10, 2003 WHY CANT WE EDIT POSTS????? dumb dumb dumb if you ask me....!!! Sorry for the spelling mistakes above... :shock: Link to comment Share on other sites More sharing options...
Guest Posted February 11, 2003 Share Posted February 11, 2003 WHY CANT WE EDIT POSTS????? The forum is synchronized with the news server. Editing posts messes that up. You do have a preview button. :D Link to comment Share on other sites More sharing options...
Guest Posted February 11, 2003 Share Posted February 11, 2003 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 More sharing options...
Guest Posted February 11, 2003 Share Posted February 11, 2003 Sorry guys, I didn't receive a single email from your responses. hmmm. Anywhere here is the URL http://www.weblife2000.com/shop mic Link to comment Share on other sites More sharing options...
Guest Posted February 11, 2003 Share Posted February 11, 2003 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 More sharing options...
burt Posted February 11, 2003 Share Posted February 11, 2003 Why default.php ? (@ Creators) Why not? If the host doesn't know how to set up the server to look for default.php then something is vry very wrong! :shock: :lol: Link to comment Share on other sites More sharing options...
Guest Posted February 11, 2003 Share Posted February 11, 2003 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 More sharing options...
Guest Posted February 11, 2003 Share Posted February 11, 2003 NOOOOO ! change in application_top.php define('FILENAME_DEFAULT', 'default.php'); in define('FILENAME_DEFAULT', 'index.php'); Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 Of course you should rename the file /catalog/default.php in /catalog/index.php :D Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 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 More sharing options...
Ajeh Posted February 12, 2003 Share Posted February 12, 2003 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 More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.