Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/1/holy.jp-old-deuteronomy/web/application/libs/Zend/Form.php on line 1144

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/1/holy.jp-old-deuteronomy/web/application/libs/Zend/Form.php on line 1653
hasIdentity()){ if($role_field = Zend_Registry::get('env')->auth->adapter->options->role_field){ $arr_identity = (array)$auth->getIdentity(); if(isset($arr_identity[$role_field])){ return $arr_identity[$role_field]; } } } } return Zend_Registry::get('env')->auth->default->role; } /** * @param string $id * @param string $pass * @param array $params * @return My_Auth */ public static function _authenticate($id,$pass,array $options) { $auth = self::getInstance(); //if(!$auth->hasIdentity()){ if($adapter_name = Zend_Registry::get('env')->auth->adapter->name){ $class_name = "My_Auth_Adapter_{$adapter_name}"; $adapter = new $class_name(Zend_Registry::get('env')->auth->adapter->options->toArray()); $adapter->setIdentity($id); $adapter->setPassword($pass); $adapter->setOptions($options); $result = $auth->authenticate($adapter); if($result->isValid()){ $data = $adapter->getIdentityData(); $auth->getStorage()->write($data); } else { $auth->getStorage()->clear(); } } //} return $auth; } } ?>
Fatal error: Uncaught Error: Class 'My_Auth' not found in /home/users/1/holy.jp-old-deuteronomy/web/application/libs/My/Controller/Action/Helper/Acl.php:71 Stack trace: #0 /home/users/1/holy.jp-old-deuteronomy/web/application/libs/Zend/Controller/Action/HelperBroker.php(265): My_Controller_Action_Helper_Acl->preDispatch() #1 /home/users/1/holy.jp-old-deuteronomy/web/application/libs/Zend/Controller/Action.php(500): Zend_Controller_Action_HelperBroker->notifyPreDispatch() #2 /home/users/1/holy.jp-old-deuteronomy/web/application/libs/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #3 /home/users/1/holy.jp-old-deuteronomy/web/application/libs/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #4 /home/users/1/holy.jp-old-deuteronomy/web/application/libs/My/Setup.php(49): Zend_Controller_Front->dispatch() #5 /home/users/1/holy.jp-old-deuteronomy/web/application/libs/My/Setup.php in /home/users/1/holy.jp-old-deuteronomy/web/application/libs/My/Controller/Action/Helper/Acl.php on line 71