0.6.9 Trying to install on hosted platform

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

Postby walterbyrd » Sun Oct 15, 2006 8:41 am

I don't think it will work. These are my errors:

----------
Warning: import(SQL/Parser.php): failed to open stream: No such file or directory in /home/synet-co/public_html/system-savers/dataface/config.inc.php on line 223

Fatal error: import(): Failed opening required 'SQL/Parser.php' (include_path='.:/home/synet-co/public_html/system-savers/dataface:/home/synet-co/public_html/system-savers/dataface/lib:/usr/local/lib/php') in /home/synet-co/public_html/system-savers/dataface/config.inc.php on line 223
----------

This is my conf.ini file:

-----------------
[_database]
host = "localhost"
user = "synet-co_wbyrd"
password = "secret"
name = "system-savers.com"

[_tables]
item_num = "item_num"
location = "location"
description = "description"
quantity = "quantity"
date_modified = "date_modified"
date_counted = "date_counted"
-------------

My directory structure looks like this:

---------
/home/synet-co/public_html/system-savers/
-- dataface/
-- index.php
-- conf.ini
-- .htaccess.ini
-------

What concerns me:

In the error message, there is a list of include paths:

------
include_path='.:/home/synet-co/public_html/system-savers/dataface:/home/synet-co/public_html/system-savers/dataface/lib:/usr/local/lib/php'
------

This path: /usr/local/lib/php - may be a problem. Again, this is a hosted solution, I don't have access to anything below the public_html.

This other paths, listed in include_path, do exist.
walterbyrd
 
Posts: 56
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Sun Oct 15, 2006 2:48 pm

Hi Walter,

It is complaining that it cannot open SQL/Parser.php which is located in the lib directory of the dataface install. This is correctly in the include path, so if the file is there and readable, then it should be able to find it. Hence, it looks like either:
1. lib/SQL/Parser.php is missing
2. lib/SQL/Parser.php is not readable by the web server.

Please double check and let me know how it goes.

Best regards

Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby walterbyrd » Sun Oct 15, 2006 3:58 pm

Thanks for getting back to me.

There is not a lib/SQL/Parser.php. However there is a lib/sql/Parser.php, which is a 49.8kb file with permissions set to 755.

Is it case sensitive?
walterbyrd
 
Posts: 56
Joined: Wed Dec 31, 1969 5:00 pm

Postby walterbyrd » Sun Oct 15, 2006 4:35 pm

Thanks for getting back to me.

There is not a lib/SQL/Parser.php. However there is a lib/sql/Parser.php, which is a 49.8kb file with permissions set to 755.

Apparently, it is case sensitive. I ran into a few similar errors with SQL and HTML not being uppercase.

Anyway, I got it to work. Thank you.
walterbyrd
 
Posts: 56
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 24 guests

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