Guest Posted March 15, 2010 Posted March 15, 2010 I need help with a warning that I got after installation.. everything went fine till I got the following... Finished! Warning: fopen(D:/inetpub/vhosts/CHEZ-OLABI.COM/httpdocs/catalog/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in D:\inetpub\vhosts\CHEZ-OLABI.COM\httpdocs\catalog\install\templates\pages\install_4.php on line 116 Warning: fputs(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\CHEZ-OLABI.COM\httpdocs\catalog\install\templates\pages\install_4.php on line 117 Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\CHEZ-OLABI.COM\httpdocs\catalog\install\templates\pages\install_4.php on line 118 Warning: fopen(D:/inetpub/vhosts/CHEZ-OLABI.COM/httpdocs/catalog/admin/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in D:\inetpub\vhosts\CHEZ-OLABI.COM\httpdocs\catalog\install\templates\pages\install_4.php on line 152 Warning: fputs(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\CHEZ-OLABI.COM\httpdocs\catalog\install\templates\pages\install_4.php on line 153 Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\CHEZ-OLABI.COM\httpdocs\catalog\install\templates\pages\install_4.php on line 154 The installation and configuration was successful! can anyone help me with this please..! :(
multimixer Posted March 15, 2010 Posted March 15, 2010 You need to do following 1) On this 2 files /catalog/includes/configure.php /catalog/admin/includes/configure.php set the permissions to be 777 2) Run the installation again 3) Set the permissions on the files to be 644 or 444 How to set permissions? Go to your host cpanel, go to filemanager, find the file, check it and then click "change permissions" must be somewhere in the top menu area My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Guest Posted March 15, 2010 Posted March 15, 2010 Great reply... I'll try it at once..! Thank you very much!
Guest Posted March 15, 2010 Posted March 15, 2010 Dear Multimixer... done! Thank you very much for your help..!
FIMBLE Posted March 15, 2010 Posted March 15, 2010 Dear Multimixer... done! Thank you very much for your help..! Set them to read / write once installed set them to read only Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
multimixer Posted March 15, 2010 Posted March 15, 2010 As Nic said, don't forget to put the permissions back to 644 or even 444 My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Guest Posted March 15, 2010 Posted March 15, 2010 I can't make the attributes back to 644 or 444 I'm using ( PLESK PARRALELS CONTROL PANEL 8.6.0.5 ) this cpanel does not allow direct numerical attributes (only check boxes) I did my best to change the attributes to (read) but I still get the same message: Warning: I am able to write to the configuration file: D:\inetpub\vhosts\CHEZ-OLABI.COM\httpdocs\catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. I did set the right permission but still get the same warning..! Pls. help me with this as well. Thanks.
FIMBLE Posted March 15, 2010 Posted March 15, 2010 I can't make the attributes back to 644 or 444 I'm using ( PLESK PARRALELS CONTROL PANEL 8.6.0.5 ) this cpanel does not allow direct numerical attributes (only check boxes) I did my best to change the attributes to (read) but I still get the same message: Warning: I am able to write to the configuration file: D:\inetpub\vhosts\CHEZ-OLABI.COM\httpdocs\catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. I did set the right permission but still get the same warning..! Pls. help me with this as well. Thanks. Did you change both of them? Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
multimixer Posted March 15, 2010 Posted March 15, 2010 yes I did but I still get the same warning! Do you mean that you could set them to 777 but you can not set them back? Make the checkbox box to have just the first line of boxes checked, all others unchecked My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Guest Posted March 15, 2010 Posted March 15, 2010 I did not use ftp client to change permission, I changed permission by cpanel, following is a photo of the cpanel: http://chez-olabi.com/images/screenshot.2.jpg now changing back the permission does not solve the problem, ... what can I do? is there a way to set it back to 444 without using the cpanel or filezilla?
BryceJr Posted March 15, 2010 Posted March 15, 2010 I did not use ftp client to change permission, I changed permission by cpanel, following is a photo of the cpanel: http://chez-olabi.com/images/screenshot.2.jpg now changing back the permission does not solve the problem, ... what can I do? is there a way to set it back to 444 without using the cpanel or filezilla? You're on a windows based server. 644, 444, 400, etc., are chmod permissions which applies to Unix/linux based servers. Follow post #5 by Nic, aka Fimble.
♥mdtaylorlrim Posted March 15, 2010 Posted March 15, 2010 yes I did but I still get the same warning! UNCHECK the box to inherit parent permissions. Then as you highlight each line of the users, UNCHECK Full Control and Check Write DENY and Modify DENY. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
Guest Posted March 16, 2010 Posted March 16, 2010 UNCHECK the box to inherit parent permissions. Then as you highlight each line of the users, UNCHECK Full Control and Check Write DENY and Modify DENY. I just did as you say... but still getting the same warning!
Guest Posted March 16, 2010 Posted March 16, 2010 till now I tried all kinds of changing permissions.... still getting the same warning...!
♥mdtaylorlrim Posted March 16, 2010 Posted March 16, 2010 till now I tried all kinds of changing permissions.... still getting the same warning...! Then make us a new image of the configure.php file. Both of them. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
Guest Posted March 16, 2010 Posted March 16, 2010 Then make us a new image of the configure.php file. Both of them. Sorry, but could you pls. tell me how to make a new image? Tks
Guest Posted March 17, 2010 Posted March 17, 2010 Then make us a new image of the configure.php file. Both of them. I did not quite understand what you mean by making you a new image you mean you need photo of the permission page on the cpanel for both files..? here you go.. http://chez-olabi.com/images/screenshot.2.jpg http://chez-olabi.com/images/screenshot.1.jpg if this is not what you requested pls. be more specific. Tks
Guest Posted March 17, 2010 Posted March 17, 2010 I did not quite understand what you mean by making you a new image you mean you need photo of the permission page on the cpanel for both files..? here you go.. http://chez-olabi.com/images/screenshot.2.jpg http://chez-olabi.com/images/screenshot.1.jpg if this is not what you requested pls. be more specific. Tks is it possible to ignore the warning and continue using the oscommerce and setup the shop ?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.