Cake can't find your ShooterOption class. Are you sure the file is
named ShooterOption.php?
Delete everything in app/tmp/cache/models/ directory.
On Tue, Dec 4, 2012 at 1:11 PM, glk g...@kaup.com wrote:
Hello all, thank you in advance for any help you may be able to provide.
I'm using
Hello all, thank you in advance for any help you may be able to provide.
I'm using cakePHP 2.2.1
The following code works perfectly:
class OptionsController extends AppController {
var $uses = array('Option', 'ShooterEvent', 'ShooterOption');
public function calc($id) {
$paid_entries
If inside the class ShooterOption class change :
$this-ShooterOption-getSomething(1);
to:
$this-getSomething(1);
also on your
public function calc($id) {
$paid_entries = $this-ShooterEvent-getPaidEntries($event_id);
Where is $event_id coming from ? should it be just $id