Zen Cart Logo
Forums / Installing on a Windows Server / connection re-set after database install section(with wamp)

connection re-set after database install section(with wamp)

Locked

Views: 2,359

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Oct 2009, 10:45 AM
#1
jax23 avatar

jax23

New Zenner

Join Date:
Oct 2009
Posts:
4
Plugin Contributions:
0

connection re-set after database install section(with wamp)

Im trying to install zen cart 2 on wamp server 2, locally just for testing, have set my password on wamp and created the database. And all the checks for zen cart come up with a tick, php etc

http host is localhost but on install I get a message: apache HTTP server stopped working and was closed?

anyone any ideas where I should begin to resolve this? Im new to this but can follow instructions correctly.

I have looked at your FAQ and other posts and posed on the wamp site.

let me know if you need more info

thanks

17 Oct 2009, 12:33 PM
#2
jax23 avatar

jax23

New Zenner

Join Date:
Oct 2009
Posts:
4
Plugin Contributions:
0

Re: connection re-set after database install section(with wamp)

Just to add this:
config code, it didnt mention in the install zen cart instructions to add my server password or database name to this, I tried it though and it still didnt work. the database I am using is a downloaded one for testing, does it matter how many tables it has? there was no info (in zen installation instructions) on what the tables and data should be like for the shopping cart, could this be my problem?

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'root');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', '');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db'); 
// use 'db' for best support, or '' for file-based storage
17 Oct 2009, 1:08 PM
#3
jax23 avatar

jax23

New Zenner

Join Date:
Oct 2009
Posts:
4
Plugin Contributions:
0

Re: connection re-set after database install section(with wamp)

also wamp uses a cpannel (just been looking at the create database tutorial) and wamp doesnt seem to have a mysql option as such for databases, it already has a mysql database, I've tried also to point to that, when installing, but it still disconnects after adding databse info.

also it doesnt allow a seperate password for the databases Ive created, they all seem to be governed by the root user name and password, when I look at permissions for the databases all are allowed.

17 Oct 2009, 3:24 PM
#4
jax23 avatar

jax23

New Zenner

Join Date:
Oct 2009
Posts:
4
Plugin Contributions:
0

Re: connection re-set after database install section(with wamp)

one more thing to add:

when I try and go to my localhost page from wamp rather than starting the z cart install it says.....

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\wamp\www\catalog\zc_install\includes\application_top.php on line 22

anyone any ideas, please, I feel Im pretty close?

18 Oct 2009, 4:56 AM
#5
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: connection re-set after database install section(with wamp)

Does your WAMP Server use PHP 5.3?

Zen Cart v1.3.8a and earlier will not work with that PHP version.