Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: fopen


kaotX

Recommended Posts

Posted

Hi...

 

After install, i get this error:

 

Finished!

 

Warning: fopen(D:/Inetpub/webs/[my_page]/catalog/includes/configure.php): failed to open stream: Permission denied in D:\Inetpub\webs\[my_page]\catalog\install\templates\pages\install_4.php on line 116

 

Warning: fputs(): supplied argument is not a valid stream resource in D:\Inetpub\webs\[my_page]\catalog\install\templates\pages\install_4.php on line 117

 

Warning: fclose(): supplied argument is not a valid stream resource in D:\Inetpub\webs\[my_page]\catalog\install\templates\pages\install_4.php on line 118

 

Warning: fopen(D:/Inetpub/webs/[my_page]/catalog/admin/includes/configure.php): failed to open stream: Permission denied in D:\Inetpub\webs\[my_page]\catalog\install\templates\pages\install_4.php on line 152

 

Warning: fputs(): supplied argument is not a valid stream resource in D:\Inetpub\webs\[my_page]\catalog\install\templates\pages\install_4.php on line 153

 

Warning: fclose(): supplied argument is not a valid stream resource in D:\Inetpub\webs\[my_page]\catalog\install\templates\pages\install_4.php on line 154

 

The installation and configuration was successful!

 

On line 116, 117, 118:

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

fputs($fp, $file_contents);

fclose($fp);

 

On line 152, 153, 154:

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

fputs($fp, $file_contents);

fclose($fp);

 

The file configure.php file have 777 permission.

 

How can i fix this problem?

Posted

In Windows Server i can't change permissions...

 

I have this folder:

 

cartelle.png

Archived

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

×
×
  • Create New...