Help - Search - Members - Calendar
Full Version: Install from localhost to web server
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
user65
Hello,

First off thanks for all the support. I appreciate all the help everyone provides here.

I am having an issue when transferring my store to a web server. I have attempted to transfer the store directly over, and had issues there so I read that it was recommended to start from scratch.

I uploaded an entire new copy of cube cart and got through to section 3. I filled out all the info as I have created on my web servers end. I am unsure if localhost is still the hostname or not since it is through a web server (this could be my first issue).

I get the following error while proceeding to step 4:

MySQL Error Occured
2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)


Warning: Unknown(): open(/var/php_sessions/sess_c3732cd04863d42c3f42d0d65350e7af, 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

I deleted and recreated my mysql database verified all the correct settings. I even changed my hostname over to user65.powwebmysql.com and I get the same error but states that its an unknown host.

I attempted a second time and verified my settings and was able to complete step 4 but when visiting the home page I get the following at the top of each page:

Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_dd2cc6c29f48f0b5321811eb31b7051e, O_RDWR) failed: No such file or directory (2) in /hermes/web05/b1445/pow.user65/htdocs/includes/sessionStart.inc.php on line 39

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

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

Warning: Cannot modify header information - headers already sent by (output started at /hermes/web05/b1445/pow.user65/htdocs/includes/sessionStart.inc.php:39) in /hermes/web05/b1445/pow.user65/htdocs/includes/session.inc.php on line 95


I am a little lost at this point as I have done everything that I've done on my normal at home server and it worked fine here. Is there a setting that may have to be turned on with my web server?

Thanks again for all the help.
user65
With no responses i went ahead and started with a scratch install. Upon step 3 after adjusting the pear/tmp folder to 777 I get the following warnings at the bottom of the screen:


Warning: Unknown(): open(/var/php_sessions/sess_c3732cd04863d42c3f42d0d65350e7af, 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



I can continue through the steps but I have the same error at the bottom of the page. I have a feeling this is what is stopping me but I don't know what to fix in this case.

After clicking Continue to Step 4 I get the following message:

MySQL Error Occured
2005: Unknown MySQL server host 'user65.powwebmysql.com ' (1)


Warning: Unknown(): open(/var/php_sessions/sess_c3732cd04863d42c3f42d0d65350e7af, 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


So I go back and the only thing I change is add www. to my web store address. It goes to the next page and shows a complete installation but with the errors at the bottom of the screen. Is there some file that I'm missing? I'm a little lost and just need some guidance. I am deleting the install directory but I get errors at the tops and bottoms of my store page.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.