Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warnings after installation


oaker

Recommended Posts

Get these warnings after installation. I have no clue. Could someone help?

 

Warning: fopen(c:/inetpub/wwwroot/oscommerce/catalog/includes/configure.php): failed to open stream: Permission denied in c:inetpubwwwrootoscommercecataloginstalltemplatespagesinstall_5.php on line 114

 

Warning: fputs(): supplied argument is not a valid stream resource in c:inetpubwwwrootoscommercecataloginstalltemplatespagesinstall_5.php on line 115

 

Warning: fclose(): supplied argument is not a valid stream resource in c:inetpubwwwrootoscommercecataloginstalltemplatespagesinstall_5.php on line 116

 

Warning: fopen(c:/inetpub/wwwroot/oscommerce/catalog/admin/includes/configure.php): failed to open stream: Permission denied in c:inetpubwwwrootoscommercecataloginstalltemplatespagesinstall_5.php on line 164

 

Warning: fputs(): supplied argument is not a valid stream resource in c:inetpubwwwrootoscommercecataloginstalltemplatespagesinstall_5.php on line 165

 

Warning: fclose(): supplied argument is not a valid stream resource in c:inetpubwwwrootoscommercecataloginstalltemplatespagesinstall_5.php on line 166

Link to comment
Share on other sites

I believe that this is an indication that you have not changed the permissions on the appropriate files prior to running the install script

 

Prior to install:

chmod 777 /catalog/includes/configure.php

chmod 777 /catalog/admin/includes/configure.php

chmod 777 /catalog/images

 

After install:

chmod 644 /catalog/includes/configure.php

chmod 644 /catalog/admin/includes/configure.php

Link to comment
Share on other sites

On windows, replace 777 with Read/Write and 644 with Read Only for the user account that IIS uses. If that doesn't work, try Full Control to Everyone during the install and downgrade to Read Only afterward. Remember that you have to change permissions in both Security and Sharing.

 

Good luck,

Matt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...