Installation error

Post here if you need help.

Installation error

Postby Jose » Tue Feb 02, 2010 8:09 am

I'm running win7 and local WAMPSERVER. From step 3 to step4 I get this message
"Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'jose'@'localhost' (using password: YES) in C:\wamp\www\familytreephp\includes\classes\db.php on line 9
Access denied for user 'jose'@'localhost' (using password: YES)"
The password I used on step 1 is not "YES" . What happened? How can I solve the problem?

Also, how can I modify the includes/config.php file to allow security permits to 644? The file is empty now.
Jose
 
Posts: 5
Joined: Tue Feb 02, 2010 7:56 am

Re: Installation error

Postby Gerrit Veldman » Tue Feb 02, 2010 9:01 am

Your database user seems to lack the right user permissions or you did not fill in the right password (YES only means that you did fill in a password).

Your config file should not be empty at this stage, because it is used to get the database user info. The username and hostname are mentioned in the error message, so the config file must contain them.

You can set the file persmissions back to 644 in the same way as you set them to 666. If you did not set them to 666, they probably are still at 644 (but should be set to 444 or 400 in case you go live with your website). Normally a ftp program is used for this.
Gerrit Veldman
Site Admin
 
Posts: 199
Joined: Mon Aug 03, 2009 10:50 am

Re: Installation error

Postby Jose » Sat Mar 06, 2010 11:01 am

I have tried everything I know to get pass the step 3. I'm still geting the same error.
Information I inputed on Step 2: Host base datos: localhost; Name base datos: gonzalez; usuario base datos: jose; and filled in password; prefix base datos: ftphp_
Also as I do not use ftp transfers, because I set up the server on my own computer (to try first) how do I change the security permisions?
What should I do next?
Jose
 
Posts: 5
Joined: Tue Feb 02, 2010 7:56 am

Re: Installation error

Postby Gerrit Veldman » Sat Mar 06, 2010 11:16 am

MySql needs to have a database (gonzalez) and a user (jose) that has enough permissions for this database.

The persmissions for the database user have to be set in your MySql setup. FTP has nothing to do with that; FTP is used for files, which is an entirely different thing.

By the way: I cannot see any reason to setup Family Tree PHP on your own computer. It is solely meant to make a website, so it only makes sense to install it on a webserver. And if you want to try it, it is much easier to try it on a webserver, because you don't have go through the trouble of installing and configuring PHP and MySql on your own computer.
Gerrit Veldman
Site Admin
 
Posts: 199
Joined: Mon Aug 03, 2009 10:50 am

Re: Installation error

Postby Jose » Sat Mar 06, 2010 12:03 pm

Thanks Gerrit, I created the database and added a user in the wamp server, which includes the Mysql and Php both version 5.
Step 4 ask for a email address: what is this address? I have tied several but I can not get pass this step.
Help please
Jose
 
Posts: 5
Joined: Tue Feb 02, 2010 7:56 am

Re: Installation error

Postby Gerrit Veldman » Sat Mar 06, 2010 12:09 pm

Just your own email address, so that your login info can be emailed to you and it can be used for communication between you and your users.
Gerrit Veldman
Site Admin
 
Posts: 199
Joined: Mon Aug 03, 2009 10:50 am

Re: Installation error

Postby Jose » Sun Mar 07, 2010 6:16 pm

This is the error I get after I introduced my email address:
"Could not instantiate mail function.
Fatal error: Could not instantiate mail function. in C:\wamp\www\Familytree\includes\classes\mailer.php on line 38"
If I go back to step 4 and introduced another email address I get this message:
"Notice: Use of undefined constant CF_BASE - assumed 'CF_BASE' in C:\wamp\www\Familytree\includes\classes\db.php on line 28
Fatal error: Duplicate entry 'es' for key 'PRIMARY' QUERY: INSERT INTO ftphp__lang VALUES ('es','Español','ltr') in C:\wamp\www\Familytree\includes\classes\db.php on line 29"
Help please
Jose
 
Posts: 5
Joined: Tue Feb 02, 2010 7:56 am

Re: Installation error

Postby Peter Buyk » Sun Mar 07, 2010 7:25 pm

You're problems have nothing to do wit Family Tree PHP, it would be better to go to the homepage of Wamp and ask youŕe question there, most likely they have also a support forum where you can ask you're problems.
Peter Buyk
 
Posts: 15
Joined: Fri Sep 04, 2009 8:03 am
Location: Netherlands

Re: Installation error

Postby Gerrit Veldman » Mon Mar 08, 2010 8:17 am

Peter is right, it has nothing to do with Family Tree PHP. You probably have not installed a mail server, or you have misconfigured it. But Family Tree PHP is probably installed properly by now. Only the login info is not emailed. But if you have written down the password when it appeared on screen, you can use it to login now.

Also see: http://forum.familytreephp.com/viewtopic.php?f=2&t=46
Gerrit Veldman
Site Admin
 
Posts: 199
Joined: Mon Aug 03, 2009 10:50 am

Re: Installation error

Postby Jose » Sun Mar 21, 2010 8:31 pm

Hi,
I have gone thru the configuration of the Mercury mail in xampp many different ways, also modifying the php.ini mail section and I have not been able to pass step 4 of the instalation. Could somebody help me with this? Thanks... Jose
Jose
 
Posts: 5
Joined: Tue Feb 02, 2010 7:56 am


Return to Support

Who is online

Users browsing this forum: Google Adsense [Bot], Peter Buyk and 2 guests

cron