Fatal error: Call to undefined method Dataface_Application::

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

Fatal error: Call to undefined method Dataface_Application::

Postby wjm » Wed Jul 30, 2008 10:01 am

I'm working through the tutorial at
http://xataface.com/documentation/tutor ... ce_actions

When I copy and paste the code at the bottom of the page into
../FacultyOfWidgetry/actions/hello.php

then access the action by pointing the browser to
http://mysite/FacultyOfWidgetry/?-action=hello

I get the error:
Fatal error: Call to undefined method Dataface_Application::getRequest() in /srv/www/htdocs/FacultyOfWidgetry/actions/hello.php on line 7
wjm
 
Posts: 3
Joined: Wed Jul 30, 2008 7:10 am

Postby shannah » Fri Aug 01, 2008 7:59 am

Sorry there is a typo in the tutorial. I have fixed it now. The call to $app->getRequest() should be $app->getQuery()
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 22 guests

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