Help - Search - Members - Calendar
Full Version: Install screen error
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
Mike Handley
Fresh install with empty mysql
Install screen comes up and looks normal except this is also on the screen

Warning: Unknown(): open(/var/php_sessions/sess_3139e83c1ee5f5cfacfca62e600bd964, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

The first time I didn't notice, went through the whole install and got more errors something about wrong path on line 45 several times and on line 47 once.

I deleted all files, had my host clear the mysql, did a fresh up load and got the errors above on the first screen.

Any helpfull hints?
Mike
frymasterspeck
I have an identical error on installation. I also have errors on my /store/ page and cannot access /store/admin/ after 'successful' installation. Below is complete error messages from my installation screens and subsequent screens.

Errors running CubeCart Install Script

Step 1
Warning: Unknown(): open(/var/php_sessions/sess_6f7e7ed41c7b7b4a4ab3079358a9542d, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

Step 2
Warning: Unknown(): open(/var/php_sessions/sess_6f7e7ed41c7b7b4a4ab3079358a9542d, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

Step 3
Warning: Unknown(): open(/var/php_sessions/sess_6f7e7ed41c7b7b4a4ab3079358a9542d, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

Step 4
Warning: Unknown(): open(/var/php_sessions/sess_6f7e7ed41c7b7b4a4ab3079358a9542d, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

Step 5-Complete
Warning: Unknown(): open(/var/php_sessions/sess_6f7e7ed41c7b7b4a4ab3079358a9542d, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

store/admin/
Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_4310498f67379415be26b9ffa5a6524f, O_RDWR) failed: No such file or directory (2) in /hermes/web05/b1039/pow.elementsus/htdocs/store/admin/includes/auth.inc.php on line 45

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/web05/b1039/pow.elementsus/htdocs/store/admin/includes/auth.inc.php:45) in /hermes/web05/b1039/pow.elementsus/htdocs/store/admin/includes/auth.inc.php on line 45

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/web05/b1039/pow.elementsus/htdocs/store/admin/includes/auth.inc.php:45) in /hermes/web05/b1039/pow.elementsus/htdocs/store/admin/includes/auth.inc.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /hermes/web05/b1039/pow.elementsus/htdocs/store/admin/includes/auth.inc.php:45) in /hermes/web05/b1039/pow.elementsus/htdocs/store/admin/includes/auth.inc.php on line 49

Warning: Unknown(): open(/var/php_sessions/sess_4310498f67379415be26b9ffa5a6524f, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

At /store/
Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_01a620baa998042e1ec02f2ee6c755e0, O_RDWR) failed: No such file or directory (2) in /hermes/web05/b1039/pow.elementsus/htdocs/store/includes/sessionStart.inc.php on line 40

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/web05/b1039/pow.elementsus/htdocs/store/includes/sessionStart.inc.php:40) in /hermes/web05/b1039/pow.elementsus/htdocs/store/includes/sessionStart.inc.php on line 40

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/web05/b1039/pow.elementsus/htdocs/store/includes/sessionStart.inc.php:40) in /hermes/web05/b1039/pow.elementsus/htdocs/store/includes/sessionStart.inc.php on line 40

Warning: Cannot modify header information - headers already sent by (output started at /hermes/web05/b1039/pow.elementsus/htdocs/store/includes/sessionStart.inc.php:40) in /hermes/web05/b1039/pow.elementsus/htdocs/store/includes/session.inc.php on line 96


Warning: Unknown(): open(/var/php_sessions/sess_01a620baa998042e1ec02f2ee6c755e0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
Arild
it look like uncorrect php settings on server, not allowing you to write to the setup php folder.

You may be able to change some of thes settings in htaccess, but i dont know the correct syntax here.

At least you could take it up with your hosts support.
frymasterspeck
Indeed.

I found the comment below in this thread on my host's support forum. The migration they refer to occured over the summer.

I'm gonna try to modify php.ini.

QUOTE
I had the same problem installing CubeCart. CubeCart was supported on the old platform but I was told it would not be supported on the new platform although we could use it but must go to CubeCart for any support issues. After countless attempts and searching there appears to be two main solutions (outside of having PowWeb support chmod the /var/php_sessions folder to 777) as outlined by selectaspecial above to the /var/php_sessions issue.
1. Modify the scripts.
2. Modify the php.ini.
The 2nd option is very easy and only takes a minute.
We shouldn't have to modify scripts for an off-the-shelf php package to get it to install or even our own scripts for that matter. A member on the CubeCart forum modified CubeCart and it required changing 20-25 scripts. This would have to be performed each time he upgrades CubeCart as well!


selectaspecial's php.ini fix:

QUOTE
2. Play with PHP.ini: you still have to create a folder.
- Log in to your account -> Main -> CGI Management -> PHP Scripting.
- Set the version of PHP you use.
- Click on edit then copy all the content of PHP.ini to Notepad.
- Search for session.save_path in notepad and set it to your folder location.
- Copy all back to edit textarea.
- Click save and you're done.

Remember to chmod your folder to 766 or 777

Good luck.
frymasterspeck
FWIW,

In Powweb's server structure, they automatically create a folder called 'phpsessions' at the same level as the public 'htdocs'

Changing the php.ini couldn't have been easier.
Mike Handley
Well I got my answer too. after several emails from a helpful cubecart guy. It turned out to be a settings issue on the host ( FatCow ). The first tech kind of gave me the run around. The second tech couldn't figure out why the first tech didn't just change the setting. Apparently it is something that is not accessable to me, not that I would have had a clue what to do.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.