I suddenly started getting this error yesterday afternoon after a week of my xataface app working fine.
Fatal error: Cannot use object of type PEAR_Error as array in /home2/networq5/public_html/xataface-1.3rc3/Dataface/Table.php on line 3018
I searched for it on your site and found the following:
-------------------
I cant do the following because my installation doesnt seem to have a Dataface/Tables.php file
You may have to debug this one for me a little.
Go to line 1970 in your Dataface/Tables.php file:
CODE: SELECT ALL
$data = $parser->parse($tsql);
Add a line after this as follows:
CODE: SELECT ALL
if ( PEAR::isError($data) ){
echo $data->getMessage();
}
I saw that the end result of this was:" PHP was not compiled with the ctype functions"
Is there some way I can check and see if that the problem before I call Host Monster?
----------------------
1. Corrupted files (the fields.ini files)
i checked this and it seems to be fine. Is there someway to know whether its corrupted?
2. You have made some changes to either the database schema or the fields.ini file (or the relationships.ini file) with some incorect SQL syntax.
I checked all the tables in phpMyAdmin and they all ran fine. Additionally I was able to browse and add rows.
I did make some changes but I seem to be able to use the table in question without difficulty in
3. Some of the database didn't get generated properly.
seems fine.
Any other suggestions.
thanks
Bob