Installation Help (again, sorry)

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

Installation Help (again, sorry)

Postby kokoro » Sun Feb 22, 2009 5:26 pm

Hello,

I have successfully worked with Xataface in a development environment (MAMP) for a month or so now and got comfortable enough that I decided to go ahead and install it on my production server.

This is where I have run into a problem. I have installed the package on my server with the directory that it is contained in protected via an .htaccess file and the following authentication code:

AuthUserFile /var/.htpasswd
AuthName EnterPassword
AuthType Basic

Require valid-user

When I call the info page at

mydomain/subdirectory/xataface/dataface_info.php

I get the "Installation complete" message but when I try to run the install script I get a long pause and then a timeout error.

Checking the apache error log on my server shows the following error multiple times at the same time that I tried to access the installer.php script.

user root not found

Can't figure out what is going on here.

Jason
kokoro
 
Posts: 39
Joined: Fri Feb 06, 2009 6:17 am

Postby shannah » Sun Feb 22, 2009 9:35 pm

This is because the install script uses HTTP authentication so it is trying to use the username/password information that you provided from your .htpasswd file. (i.e. the authentication in your .haccess file is conflicting with the authentication of the installer .So you have three options at this point.

1. Use a username/password in the .htpasswd file that matches your mysql username/password.

2. Use either the makesite installation method or the manual installation method instead.

3. Disable your .haccess authentication temporarily while you run the installer.

If you're clever maybe you can think of a solution that I haven't thought of yet.

I'll look into this for the future to see if there is some nice way to fix this in the future.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby kokoro » Mon Feb 23, 2009 1:38 am

Steve,

Thanks. I don't know why I couldn't figure that out :-) I see now what was happening.

I removed the .htaccess file (deactivated it by temporarily renaming it) and everything worked fine.

I was able to use the installer.php script and the download it as a tarball and upload it to the proper directory on my server but now, for some reason, when I try to navigate to myapp/index.php I get a white screen.

And, embarrassingly, I can't figure out how to turn on my php error logging function. I thought I turned it on in php.ini but for some reason am not getting a log file on my system.....? Restarted Apache but to no avail.

Probably been staring at this computer for too long today :oops:

Jason

**EDIT** Sorry, I figured out my problem. The templates_c directory did not have the correct permissions. I set it to 777 just to check and suddenly everything works. Now I just have to figure out what the safest permissions are... ?
kokoro
 
Posts: 39
Joined: Fri Feb 06, 2009 6:17 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 2 guests

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