Why would i be getting this error?
Fatal error: Call to undefined function hasPluginResource() in C:\www\Titanium\application\Bootstrap.php on line 40
The offending line in my bootstrap file is;
if ($this-hasPluginResource('db')) {
$this->bootstrap('db');
$db = $this->getPluginResource('db')->getDbAdapter();
$options['plugins']['Database']['adapter'] = $db;
}
As far as i can see hasPluginResource is a function if the class Zend_Application_Bootstrap_BootstrpAbstract.
Also i am very new to Zend framework. I am used to seeing $this->somefunction. This is the firsttime i have seen $this-somefunction. What is the difference between – and -> ?
Williams Refrigeration is a trading name of AFE Group Limited.
Registered in England & Wales under Registered Number 3872673. Registered
Office Address - Bryggen Road, North Lynn, Industrial Estate, Kings Lynn, Norfolk, PE30 2HZ
Williams Refrigeration reserves the right to block any email attachment we deem inappropriate and to also reject any inbound connections from Blacklisted servers. Any email meeting the above criteria will be automatically rejected without notification given to the original sender.
NOTE: In accordance with the Data Protection Act compliance, all Bulk sends should use the BCC field as much as possible.
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or are having trouble sending email to Williams please notify the system administrator - postmaster@williams-refrigeration.co.uk
Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of Williams Refrigeration or the AFE Group.
Registered in England & Wales under Registered Number 3872673. Registered
Office Address - Bryggen Road, North Lynn, Industrial Estate, Kings Lynn, Norfolk, PE30 2HZ
Williams Refrigeration reserves the right to block any email attachment we deem inappropriate and to also reject any inbound connections from Blacklisted servers. Any email meeting the above criteria will be automatically rejected without notification given to the original sender.
NOTE: In accordance with the Data Protection Act compliance, all Bulk sends should use the BCC field as much as possible.
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or are having trouble sending email to Williams please notify the system administrator - postmaster@williams-refrigeration.co.uk
Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of Williams Refrigeration or the AFE Group.
没有评论:
发表评论