Page 1 of 1

PostPosted: Sun Oct 15, 2006 8:41 am
by walterbyrd
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.

PostPosted: Sun Oct 15, 2006 2:48 pm
by shannah
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

PostPosted: Sun Oct 15, 2006 3:58 pm
by walterbyrd
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?

PostPosted: Sun Oct 15, 2006 4:35 pm
by walterbyrd
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.