Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with installation


thedarkpassenger

Recommended Posts

Posted

Hi,

 

I've installed OSC at least a dozen other times on different websites, but this one website I am having trouble with. My website is www.statmart.com.au and the osc store is located at www.statmart.com.au/catalog/

 

After the last step of my installation, after inputting my host info and sql info, I get this message:

Warning: fopen(e:/inetpub/esvc001464/catalog/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in e:\inetpub\esvc001464\catalog\install\templates\pages\install_4.php on line 116

 

Warning: fputs(): supplied argument is not a valid stream resource in e:\inetpub\esvc001464\catalog\install\templates\pages\install_4.php on line 117

 

Warning: fclose(): supplied argument is not a valid stream resource in e:\inetpub\esvc001464\catalog\install\templates\pages\install_4.php on line 118

 

Warning: fopen(e:/inetpub/esvc001464/catalog/admin/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in e:\inetpub\esvc001464\catalog\install\templates\pages\install_4.php on line 152

 

Warning: fputs(): supplied argument is not a valid stream resource in e:\inetpub\esvc001464\catalog\install\templates\pages\install_4.php on line 153

 

Warning: fclose(): supplied argument is not a valid stream resource in e:\inetpub\esvc001464\catalog\install\templates\pages\install_4.php on line 154

 

The installation and configuration was successful!

 

 

Perhaps I am entering the wrong information in the host page? I suspect the Webserver Root Directory, which I entered "http://www.statmart.com.au" and the WWW Address, which I entered "/" is entered is wrong? Any help would be greatly appreciated. thanks!

Posted

Hi,

 

I've installed OSC at least a dozen other times on different websites, but this one website I am having trouble with. My website is www.statmart.com.au and the osc store is located at www.statmart.com.au/catalog/

 

After the last step of my installation, after inputting my host info and sql info, I get this message:

Warning: fopen(e:/inetpub/esvc001464/catalog/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in e:\inetpub\esvc001464\catalog\install\templates\pages\install_4.php on line 116

 

Warning: fputs(): supplied argument is not a valid stream resource in e:\inetpub\esvc001464\catalog\install\templates\pages\install_4.php on line 117

Considering the error output above I get the feeling that PHP either can't find the file, or that it isn't writable by the webserver.

 

 

Perhaps I am entering the wrong information in the host page? I suspect the Webserver Root Directory, which I entered "http://www.statmart.com.au" and the WWW Address, which I entered "/" is entered is wrong? Any help would be greatly appreciated. thanks!

I imagine if you are installing this in a subdirectory of your hosting then:-

 

Webserver Root Directory should be: /catalog/

 

and

 

WWW address should be: http://www.statmart.com.au/catalog/

 

 

On my own Linux box I have at least one working osCommerce install that isn't at the web root for the domain name, and in .../includes/configure.php I can find the following:-

 

 

  define('HTTP_SERVER', 'http://'.$_SERVER['SERVER_NAME']); // eg, http://localhost - should not be empty for
...
 define('DIR_WS_HTTP_CATALOG', '/eshop/');

 

Apart from the errors you reported your host seems to be presenting a load of green ticks at the start of the install, so I would suspect the problem is in URL and WWW address.

 

Maybe you should try your input in reverse?

 

Don't forget to post back when you have resolved the problem, and let us all know just how you did it.

 

Good luck!

LABBS Web Services

Archived

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

×
×
  • Create New...