CubeCart Forums: Install screen error - CubeCart Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Install screen error errors on install screen 1

#1 User is offline   Mike Handley 

  • Group: Members
  • Posts: 2
  • Joined: 03-November 06

Posted 16 November 2006 - 02:07 AM

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
0

#2 User is offline   frymasterspeck 

  • Group: Members
  • Posts: 5
  • Joined: 27-October 06

Posted 20 November 2006 - 03:13 PM

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
0

#3 User is offline   Arild 

  • Group: Members
  • Posts: 168
  • Joined: 02-August 06

Posted 20 November 2006 - 03:17 PM

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.
0

#4 User is offline   frymasterspeck 

  • Group: Members
  • Posts: 5
  • Joined: 27-October 06

Posted 20 November 2006 - 03:45 PM

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.

0

#5 User is offline   frymasterspeck 

  • Group: Members
  • Posts: 5
  • Joined: 27-October 06

Posted 20 November 2006 - 04:47 PM

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.
0

#6 User is offline   Mike Handley 

  • Group: Members
  • Posts: 2
  • Joined: 03-November 06

Posted 26 November 2006 - 01:11 AM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users