Issues building an app

I am creating my first Xataface App. Theoretically, it looks like it should be very simple - I have been following this tutorial: http://xataface.com/wiki/How_to_build_a ... es_of_code
Unfortunately, when I run the app index - I receive the following error:
I haven't changed the dataface-public-api.php so I assumed that there shouldn't be any issues with this - but unfortunately, there is. Do you have any ideas of what may be causing this? The section of code for 472 (same as the code when it was downloaded) is as follows:
Thank you for your help!
Unfortunately, when I run the app index - I receive the following error:
- Code: Select all
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/19/d218789578/htdocs/lenten-season/xataface/dataface-public-api.php on line 472
I haven't changed the dataface-public-api.php so I assumed that there shouldn't be any issues with this - but unfortunately, there is. Do you have any ideas of what may be causing this? The section of code for 472 (same as the code when it was downloaded) is as follows:
- Code: Select all
function df_translate($id, $default=null, $params=array(), $lang=null){
return Dataface_LanguageTool::translate($id,$default,$params, $lang);
}
Thank you for your help!