Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Probem with Install_7 that isn't permission related


staker2

Recommended Posts

Hi There:

 

When I get to Step 7 I get the following error:

 

Warning: fopen(/ShoppingCart/catalog/admin/includes/configure.php): failed to open stream: No such file or directory in /usr/var/nas/home/www-sun-mar-com/.public_html/ShoppingCart/catalog/install/templates/pages/install_7.php on line 209

 

Warning: fputs(): supplied argument is not a valid stream resource in /usr/var/nas/home/www-sun-mar-com/.public_html/ShoppingCart/catalog/install/templates/pages/install_7.php on line 210

 

Warning: fclose(): supplied argument is not a valid stream resource in /usr/var/nas/home/www-sun-mar-com/.public_html/ShoppingCart/catalog/install/templates/pages/install_7.php on line 211

 

Warning: fopen(/ShoppingCart/catalog/admin/includes/configure.php): failed to open stream: No such file or directory in /usr/var/nas/home/www-sun-mar-com/.public_html/ShoppingCart/catalog/install/templates/pages/install_7.php on line 259

 

Warning: fputs(): supplied argument is not a valid stream resource in /usr/var/nas/home/www-sun-mar-com/.public_html/ShoppingCart/catalog/install/templates/pages/install_7.php on line 260

 

Warning: fclose(): supplied argument is not a valid stream resource in /usr/var/nas/home/www-sun-mar-com/.public_html/ShoppingCart/catalog/install/templates/pages/install_7.php on line 261

 

Given what the error is saying, I am fairly sure that there is a file path problem in configure.php (unless someone else has a better idea). Can you tell me where the problem may be located (ie which directory is effed up?).

 

Thanks in advance and happy holidays!

 

--Staker 2

Link to comment
Share on other sites

It's odd to see a public_html folder begin with a dot (period) before it. In fact I've never seen that used before. You may want to check that out with your hosts.

 

If it's not that then it does look to be a permissions issue. It can either be the permissions on the folders (which should be 755 or 777) and/or a problem with permissions on the admin/includes/configure.php file - which needs to be 777 for the duration of the install (and reset afterwards to 644, 444, or 440 depending on the server setup).

 

All other files should normally be 644.

 

Vger

Link to comment
Share on other sites

  • 2 weeks later...

Each file or folder has a certain level of 'permissions' (what access is granted to that file/folder) for Owner, Group and Other. Permissions can be in the form of tick boxes below those headings (Read, Write, Execute), or can be a box into which you enter the numbers attached to those permissions - or both options.

 

For instance 755 = Read, Write and Execute for Owner, but only Read and Execute for Group and Other, while 777 is Read, Write and Execute for all of them. 644 is Read and Write (but not Execute) for the Owner and just Read for Group and Others.

 

For someone new to osCommerce it is probably best to use the File Manager in your Web Hosting Control Panel to set permissions with.

 

Vger

Link to comment
Share on other sites

thanx for your fast reply.

 

my databas is on an unixserver. I changed the permission to 777 throught flashfxp, and still get the same error, why is that?

 

 

Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid/gid is 143653/143653 is not allowed to access /hsphere/local/home owned by uid/gid 0/0 in /hsphere/local/home/accessie/accessie.se/catalog/install/templates/pages/install_7.php on line 209

 

Warning: fopen(/hsphere/local/home/accessie\includes/configure.php): failed to open stream: No such file or directory in /hsphere/local/home/accessie/accessie.se/catalog/install/templates/pages/install_7.php on line 209

 

Warning: fputs(): supplied argument is not a valid stream resource in /hsphere/local/home/accessie/accessie.se/catalog/install/templates/pages/install_7.php on line 210

 

Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/accessie/accessie.se/catalog/install/templates/pages/install_7.php on line 211

 

Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid/gid is 143653/143653 is not allowed to access /hsphere/local/home owned by uid/gid 0/0 in /hsphere/local/home/accessie/accessie.se/catalog/install/templates/pages/install_7.php on line 259

 

Warning: fopen(/hsphere/local/home/accessie\admin/includes/configure.php): failed to open stream: No such file or directory in /hsphere/local/home/accessie/accessie.se/catalog/install/templates/pages/install_7.php on line 259

 

Warning: fputs(): supplied argument is not a valid stream resource in /hsphere/local/home/accessie/accessie.se/catalog/install/templates/pages/install_7.php on line 260

 

Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/accessie/accessie.se/catalog/install/templates/pages/install_7.php on line 261

Link to comment
Share on other sites

well, I now have changed configure.php manually. The last line for session storage I want it to be database instead of files, is 'mysql' right or should I right 'database'?

 

define('STORE_SESSIONS', 'mysql')

 

 

Anyway... Now I can see the blue table with all the links like configurations, links ect... but when I click them I only get page can not be found. And above everyting I have 3 error messages. How do I fix this??

 

Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid/gid is 143653/143653 is not allowed to access owned by uid/gid 0/0 in /hsphere/local/home/accessie/accessie.se/catalog/admin/includes/functions/sessions.php on line 110

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /hsphere/local/home/accessie/accessie.se/catalog/admin/includes/functions/sessions.php:110) in /hsphere/local/home/accessie/accessie.se/catalog/admin/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/accessie/accessie.se/catalog/admin/includes/functions/sessions.php:110) in /hsphere/local/home/accessie/accessie.se/catalog/admin/includes/functions/sessions.php on line 67

Link to comment
Share on other sites

I fixed it!!! I coundn't access admin pages because I hadn't activate oscommerce in my webhotel config. Who knew, Me founding it was just a stroke of luck!

 

And I got rid of the error messages by setting the path to the 'tmp' folder to just 'tmp' as you said in another topic.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...