cazgh Posted January 20, 2004 Share Posted January 20, 2004 Hi, I have just set up and installed the OS Commerce shop, although installation was successful I received the following error messages: Warning: fopen(/home/carehomes/35SI3442/htdocs/catalog/includes/configure.php): failed to open stream: Permission denied in /home/carehomes/35SI3442/htdocs/catalog/install/templates/pages/install_7.php on line 209 Warning: fputs(): supplied argument is not a valid stream resource in /home/carehomes/35SI3442/htdocs/catalog/install/templates/pages/install_7.php on line 210 Warning: fclose(): supplied argument is not a valid stream resource in /home/carehomes/35SI3442/htdocs/catalog/install/templates/pages/install_7.php on line 211 The configuration was successful! And now when I try to access the catalog I get the error messages: Warning: main(includes/application_top.php): failed to open stream: Permission denied in /home/carehomes/35SI3442/htdocs/catalog/index.php on line 13 Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/carehomes/35SI3442/htdocs/catalog/index.php on line 13 Line 13 contains the following: require('includes/application_top.php'); Any help greatly appreciated - no ideas on php at all!! Link to comment Share on other sites More sharing options...
241 Posted January 20, 2004 Share Posted January 20, 2004 check both the admin/includes/configure.php and the catalog/includes/configure.php also check your permission settings No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Jud Posted January 20, 2004 Share Posted January 20, 2004 You need to set your permissions to either 777 or 755 on application_top.php Link to comment Share on other sites More sharing options...
cazgh Posted January 20, 2004 Author Share Posted January 20, 2004 thanks will have a look and let you know!! Link to comment Share on other sites More sharing options...
cazgh Posted January 20, 2004 Author Share Posted January 20, 2004 Right - what information exactly am I checking the configure files for? Link to comment Share on other sites More sharing options...
241 Posted January 20, 2004 Share Posted January 20, 2004 Correct paths and database information. can you post a url to the site No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
cazgh Posted January 20, 2004 Author Share Posted January 20, 2004 www.ispyhouse.com Thanks for your help Link to comment Share on other sites More sharing options...
241 Posted January 20, 2004 Share Posted January 20, 2004 I have had a look and the permissions are wrong. start with the application_top.php as Judd said. Then post both your configure.php files but with the database info xxx for password etc. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
cazgh Posted January 20, 2004 Author Share Posted January 20, 2004 Ok - have checked both configure files - both seem to be fine (dont really know what I am looking for) - but password info, database name etc seem to be ok. Have changed permissions on application_top to both 777 and 755 - currently on 777 - but am still getting the same error message. Sorry to be a pain - and thanks for your time and effort!! ;) Link to comment Share on other sites More sharing options...
241 Posted January 20, 2004 Share Posted January 20, 2004 What permissions are set for the catalog folder and if you don't know what you are looking for how do you know that things are fine? I've just been into your admin file manager and if you select catalog/includes folder you get an error permission denied. As you are on the very early stages maybe you chould try install again No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
cazgh Posted January 20, 2004 Author Share Posted January 20, 2004 Permission for catalog folder: 755 I dont know that things are fine - database name, password, username etc fields contain the correct information to connect to the database. Thats all I can tell you really. Hence me using the phrase 'seem' - things 'seem' to be fine - but with my limited knowledge I could well be wrong!! Link to comment Share on other sites More sharing options...
cazgh Posted January 20, 2004 Author Share Posted January 20, 2004 Sorry - didnt see the second part of your message - I will re-install and see if it helps. Thanx again! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.