Page 1 of 1

Fatal error: Cannot use object of type PEAR_Error as array

PostPosted: Fri Jan 21, 2011 11:26 pm
by bjlockie
I installed xataface-1.2.6 and tried to create a simple application.

I am getting the error when I try to run my application in the browser:
Fatal error: Cannot use object of type PEAR_Error as array in /HTTP_DOC_ROOT/xataface-1.2.6/Dataface/Table.php on line 3001

I read someone else had the same problem but he recompiled php with cttype support (something like that).
I use Ubuntu and the php package it provides but phpinfo() shows:
ctype functions enabled

Re: Fatal error: Cannot use object of type PEAR_Error as array

PostPosted: Sat Jan 22, 2011 1:27 am
by bjlockie
Now it works.
I'm been adding data to MySQL and not doing anything to it.