giraffeinbath Posted November 2, 2006 Posted November 2, 2006 Hi, Trying to install for the first time. Created a database through my host's control panel (servage.net) and gone through the install process with everything looking rosey up until step 5 when I receive the following error message: New Installation osCommerce Configuration The following error has occurred: The configuration files do not exist, or permission levels are not set. Please perform the following actions: * cd /home30c/sub002/sc26548-SKKN/www/catalog/includes/ * touch configure.php * chmod 706 configure.php * cd /home30c/sub002/sc26548-SKKN/www/catalog/admin/includes/ * touch configure.php * chmod 706 configure.php If chmod 706 does not work, please try chmod 777. If you are running this installation procedure under a Microsoft Windows environment, try renaming the existing configuration file so a new file can be created. Tried searcing on the forum for a lead to the solution but when you don't know what a thimble looks like it's hard to find it........ Any help greatly appretiated, and as this is my first post hi to all on the forum.
wppnewb Posted November 2, 2006 Posted November 2, 2006 It is a permissions problem. It is a relatively straightfoward error. Do what it is asking you to do. i.e. change the permissions on those files that it is indicating. You will need to do it through your FTP client (the same software you had used for uploading the files). Just select the configure.php file(s) and change its permission level as indicated. The installation procedure probably needs to modify those files and is unable to do that since the files do not have the correct permissions set. Let me know if you need further help. Amit Hi, Trying to install for the first time. Created a database through my host's control panel (servage.net) and gone through the install process with everything looking rosey up until step 5 when I receive the following error message: New Installation osCommerce Configuration The following error has occurred: The configuration files do not exist, or permission levels are not set. Please perform the following actions: * cd /home30c/sub002/sc26548-SKKN/www/catalog/includes/ * touch configure.php * chmod 706 configure.php * cd /home30c/sub002/sc26548-SKKN/www/catalog/admin/includes/ * touch configure.php * chmod 706 configure.php If chmod 706 does not work, please try chmod 777. If you are running this installation procedure under a Microsoft Windows environment, try renaming the existing configuration file so a new file can be created. Tried searcing on the forum for a lead to the solution but when you don't know what a thimble looks like it's hard to find it........ Any help greatly appretiated, and as this is my first post hi to all on the forum.
giraffeinbath Posted November 2, 2006 Author Posted November 2, 2006 It is a permissions problem. It is a relatively straightfoward error. Do what it is asking you to do. i.e. change the permissions on those files that it is indicating. You will need to do it through your FTP client (the same software you had used for uploading the files). Just select the configure.php file(s) and change its permission level as indicated. The installation procedure probably needs to modify those files and is unable to do that since the files do not have the correct permissions set. Let me know if you need further help. Amit Thanks for your response Amit, Good to hear that it should be something fairly straight forward. I don't know how to change the permissions on a file. I used Dreamweaver to upload the files and I don't see how I change the file properties using this, and I can get a link through to phpMyAdmin from my host but I can't see how to change the properties of a file there either. This is my first outing with osCommerce and any php application so you can't offend me by stating the obvious!
ammmze Posted November 2, 2006 Posted November 2, 2006 Thanks for your response Amit, Good to hear that it should be something fairly straight forward. I don't know how to change the permissions on a file. I used Dreamweaver to upload the files and I don't see how I change the file properties using this, and I can get a link through to phpMyAdmin from my host but I can't see how to change the properties of a file there either. This is my first outing with osCommerce and any php application so you can't offend me by stating the obvious! In dreamweaver goto Remote View (not Local View) right click on the file click Set Permissions and either type in 777 or what ever or click read all, write all, and execute all. Hit ok and then upload the file and then retry intall. Hope that helps
giraffeinbath Posted November 2, 2006 Author Posted November 2, 2006 Thanks for your response Amit, Good to hear that it should be something fairly straight forward. I don't know how to change the permissions on a file. I used Dreamweaver to upload the files and I don't see how I change the file properties using this, and I can get a link through to phpMyAdmin from my host but I can't see how to change the properties of a file there either. This is my first outing with osCommerce and any php application so you can't offend me by stating the obvious! I didn't relise that setting the permissions was as somple as right clicking the online folder, I've been going around in circles trying to work out how to change the permissions prior to uploading it. I've made it through step 5 and have a list of error messages yet it tells me that the installation was successful, just moving on and following my nose form here....
ammmze Posted November 2, 2006 Posted November 2, 2006 Yea, it took me about 3hours before I relized I had to be in remote view to set permissions, anyways you probably have 2 pink boxes on the top of the screen when install is finished one is just asking you to remove the install directory, make sure you remove from both the remote view and local view (well actually at least remote view, but I would do both). Then it will want you to change the permissions on includes/configure.php, I have mine at 444, im not sure what they say to put it at but, it will tell you and then after that you should be free to start breaking things...lol
giraffeinbath Posted November 2, 2006 Author Posted November 2, 2006 In dreamweaver goto Remote View (not Local View) right click on the file click Set Permissions and either type in 777 or what ever or click read all, write all, and execute all. Hit ok and then upload the file and then retry intall. Hope that helps Thanks, didn't work first time so I started again from scratch, and now I know how to set the permissions used cross referenced the osC instructions with the guide at the top of this forum changing the permissions on all folders to 755, then reverting the identified folders back to their specific permissions at the end. All seems OK except for some error messages at the top of the page when you go through to catalog or admin area: Errors at head of Catalog page: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 17500/17500 is not allowed to access owned by uid/gid 0/0 in /mounted-storage/home30c/sub002/sc26548-SKKN/www/catalog/includes/functions/sessions.php on line 148 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mounted-storage/home30c/sub002/sc26548-SKKN/www/catalog/includes/functions/sessions.php:148) in /mounted-storage/home30c/sub002/sc26548-SKKN/www/catalog/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home30c/sub002/sc26548-SKKN/www/catalog/includes/functions/sessions.php:148) in /mounted-storage/home30c/sub002/sc26548-SKKN/www/catalog/includes/functions/sessions.php on line 97 Errors at head of admin page Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 17500/17500 is not allowed to access owned by uid/gid 0/0 in /mounted-storage/home30c/sub002/sc26548-SKKN/www/catalog/admin/includes/functions/sessions.php on line 110 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mounted-storage/home30c/sub002/sc26548-SKKN/www/catalog/admin/includes/functions/sessions.php:110) in /mounted-storage/home30c/sub002/sc26548-SKKN/www/catalog/admin/includes/functions/sessions.php on line 67 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home30c/sub002/sc26548-SKKN/www/catalog/admin/includes/functions/sessions.php:110) in /mounted-storage/home30c/sub002/sc26548-SKKN/www/catalog/admin/includes/functions/sessions.php on line 67 Is this due to incorrect permissions on some of my folders/files?
ammmze Posted November 2, 2006 Posted November 2, 2006 Is this due to incorrect permissions on some of my folders/files? Hmm... It looks like it is a setting with your php configuration, but I am not 100% sure. First thing I would try is closing all windows/tabs of your web browser and reopen them. If that doesnt work then another thing to try is to create a new file in your catalog directory is create a file called php.ini and create a new line in there that says... safe_mode = off I think that is what it is, however this makes your site not as secure, and could potentially cause problems with your hosting company, they may get mad at you for changing somthing like that.
ammmze Posted November 2, 2006 Posted November 2, 2006 Also in the php.ini you may want to add register_globals = on; oh and i forgot to put a semi colon on the... safe_mode = off; sorry the edit button disappeared so I couldn't just edit my previous post. And again these changes may or may not work depending oh your host and I think some hosts will get mad if you do this and they don't want you to.
giraffeinbath Posted November 2, 2006 Author Posted November 2, 2006 Also in the php.ini you may want to addregister_globals = on; oh and i forgot to put a semi colon on the... safe_mode = off; sorry the edit button disappeared so I couldn't just edit my previous post. And again these changes may or may not work depending oh your host and I think some hosts will get mad if you do this and they don't want you to. Thanks for the advice, I've actually spent the last hour rolling through the 'Quick instalation guide' at the top of this forum to see if I could get any clues, one post suggested to change admin/configeration/sessions from /tmp to tmp which seems to have done the trick (although I'm none the wiser as to why!) Think I'll call it a day today, always best to depart on a high. Thanks to all, Gareth
ammmze Posted November 2, 2006 Posted November 2, 2006 I am not 100% sure about my reasoning but a while ago when I was setting up my first shop I had problems items getting linked to other peoples shops and I think it had somthing to do with the cache which is stored in the tmp directory and when your hosting is on a shared server that forward slash must be taking everything all the way back to the home of the entire server so it is getting shared with everyone else on the server. So I think the problem is that the sessions where getting mixed up with someone else who is running osCommerce on their website but you are both running on a shared server. Again, that may not all be true that is just what I believe would cause that. Glad you figured it out though.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.