Page 1 of 1

Can't Install

PostPosted: Sun Dec 05, 2010 4:31 am
by EuropaSteve
I've used older versions of XataFace and never had a problem. I tried to install 1.2.6 and the info page says all is correct but when I get to the installer I get this:
A username and password are being requested by http://www.xxx.org. The site says: "Dataface Installer"
When I enter my database username and password I get the request just loops, like the info is wrong.
Cancel gets me:
Please enter your MySQL Username and password to access this page.

Re: Can't Install

PostPosted: Mon Dec 06, 2010 1:13 pm
by shannah
Likely the username and password is wrong. Double check it. That failing, you can always use a manual install. That's what I normally do.

Re: Can't Install

PostPosted: Mon Dec 06, 2010 2:17 pm
by EuropaSteve
Thanks, I'll try the manual install. Username and password are correct. Copied and pasted out of a working connect file.

Re: Can't Install

PostPosted: Mon Dec 06, 2010 2:27 pm
by shannah
Other things to look at:
"Working connect file" - What is this? Is it a php script running on the same server? or something else. Note that scripts running on a different server effectively use different mysql accounts. i.e. if I can connect with username/password from server1.example.com, it doesn't mean I can connect with username/password from server2.example.com.

Re: Can't Install

PostPosted: Mon Dec 06, 2010 3:01 pm
by EuropaSteve
I made the files manually. I added some tables to a database I use for phpBB3. Connected right up. Same user name and password I was using in the Installer script that would not connect. Weird.

Re: Can't Install

PostPosted: Mon Jan 31, 2011 12:25 am
by liviuz
Same thing here, can't go past this phase, I'm using the home_username and password, can't get through the verification window, cancelling gives same message.
How can I get rid of this verification?

Re: Can't Install

PostPosted: Mon Jan 31, 2011 11:08 am
by shannah
The only reason I can think of for this loop is that the username and password are incorrect. Be sure that you are using a valid MySQL username and password (this is likely different than your FTP or other passwords).

Re: Can't Install

PostPosted: Mon Jan 31, 2011 11:26 am
by liviuz
Thank you shannah, I'm not a noob, I installed this on one of my Cpanel shared accounts on my VPS, I created a database and a user name and assigned all privileges.
I installed the script in public_html/xataface and when I am getting a success installation when I visit the info link, however when I just access http://savle.com/xataface I'm being prompted to enter the user name. I am trying both the ftp credentials and the database credentials (that one with an underscore (account user name _ the mysql database username) and the database user password and it's not going through.
Could you give me an example,
eg: my domain name is domain.com and the hosting account user is domainco which I assigned to the database with all privileges.
I created a database from my cpanel: database and a user name: dbuser with a dbpassword
I installed the script here: home/domainco/public_html/xataface so when I visit http://domain.com/xataface I'm getting the popup to log in where I enter domainco_dbuser and dbpassword and it doesn't work
How can I get over this?

Re: Can't Install

PostPosted: Mon Jan 31, 2011 11:57 am
by shannah
If you absolutely can't get into the installer, then the fast approach is probably just to do a manual setup. (I personally only use the installer for demos.... it is so fast to do a manual install (4 lines of code) that I just do it that way.

Re: Can't Install

PostPosted: Mon Jan 31, 2011 12:09 pm
by liviuz
Thank you, what 4 lines of code are you talking about? Could you post them here or to me please? Usually I give up so easily and I'm so tempted to do so, I'm quite perfectionist and if something is glitchy I tend to give up unless I get a legit explanation.

Re: Can't Install

PostPosted: Mon Jan 31, 2011 12:21 pm
by shannah
The reason you can't log in is clearly an issue with username and password. It needs your mysql username and password. One other thing you may need to check (if your mysql server is on a different host than localhost) is the line
Code: Select all
define('DB_HOST', 'localhost');


in the installer.php script. You may need to change this to reflect the correct host.

As far as info about how to do a manual install, there is info all over the site:
http://xataface.com/documentation/tutor ... pplication (see section on manual installation)

http://xataface.com/wiki/How_to_build_a ... es_of_code

http://xataface.com/wiki/about (Glance at your first app section)

Re: Can't Install

PostPosted: Mon Jan 31, 2011 3:41 pm
by liviuz
Thank you for your excellent and prompt support. Localhost was correctly set up. I've done some changes to my WHM and upgraded mysql from 5.0 to 5.1 which at first ruined all my websites with 500 internal server error. I contacted the VPS provider and they fixed that and without doing any changes your installer started working... However, I can't connect to my server using ssh anymore. Since I'm not good with Unix and all the server stuff, I can only tell that it could be some server settings, ports used or something like that that was blocking the login.

Re: Can't Install

PostPosted: Mon Jan 31, 2011 3:49 pm
by shannah
Setting up servers can be painful... :)