Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"failed to open stream" error while installing


Guest

Recommended Posts

Posted

I went through the steps to install and at first I had a CMOD error but then I went in and changed the permissions on the files and tried again. This time I'm getting the following errors:

 

New Installation

 

osCommerce Configuration

 

Warning: fopen(/usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/includes/configure.php): failed to open stream: Permission denied in /usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/install/templates/pages/install_7.php on line 209

 

Warning: fputs(): supplied argument is not a valid stream resource in /usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/install/templates/pages/install_7.php on line 210

 

Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/install/templates/pages/install_7.php on line 211

 

Warning: fopen(/usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/admin/includes/configure.php): failed to open stream: Permission denied in /usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/install/templates/pages/install_7.php on line 259

 

Warning: fputs(): supplied argument is not a valid stream resource in /usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/install/templates/pages/install_7.php on line 260

 

Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/install/templates/pages/install_7.php on line 261

The configuration was successful!

 

Any idea what's going wrong here? Did I miss changing the permissions on something?

Posted

PHP/Apache must be able to write to

 

/usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/includes/configure.php

 

which on some servers means setting read/write for everyone.

Contributions

 

Discount Coupon Codes

Donations

Posted
PHP/Apache must be able to write to

 

/usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/includes/configure.php

 

which on some servers means setting read/write for everyone.

I've set the permissions on that file to 777. I'm still getting the errors though.

Posted
failed to open stream: Permission denied

 

Permission denied. Normally this means just that, and other restrictions, such as open_basedir and the like, generate a different warning. Check that you really have changed permissions like you think.

Contributions

 

Discount Coupon Codes

Donations

Posted

I just logged in through WinSCP (kind of like FTP I'm told). Path is : /usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/includes and next to configure.php is rwxrwxrwx. :s Maybe I'll just delete everything and try again tomorrow, rather than at 4pm.

Posted
I just logged in through WinSCP (kind of like FTP I'm told). Path is : /usr/local/www/hosts/rrtest.datastore.com/site/bensepilates/catalog/includes and next to configure.php is rwxrwxrwx. :s Maybe I'll just delete everything and try again tomorrow, rather than at 4pm.

 

All this is doing is setting configure variables, most of which you know because you just typed them into the installer. You can edit the two files manually to save time.

Contributions

 

Discount Coupon Codes

Donations

Archived

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

×
×
  • Create New...