Okay, so Im trying this out, but have run into a problem, im getting
the following error, and I cant figure out where I'm going wrong:
Fatal error: Call to undefined method stdClass::save() in G:\WAMP
\www\UASC Sourceforge\trunk\app\app_controller.php on line 60
I have a table whos_online
Obviously, your model does not exist in AppController.
Did you put var $uses = array('WhosOnline'); in there?
If you did, try putting a debug($this) in your controller and look at
the dump, maybe it's there but not called WhosOnline?
On Jun 18, 12:47 pm, Sanfly [EMAIL PROTECTED] wrote:
Okay,
Hi all
If I have a function or script that I want to execute automatically on
every page of my website, how would I go about it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group,
On Wed, Jun 18, 2008 at 7:58 AM, Sanfly [EMAIL PROTECTED] wrote:
If I have a function or script that I want to execute automatically on
every page of my website, how would I go about it?
The correct CakePHP terms would be I have a function that I want to execute
before every action
-