kanchan Posted June 6, 2007 Posted June 6, 2007 Hello All, while installing the oscommerce I am getting no. of warnings like Warning: fopen(c:/inetpub/wwwroot/oscommerce/catalog/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 209 Warning: fputs(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 210 Warning: fclose(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 211 Warning: fopen(c:/inetpub/wwwroot/oscommerce/catalog/admin/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 259 Warning: fputs(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 260 Warning: fclose(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 261 With the message The configuration was successful! And when I execute the file "http://localhost/oscommerce/catalog/admin/index.php" I got the following error 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration Please help me out. Your help will be highly appriciated. Thanks in advance
nabilbk Posted June 7, 2007 Posted June 7, 2007 Hello All, while installing the oscommerce I am getting no. of warnings like Warning: fopen(c:/inetpub/wwwroot/oscommerce/catalog/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 209 Warning: fputs(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 210 Warning: fclose(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 211 Warning: fopen(c:/inetpub/wwwroot/oscommerce/catalog/admin/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 259 Warning: fputs(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 260 Warning: fclose(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\oscommerce\catalog\install\templates\pages\install_7.php on line 261 With the message The configuration was successful! And when I execute the file "http://localhost/oscommerce/catalog/admin/index.php" I got the following error 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration Please help me out. Your help will be highly appriciated. Thanks in advance hey, i have the same problem , did you find out how to fix it??
spax Posted June 7, 2007 Posted June 7, 2007 You need to make the configure files writable. On an Apache server you just use CHMOD and set permissions to 777 for the duration of the install, returning them to 644 or 444 after. Unfortunately, that is no good for Windows so you either have to find an option from your control panel or get your host to do it for you. You could try downloading them, uncheck the Read Only attribute and upload them again. I doubt that would work but, nothing ventured - nothing gained! Or download them, uncheck Read Only and manually enter the information, then upload them.
lieuvd Posted June 15, 2007 Posted June 15, 2007 You need to make the configure files writable. On an Apache server you just use CHMOD and set permissions to 777 for the duration of the install, returning them to 644 or 444 after. Unfortunately, that is no good for Windows so you either have to find an option from your control panel or get your host to do it for you. You could try downloading them, uncheck the Read Only attribute and upload them again. I doubt that would work but, nothing ventured - nothing gained! Or download them, uncheck Read Only and manually enter the information, then upload them. i'll uncheck , but don't affected
Recommended Posts
Archived
This topic is now archived and is closed to further replies.