Problems installing

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

Problems installing

Postby Tim_Myth » Mon Jun 22, 2009 7:43 am

I downloaded the tarball, and unzipped in a folder in my WAMP www directory (WAMP 2.0). I granted Write and Modify permissions to the Users group (Windows XP Pro SP 3). I installed Pear and enabled short_open_tags then restarted WAMP. To install Pear I followed these directions(in case the tag is stripped: http://answers.yahoo.com/question/index ... 251AAbk6kz) and installed the .reg file created by go-pear.bat. Now when running http://localhost/xataface/dataface_info.php or http://localhost/xataface/index.php I get this error:
Code: Select all
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required 'C:/wamp/www/xataface/dataface_info.php' (include_path='.;C:\php5\pear') in Unknown on line 0
I'm certain the issue is in the include path since c:\php5\pear does not exist, but since the error occurs in an unknown file, I don't know which file to edit to fix that.

I've tried finding the troubleshooting section (http://framework.weblite.ca/documentation/error which redirects to http://xataface.com/documentation/error) referred to in the installation instructions (http://xataface.com/documentation/tutor ... stallation), but that link (http://xataface.com/documentation/error) is broken. Does anyone have a functional link to a troubleshooting section? I have a feeling that I'll need.

Also, looking at the source for index.php, I see lots of settings that are obviously specific to Steve Hannah's machine (ie: init(__FILE__, '/~shannah/lesson_plans');). Did I somehow get a beta distribution or a development distribution? Where's the latest stable release?
Tim_Myth
 
Posts: 6
Joined: Mon Jun 22, 2009 6:51 am
Location: Fargo, ND

Postby shannah » Mon Jun 22, 2009 8:39 am

The error suggests that the file that it failed to open was dataface_info.php not your pear files. One thing that I have run into in the past is sometimes webservers won't allow you to access PHP scripts directly if they are writable, as a security measure.

The correct permissions for the entire xataface folder and its contents are 0644 (i.e. readable only). The only thing that needs to be writable is your application's templates_c directory.

On a side note, the dataface_info.php file isn't really all that helpful. You might as well just try to make your first app and then troubleshoot the errors you get from there.

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

Postby shannah » Mon Jun 22, 2009 9:51 am

Sorry. Directories need to be 755. All files can be 644. The key is the the files/directories should not be writable.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Tim_Myth » Mon Jun 22, 2009 9:52 am

Silly me. I saved the zip file to my desktop first which caused it to be encrypted which of course caused the unzipped files to be encrypted. Unencrypting the files fixed my issue. :oops:

Company policies can be such a hassle.
Tim_Myth
 
Posts: 6
Joined: Mon Jun 22, 2009 6:51 am
Location: Fargo, ND

Application Installation problem

Postby mauxin » Wed Jul 22, 2009 1:07 am

Hi,

I am trying to create an application with an exisiting database. But I ma getting this message.


Warning: include(install/install_header.inc.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\xataface\install\mainMenu.inc.php on line 1

Warning: include() [function.include]: Failed opening 'install/install_header.inc.php' for inclusion (include_path='.:lib') in C:\xampp\htdocs\xataface\install\mainMenu.inc.php on line 1
Please select your installation action

1.
Create application for existing database

Use this option if you already have a database on your server and you would like to create an application based on this database.
2.
Install a pre-built application

Use this option if you have a ready-made Dataface application that you wish to install on this server.


Warning: include(install/install_footer.inc.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\xataface\install\mainMenu.inc.php on line 27

Warning: include() [function.include]: Failed opening 'install/install_footer.inc.php' for inclusion (include_path='.:lib') in C:\xampp\htdocs\xataface\install\mainMenu.inc.php on line 27

Please help.
mauxin
 
Posts: 3
Joined: Tue Jun 16, 2009 4:04 am

Postby shannah » Wed Jul 22, 2009 9:26 am

Check the permissions on the install/install_header.inc.php . Make sure that it exists and is readable by the web server.

-Steve
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 25 guests

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