Can't Install

A place for users and developers of the Xataface to discuss and receive support.

Can't Install

Postby EuropaSteve » Sun Dec 05, 2010 4:31 am

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.
EuropaSteve
 
Posts: 5
Joined: Sat Nov 17, 2007 1:03 pm

Re: Can't Install

Postby shannah » Mon Dec 06, 2010 1:13 pm

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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Can't Install

Postby EuropaSteve » Mon Dec 06, 2010 2:17 pm

Thanks, I'll try the manual install. Username and password are correct. Copied and pasted out of a working connect file.
EuropaSteve
 
Posts: 5
Joined: Sat Nov 17, 2007 1:03 pm

Re: Can't Install

Postby shannah » Mon Dec 06, 2010 2:27 pm

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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Can't Install

Postby EuropaSteve » Mon Dec 06, 2010 3:01 pm

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.
EuropaSteve
 
Posts: 5
Joined: Sat Nov 17, 2007 1:03 pm

Re: Can't Install

Postby liviuz » Mon Jan 31, 2011 12:25 am

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?
liviuz
 
Posts: 4
Joined: Sun Jan 30, 2011 11:36 pm

Re: Can't Install

Postby shannah » Mon Jan 31, 2011 11:08 am

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).
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Can't Install

Postby liviuz » Mon Jan 31, 2011 11:26 am

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?
liviuz
 
Posts: 4
Joined: Sun Jan 30, 2011 11:36 pm

Re: Can't Install

Postby shannah » Mon Jan 31, 2011 11:57 am

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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Can't Install

Postby liviuz » Mon Jan 31, 2011 12:09 pm

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.
liviuz
 
Posts: 4
Joined: Sun Jan 30, 2011 11:36 pm

Re: Can't Install

Postby shannah » Mon Jan 31, 2011 12:21 pm

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)
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Can't Install

Postby liviuz » Mon Jan 31, 2011 3:41 pm

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.
liviuz
 
Posts: 4
Joined: Sun Jan 30, 2011 11:36 pm

Re: Can't Install

Postby shannah » Mon Jan 31, 2011 3:49 pm

Setting up servers can be painful... :)
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 20 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved