Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation problem


neoba

Recommended Posts

Posted

Hi I'm quite new to this and would be sooo grateful if anyone can shed some light on my problem. I have completed the installation process up to step 4, but have a list of the following warnings:

 

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

Warning: fputs(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\sparkleglass.com\httpdocs\catalog\install\templates\pages\install_4.php on line 117

Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\sparkleglass.com\httpdocs\catalog\install\templates\pages\install_4.php on line 118

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

Warning: fputs(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\sparkleglass.com\httpdocs\catalog\install\templates\pages\install_4.php on line 153

Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\sparkleglass.com\httpdocs\catalog\install\templates\pages\install_4.php on line 154

The installation and configuration was successful!

 

Also when I click to go to the catalog, I am taken to step one of the installation again... and when pressing the "Administration Tool" button I am taken to admin/index.php and given the following error:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql'@'localhost' (using password: NO) in D:\inetpub\vhosts\sparkleglass.com\httpdocs\catalog\admin\includes\functions\database.php on line 19
Unable to connect to database server!

 

Anyone had a similar problem?

 

Neoba

Posted
your site looks like its working fine

 

My main website is working fine, but im trying to play around with this in a seperate folder, its in the catalog folder on the root, and is not working. After the installation it says it has been successful, but I get an error on the admin page, and get returned to the first installation page when trying to view the catalog.

 

Neoba

Posted
says permission denied.

 

does it ask you to have certain folders writable?

 

Well from research I know that the write permissions on "includes/configure.php" and "admin/includes/configure.php" need to be set to 777, for read write and execute, checked this using filezilla and they are set to "xxx" and if I try to set them to 777 i get "Response: 500 'SITE CHMOD 777 configure.php': command not understood" :(

 

Neoba

  • 2 months later...
Posted

I'm having a similar problem with my install on IIS. Everything goes well until Step 4, when I receive the following errors.

 

Warning: fopen(C:/home/__StagingSites/saffron.2gen.net/website/docs/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in C:\home\__StagingSites\saffron.2gen.net\website\docs\install\templates\pages\install_4.php on line 116

Warning: fputs(): supplied argument is not a valid stream resource in C:\home\__StagingSites\saffron.2gen.net\website\docs\install\templates\pages\install_4.php on line 117

Warning: fclose(): supplied argument is not a valid stream resource in C:\home\__StagingSites\saffron.2gen.net\website\docs\install\templates\pages\install_4.php on line 118

Warning: fopen(C:/home/__StagingSites/saffron.2gen.net/website/docs/admin/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in C:\home\__StagingSites\saffron.2gen.net\website\docs\install\templates\pages\install_4.php on line 152

Warning: fputs(): supplied argument is not a valid stream resource in C:\home\__StagingSites\saffron.2gen.net\website\docs\install\templates\pages\install_4.php on line 153

Warning: fclose(): supplied argument is not a valid stream resource in C:\home\__StagingSites\saffron.2gen.net\website\docs\install\templates\pages\install_4.php on line 154

 

Clicking on Administration Tool gives me the following error.

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql'@'localhost' (using password: NO) in C:\home\__StagingSites\saffron.2gen.net\website\docs\admin\includes\functions\database.php on line 19
Unable to connect to database server!

 

If I click Catalog, I'm taken back to the initial install screen. I've checked "includes/configure.php" and "admin/includes/configure.php" and both are set to 777.

 

Has anyone found a solution to this yet?

Posted

Ok, found it. The includes/ and admin/includes/ directories need to have the permissions set for the Internet Guest Account in IIS. Right click on the folder, select Sharing and security, then select the Internet Guest Account and allow.

  • 1 month later...
Posted

Hi all,

 

Sorry to hijack this thread, faced this problem;

 

<quote>

Warning: session_start() [function.session-start]: open(/tmp\sess_6d799f9379ed3cb66af1fd42f63f6bdf, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\includes\functions\sessions.php on line 102

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\includes\functions\sessions.php:102) in C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\includes\functions\sessions.php on line 102

 

Warning: session_write_close() [function.session-write-close]: open(/tmp\sess_6d799f9379ed3cb66af1fd42f63f6bdf, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\includes\functions\sessions.php on line 157

 

Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\includes\functions\sessions.php on line 157

</quote>

 

I can see the default store layout but i saw the above messages. Anyone able to explain where went wrong?

 

Thanks!

Posted

Hi all,

 

Sorry to hijack this thread, faced this problem;

 

<quote>

Warning: session_start() [function.session-start]: open(/tmp\sess_6d799f9379ed3cb66af1fd42f63f6bdf, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\includes\functions\sessions.php on line 102

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\includes\functions\sessions.php:102) in C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\includes\functions\sessions.php on line 102

 

Warning: session_write_close() [function.session-write-close]: open(/tmp\sess_6d799f9379ed3cb66af1fd42f63f6bdf, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\includes\functions\sessions.php on line 157

 

Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\includes\functions\sessions.php on line 157

</quote>

 

I can see the default store layout but i saw the above messages. Anyone able to explain where went wrong?

 

Thanks!

In your /includes/configure.php file make it like this

 

define('STORE_SESSIONS', 'mysql');

 

AND

 

Create a folder in your root directory(httpdocs) call it "tmp_folder".

Log in to your oscommerce admin panel >>configuration >>sessions ->session directory -> C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\tmp_folder

 

Make sure you give it proper permissions.

Posted

In your /includes/configure.php file make it like this

 

define('STORE_SESSIONS', 'mysql');

 

AND

 

Create a folder in your root directory(httpdocs) call it "tmp_folder".

Log in to your oscommerce admin panel >>configuration >>sessions ->session directory -> C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\tmp_folder

 

Make sure you give it proper permissions.

 

thanks BryceJr! Managed to solved the warnings but i'm faced with another issue;

 

the default store no longer display the images. Is it due to the directory? My webstore files are directly located in the httpdocs folder,

and not under catalog folder (default).

 

TIA! :)

Posted

thanks BryceJr! Managed to solved the warnings but i'm faced with another issue;

 

the default store no longer display the images. Is it due to the directory? My webstore files are directly located in the httpdocs folder,

and not under catalog folder (default).

 

TIA! :)

Open your /includes/configure.php file

 

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

define('DIR_FS_CATALOG', 'C:\Inetpub\vhosts\domain\subdomain\store\httpdocs\');

--OR--

define('DIR_FS_CATALOG', 'C:/Inetpub/vhosts/domain/subdomain/store/httpdocs/');

 

::not much familiar with windows based servers:: :(

Archived

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

×
×
  • Create New...