ReflectionException

Method update::index() does not exist

/home/sondages.pro/htdocs/clients/complets/ysthad/limesurvey/application/core/Survey_Common_Action.php(94)

082         // Check if the method is public and of the action class, not its parents
083         // ReflectionClass gets us the methods of the class and parent class
084         // If the above method existence check passed, it might not be neceessary that it is of the action class
085         $oMethod  = new ReflectionMethod($this, $sSubAction);
086 
087         // Get the action classes from the admin controller as the urls necessarily do not equal the class names. Eg. survey -> surveyaction
088         $aActions = Yii::app()->getController()->getActionClasses();
089 
090         if(empty($aActions[$this->getId()]) || strtolower($oMethod->getDeclaringClass()->name) != strtolower($aActions[$this->getId()]) || !$oMethod->isPublic())
091         {
092             // Either action doesn't exist in our whitelist, or the method class doesn't equal the action class or the method isn't public
093             // So let us get the last possible default method, ie. index
094             $oMethod = new ReflectionMethod($this, $sDefault);
095         }
096 
097         // We're all good to go, let's execute it
098         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
099         return parent::runWithParamsInternal($this, $oMethod, $params);
100     }
101 
102     /**
103     * Some functions have different parameters, which are just an alias of the
104     * usual parameters we're getting in the url. This function just populates
105     * those variables so that we don't end up in an error.
106     *

Stack Trace

#0
+
 /home/sondages.pro/htdocs/clients/complets/ysthad/limesurvey/application/core/Survey_Common_Action.php(94): ReflectionMethod->__construct(update, "index")
89 
90         if(empty($aActions[$this->getId()]) || strtolower($oMethod->getDeclaringClass()->name) != strtolower($aActions[$this->getId()]) || !$oMethod->isPublic())
91         {
92             // Either action doesn't exist in our whitelist, or the method class doesn't equal the action class or the method isn't public
93             // So let us get the last possible default method, ie. index
94             $oMethod = new ReflectionMethod($this, $sDefault);
95         }
96 
97         // We're all good to go, let's execute it
98         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
99         return parent::runWithParamsInternal($this, $oMethod, $params);
#4
+
 /home/sondages.pro/htdocs/clients/complets/ysthad/limesurvey/application/controllers/AdminController.php(164): CController->run("update")
159                     $this->redirect(array('/admin/authentication/sa/login'));
160                 }
161 
162             }
163 
164             return parent::run($action);
165     }
166 
167     /**
168     * Routes all the actions to their respective places
169     *
#8
+
 /home/sondages.pro/htdocs/clients/complets/ysthad/limesurvey/index.php(211): CApplication->run()
206         die (sprintf('%s should be writable by the webserver (766 or 776).', $runtimePath));
207     }
208 }
209 
210 Yii::$enableIncludePath = false;
211 Yii::createApplication('LSYii_Application', $config)->run();
212 
213 /* End of file index.php */
214 /* Location: ./index.php */
2015-07-31 10:05:13 Apache/2.2.22 (Debian) Yii Framework/1.1.15