Forums / Installing on a Linux/Unix Server / Installing on localhost: DB problem

Installing on localhost: DB problem

Locked

Started by todoonada on 19 Oct 2009, 3:34 AM · Views: 2,638

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 Oct 2009, 3:34 AM
#1
todoonada avatar

todoonada

Zen Follower

Join Date:
Nov 2006
Posts:
127
Plugin Contributions:
0

Installing on localhost: DB problem

I installed Zen Cart many times on my local machine under Lampp before.
I recently upgraded to Jaunty. Installed Lampp, which runs fine. When I try to install Zen Cart, the installation process always stops after I input my db-data. The page ist zc_install/index.php?main_page=database_setup. Opera tells me that this site is not available.
DB exists, password is correct. I have no idea what it could be. Never had this problem before.
Somebody got any idea?

28 Oct 2009, 11:56 PM
#2
pquery avatar

pquery

New Zenner

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

Re: Installing on localhost: DB problem

Have you at least checked your services to make sure that your apache (or apache 2) is running?

then open up a terminal and go to your web root

cd /var/www/ 

do a ```php
ls


then ```php
 cd /etc/php5/
cat php.ini

(vi php.ini) if you're careful

look to see what you're error reporting is on

You should at least get a site up with some errors if you're having DB connectivity problems, if not ~ you haven't installed correctly

4 Nov 2009, 9:43 AM
#3
todoonada avatar

todoonada

Zen Follower

Join Date:
Nov 2006
Posts:
127
Plugin Contributions:
0

Re: Installing on localhost: DB problem

Thank you for your answer.
Apache is running. Otherwise I would not be able to access via localhost. If I input wrong data, I get the error screen, which is correctly. If I input the right data, I get an error from the browser:

Connection closed by remote server

You tried to access the address http://localhost/zencart/zc_install/index.php?main_page=database_setup, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.

I installed it often on other machines successfully.

5 Nov 2009, 7:48 AM
#4
todoonada avatar

todoonada

Zen Follower

Join Date:
Nov 2006
Posts:
127
Plugin Contributions:
0

Re: Installing on localhost: DB problem

I found the problem.
Before I used an older version of LAMPP. The new version (1.7.2) I tried now uses PHP 5.3 which does not work with zencart.
Version 1.7.1 of LAMPP works fine.