Basic Execution error

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

Postby fbermudez » Thu Aug 03, 2006 10:01 am

First of all, thanks Steve... something I've been looking for for a long time... Up 'til now I've been using appgini, but doing any thing customized, means hacking the entire code....

Found your solutions this morning and just jumped to it....

However, i'm getting this error when manually setting my project.

Warning: Use of undefined constant PATH_SEPARATOR - assumed 'PATH_SEPARATOR' in /home/sites/site68/web/dataface/config.inc.php on line 178

I'm sending you my index.php file, just in case....

display();
?>

Thanks
fbermudez
 
Posts: 14
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Aug 03, 2006 10:15 am

Hi,

Dataface makes use of the PATH_SEPARATOR constant that apparently isn't available until PHP 4.3. You must be using an older version of PHP. It is possible that there will be other incompatibilities but a workaround for this problem would be do add the following to the beginning of your index.php file:

Code: Select all
if ( !defined('PATH_SEPARATOR') ) define('PATH_SEPARATOR',':');


Note that the above assumes you are using a unix/linux type OS. If you are using windows then you would use a ';' instead of a ':' as follows:


Code: Select all
if ( !defined('PATH_SEPARATOR') ) define('PATH_SEPARATOR',';');


Hope this helps.

Best regards

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

Postby fbermudez » Sat Aug 05, 2006 6:11 am

I wasn«t aware of the specifications needed for PHP, which I was able to find, finally, although it wasn«t easy.
Well, since I've update my hosting to PHP 5 and MySqil 4.1.13...

Installation and manual generation of sample DB went flawless... But when I went to the index.php file, I got this:

Warning: import(SQL/Parser/wrapper.php) [function.import]: failed to open stream: No such file or directory in /home/cfpastat/public_html/df/config.inc.php on line 213

Fatal error: import() [function.require]: Failed opening required 'SQL/Parser/wrapper.php' (include_path='.:/home/cfpastat/public_html/df:/home/cfpastat/public_html/df/lib:/usr/lib/php:/usr/local/lib/php') in /home/cfpastat/public_html/df/config.inc.php on line 213

I've checked with the hosting support, they've set my register_gloabs to ENABLE, and assure me that ini_set()in also ENABLED....

What else can I check??

Thanks FB
fbermudez
 
Posts: 14
Joined: Wed Dec 31, 1969 5:00 pm

Postby fbermudez » Sat Aug 05, 2006 9:30 am

Got it fixed..... The unziping of the file didn«t work properly and I didn«t have all the files in my datafce directory......

I thought I had checked it, but not quite....

Thanks anyway....

Got a lot of work to do now.
fbermudez
 
Posts: 14
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 18 guests

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