query problem in my fields.ini

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

query problem in my fields.ini

Postby Jean » Mon Jul 06, 2009 5:00 am

Hi Steve,
I have a problem with this query :
Code: Select all
select * from annuaire_enligne WHERE nom NOT REGEXP '([0-9]{4})' ORDER BY nom

with this message
Cannot use a scalar value as an array in /var/www/html/xataface-1.1.5r2/Dataface/Table.php on line 1971

I remember I had this problem some time ago :
http://xataface.com/forum/viewtopic.php?t=4057#20391

Do you know how I can fix it ?

Thank you

Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France

Postby shannah » Mon Jul 06, 2009 10:35 am

Looks like the SQL parser is probably having trouble with the query. Looks find to me. You can try downloading the latest SQL parser from SVN http://weblite.ca/svn/dataface/core/trunk/lib/SQL and replacing your existing parser with it (located in lib/SQL) and see if that makes a difference.

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

Postby Jean » Mon Jul 06, 2009 12:02 pm

Thank you Steve, I'll experiment it to-morrow.
Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 28 guests

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