Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Installation Warning Messages


Guest

Recommended Posts

Hello All,

 

I've tried searching these error messages in the forum but haven't found them. I'm hoping there will be a simple solution to the problem.

 

Error Messages:

 

New Installation

 

osCommerce Configuration

 

 

Warning: fopen(/home/uproaren/public_html/catalog/includes/configure.php): failed to open stream: Permission denied in /home/uproaren/public_html/catalog/install/templates/pages/install_7.php on line 209

 

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

 

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

 

Warning: fopen(/home/uproaren/public_html/catalog/admin/includes/configure.php): failed to open stream: Permission denied in /home/uproaren/public_html/catalog/install/templates/pages/install_7.php on line 259

 

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

 

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

The configuration was successful!

 

Any ideas?

Link to comment
Share on other sites

I think that indicates the 2 configure.php files weren't writable, during the installation process. Set their permissions to 755 and run the installer again. After installation is complete, delete the install directory and re-set their permissions to 644 or 444.....whatever works on your server!

 

Incase you aren't sure, you can change permissions on a *nix setup via FTP. Just right-click on the file, select permissions or CHMOD and change as stated.

 

For a Windows server, you need to do that via your file manager. Or you can get your host to do it for you.

Link to comment
Share on other sites

I think that indicates the 2 configure.php files weren't writable, during the installation process. Set their permissions to 755 and run the installer again. After installation is complete, delete the install directory and re-set their permissions to 644 or 444.....whatever works on your server!

 

Incase you aren't sure, you can change permissions on a *nix setup via FTP. Just right-click on the file, select permissions or CHMOD and change as stated.

 

For a Windows server, you need to do that via your file manager. Or you can get your host to do it for you.

 

Nope. That didn't fix it. Changed permissions of : catalog/includes/configure.php and ctalog/admin/includes/configure.php to 777. I still get all of the error messages.

 

When I look into the install_7.php page and view the lines specified the are:

$fp = fopen($dir_fs_document_root . 'includes/configure.php', 'w');

fputs($fp, $file_contents);

fclose($fp);

 

and

 

$fp = fopen($dir_fs_document_root . 'admin/includes/configure.php', 'w');

fputs($fp, $file_contents);

fclose($fp);

 

So, your solution should have worked. Does anyone have more ideas?

 

Aaron

Link to comment
Share on other sites

You can also try deleting the two online configure.php files. In theory, all being well, it should create them for you during the install if it does not find any already. Make sure that you delete the two 'local' folders:

includes/local/

admin/includes/local/

 

If it doesn't work then you can just upload the default configure.php files from the copy of the osCommerce 'catalog' folder you downloaded to your computer.

 

Vger

Link to comment
Share on other sites

You can also try deleting the two online configure.php files. In theory, all being well, it should create them for you during the install if it does not find any already. Make sure that you delete the two 'local' folders:

includes/local/

admin/includes/local/

 

If it doesn't work then you can just upload the default configure.php files from the copy of the osCommerce 'catalog' folder you downloaded to your computer.

 

Vger

I'll be damned .... NOTHING has worked. Getting a little perturbed. Same messages. I installed osCommerce before for someone else and it went smoothly. Grrr.

Link to comment
Share on other sites

I'll be damned .... NOTHING has worked. Getting a little perturbed. Same messages. I installed osCommerce before for someone else and it went smoothly. Grrr.

If someone would be interested in helping with this install I could pay in trade (design work). If I had any cash I'd pay that, but I don't so I can't.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...