aligre Posted July 12, 2008 Share Posted July 12, 2008 Hello. I just installed osCommerce last night. When I try to view my site, I get HTTP Error 403 that says, "You are not authorized to view this page". How can I fix this? Thanks! http://boutiqueofbabytreasures.com/ Link to comment Share on other sites More sharing options...
germ Posted July 12, 2008 Share Posted July 12, 2008 You installed into the /catalog folder This works: http://boutiqueofbabytreasures.com/catalog/ Must have a bad .htaccess file in the root folder. 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 More sharing options...
aligre Posted July 12, 2008 Author Share Posted July 12, 2008 You installed into the /catalog folder This works: http://boutiqueofbabytreasures.com/catalog/ Must have a bad .htaccess file in the root folder. Thank you. I tried to follow the directions in the documentation. How do I fix it so that it works correctly? Link to comment Share on other sites More sharing options...
germ Posted July 12, 2008 Share Posted July 12, 2008 Ummm... Do you have an index file in your root folder (either html or php)? :unsure: 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 More sharing options...
aligre Posted July 12, 2008 Author Share Posted July 12, 2008 You installed into the /catalog folder This works: http://boutiqueofbabytreasures.com/catalog/ Must have a bad .htaccess file in the root folder. I only see an index.php under catalog. Link to comment Share on other sites More sharing options...
germ Posted July 12, 2008 Share Posted July 12, 2008 OK. Let's do this. Copy/paste the text in the CODE box into Notepad. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>Shop Offline</title> </head> <body bgcolor="#ffffff"> <table width="100%" border="0" cellspacing="2" cellpadding="0" height="100%"> <tr> <td> <div align="center"> <font size="7">Shop Offline awaiting launch.</font></div> </td> </tr> </table> </body> </html> Save it as index.html Upload it into the root (/) folder on your site. I think you get the error because the root folder has no index file. 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 More sharing options...
aligre Posted July 13, 2008 Author Share Posted July 13, 2008 OK. Let's do this. Copy/paste the text in the CODE box into Notepad. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>Shop Offline</title> </head> <body bgcolor="#ffffff"> <table width="100%" border="0" cellspacing="2" cellpadding="0" height="100%"> <tr> <td> <div align="center"> <font size="7">Shop Offline awaiting launch.</font></div> </td> </tr> </table> </body> </html> Save it as index.html Upload it into the root (/) folder on your site. I think you get the error because the root folder has no index file. Thank you, I've done that. Everything still appears to look the same. What else am I doing wrong? Link to comment Share on other sites More sharing options...
germ Posted July 13, 2008 Share Posted July 13, 2008 If there is a .htaccess file in the root folder, rename it to text.htaccess If not, contact your host for support. 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 More sharing options...
aligre Posted July 13, 2008 Author Share Posted July 13, 2008 If there is a .htaccess file in the root folder, rename it to text.htaccess If not, contact your host for support. I only see a .htaccess file under /public/catalog/includes. Does this mean that I need to ask my host for help? Thank you. Link to comment Share on other sites More sharing options...
aligre Posted July 13, 2008 Author Share Posted July 13, 2008 OK, I deleted everything and then installed again a different way. It's working much better now. The only thing is that I can't get rid of the pink error message at the top even though I have set the right user permissions on the file. That will be my next thing to figure out. Link to comment Share on other sites More sharing options...
germ Posted July 13, 2008 Share Posted July 13, 2008 FTP usually won't work at this. You should login to your Web Host account and use the Control Panel, NOT OSCOMMERCE! Try file permissions in this order until the pink warning disappears: 644 444 400 Be aware that permissions less than 644 make the file "read only" even to you and you'll need to change them to 644 before you can make any edits to the file in the future. 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 More sharing options...
aligre Posted July 14, 2008 Author Share Posted July 14, 2008 FTP usually won't work at this. You should login to your Web Host account and use the Control Panel, NOT OSCOMMERCE! Try file permissions in this order until the pink warning disappears: 644 444 400 Be aware that permissions less than 644 make the file "read only" even to you and you'll need to change them to 644 before you can make any edits to the file in the future. Thank you, I am still trying to work through this. Even setting the permissions to 400 from the File Manager in my Web Host account does not make the pink warning go away! Gasp. Link to comment Share on other sites More sharing options...
germ Posted July 14, 2008 Share Posted July 14, 2008 If you are absolutely certain the permissions are correct, and you still get the warning, you can turn the warning off this way: At the bottom of /includes/application_top.php find this code: define('WARN_CONFIG_WRITEABLE', 'true'); Alter it to: define('WARN_CONFIG_WRITEABLE', 'false'); 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 More sharing options...
aligre Posted July 14, 2008 Author Share Posted July 14, 2008 Thanks! Now I'm in business. Well, almost. :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.