PHP warning

require(C:\wamp\www\ls250\styles\gringegreen/package/package.php): failed to open stream: No such file or directory

C:\wamp\www\ls250\application\models\Template.php(113)

101         // The package name eg: lime-bootstrap-Sea_Green
102         $oAdminTheme->packagename = 'lime-bootstrap-'.$oAdminTheme->name;
103 
104         // The path of the template files eg : /var/www/limesurvey/styles/Sea_Green
105         // TODO : add the upload directory for user template
106         $oAdminTheme->path = realpath(Yii::app()->basePath.'/../styles/'.$oAdminTheme->name);
107 
108         // The package alias : it is required by the asset manager. eg: admintheme.Sea_Green
109         // It will be added to aliases from controller
110         $oAdminTheme->alias = 'admintheme.'.$oAdminTheme->name;
111 
112         // The package itself.
113         $oAdminTheme->package = require($oAdminTheme->path.'/package/package.php');
114         $oAdminTheme->package['basePath']=$oAdminTheme->alias; // Defining basePath here for the package avoid the necessity to define it in each template. 
115         return $oAdminTheme;
116     }
117 
118     /**
119     * Get the template path for any template : test if template if exist
120     *
121     * @param string $sTemplateName
122     * @return string template path
123     */
124     public static function getTemplatePath($sTemplateName = "")
125     {

Stack Trace

#0
+
 C:\wamp\www\ls250\application\models\Template.php(113): Template::getAdminTheme()
108         // The package alias : it is required by the asset manager. eg: admintheme.Sea_Green
109         // It will be added to aliases from controller
110         $oAdminTheme->alias = 'admintheme.'.$oAdminTheme->name;
111 
112         // The package itself.
113         $oAdminTheme->package = require($oAdminTheme->path.'/package/package.php');
114         $oAdminTheme->package['basePath']=$oAdminTheme->alias; // Defining basePath here for the package avoid the necessity to define it in each template. 
115         return $oAdminTheme;
116     }
117 
118     /**
#1
+
 C:\wamp\www\ls250\application\controllers\AdminController.php(297): Template::getAdminTheme()
292 
293         if (!empty(Yii::app()->session['dateformat']))
294             $aData['formatdata'] = getDateFormatData(Yii::app()->session['dateformat']);
295 
296         // Register admin theme package with asset manager
297         $oAdmintheme = Template::model()->getAdminTheme(); // We get the package datas from the model
298         $aData['sAdmintheme'] = $oAdmintheme->name;
299         $aData['sAdminthemePackageName'] = $oAdmintheme->packagename;
300         Yii::setPathOfAlias($oAdmintheme->alias, realpath($oAdmintheme->path)); // We create the path alias for the package (needed to use asset manager)
301         App()->getClientScript()->packages['lime-bootstrap-'.$oAdmintheme->name]=$oAdmintheme->package; // We add the package to the list of available package
302 
#2
+
 C:\wamp\www\ls250\application\core\Survey_Common_Action.php(429): AdminController->_getAdminHeader()
424     {
425         if(!isset($aData['display']['header']) || $aData['display']['header'] !== false)
426         {
427             // Send HTTP header
428             header("Content-type: text/html; charset=UTF-8"); // needed for correct UTF-8 encoding
429             Yii::app()->getController()->_getAdminHeader();
430         }
431     }
432 
433 
434     /**
#3
+
 C:\wamp\www\ls250\application\core\Survey_Common_Action.php(243): Survey_Common_Action->_showHeaders(array("defaultAuth" => "Authdb", "summary" => "Please log in first.", "pluginContent" => array("Authdb" => ls\pluginmanager\PluginEventContent), "display" => array("menu_bars" => false)))
238             $sViewPath .= $sAction . '/';
239 
240 
241         ob_start(); //// That was used before the MVC pattern, in procedural code. Will not be used anymore.
242 
243         $this->_showHeaders($aData); //// THe headers will be called from the layout
244         $this->_showadminmenu(); //// The admin menu will be called from the layout, probably as a widget for dynamic content.
245         $this->_userGroupBar($aData);
246 
247         //// Here will start the rendering from the controller of the main view.
248         //// For example, the Group controller will use the main.php layout, and then render the view list_group.php
#4
+
 C:\wamp\www\ls250\application\controllers\admin\authentication.php(302): Survey_Common_Action->_renderWrappedTemplate("authentication", "login", array("defaultAuth" => "Authdb", "summary" => "Please log in first.", "pluginContent" => array("Authdb" => ls\pluginmanager\PluginEventContent), "display" => array("menu_bars" => false)))
297     * @param array $aData Data to be passed on. Optional.
298     */
299     protected function _renderWrappedTemplate($sAction = 'authentication', $aViewUrls = array(), $aData = array())
300     {
301         $aData['display']['menu_bars'] = false;
302         parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData);
303     }
304 
305 }
#5
+
 C:\wamp\www\ls250\application\controllers\admin\authentication.php(85): Authentication->_renderWrappedTemplate("authentication", "login", array("defaultAuth" => "Authdb", "summary" => "Please log in first.", "pluginContent" => array("Authdb" => ls\pluginmanager\PluginEventContent)))
80             }
81             $newLoginForm = new PluginEvent('newLoginForm');
82             App()->getPluginManager()->dispatchEvent($newLoginForm);
83             $aData['summary'] = $this->_getSummary('logout');
84             $aData['pluginContent'] = $newLoginForm->getAllContent();
85             $this->_renderWrappedTemplate('authentication', 'login', $aData);
86         } else {
87              // Handle getting the post and populating the identity there
88             $authMethod = App()->getRequest()->getPost('authMethod', $identity->plugin);
89             $identity->plugin = $authMethod;
90 
#7
+
 C:\wamp\www\ls250\framework\web\actions\CAction.php(109): ReflectionMethod->invokeArgs(Authentication, array())
104             elseif($param->isDefaultValueAvailable())
105                 $ps[]=$param->getDefaultValue();
106             else
107                 return false;
108         }
109         $method->invokeArgs($object,$ps);
110         return true;
111     }
112 }
#8
+
 C:\wamp\www\ls250\application\core\Survey_Common_Action.php(98): CAction->runWithParamsInternal(Authentication, ReflectionMethod, array("sa" => "login"))
093             $oMethod = new ReflectionMethod($this, $sDefault);
094         }
095 
096         // We're all good to go, let's execute it
097         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
098         return parent::runWithParamsInternal($this, $oMethod, $params);
099     }
100 
101     /**
102     * Some functions have different parameters, which are just an alias of the
103     * usual parameters we're getting in the url. This function just populates
#9
+
 C:\wamp\www\ls250\framework\web\CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "login"))
303     {
304         $priorAction=$this->_action;
305         $this->_action=$action;
306         if($this->beforeAction($action))
307         {
308             if($action->runWithParams($this->getActionParams())===false)
309                 $this->invalidActionParams($action);
310             else
311                 $this->afterAction($action);
312         }
313         $this->_action=$priorAction;
#10
+
 C:\wamp\www\ls250\framework\web\CController.php(286): CController->runAction(Authentication)
281      * @see runAction
282      */
283     public function runActionWithFilters($action,$filters)
284     {
285         if(empty($filters))
286             $this->runAction($action);
287         else
288         {
289             $priorAction=$this->_action;
290             $this->_action=$action;
291             CFilterChain::create($this,$action,$filters)->run();
#11
+
 C:\wamp\www\ls250\framework\web\CController.php(265): CController->runActionWithFilters(Authentication, array())
260         {
261             if(($parent=$this->getModule())===null)
262                 $parent=Yii::app();
263             if($parent->beforeControllerAction($this,$action))
264             {
265                 $this->runActionWithFilters($action,$this->filters());
266                 $parent->afterControllerAction($this,$action);
267             }
268         }
269         else
270             $this->missingAction($actionID);
#12
+
 C:\wamp\www\ls250\application\controllers\AdminController.php(161): CController->run("authentication")
156                     $this->redirect(array('/admin/authentication/sa/login'));
157                 }
158 
159             }
160 
161             return parent::run($action);
162     }
163 
164     /**
165     * Routes all the actions to their respective places
166     *
#13
+
 C:\wamp\www\ls250\framework\web\CWebApplication.php(282): AdminController->run("authentication")
277         {
278             list($controller,$actionID)=$ca;
279             $oldController=$this->_controller;
280             $this->_controller=$controller;
281             $controller->init();
282             $controller->run($actionID);
283             $this->_controller=$oldController;
284         }
285         else
286             throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
287                 array('{route}'=>$route===''?$this->defaultController:$route)));
#14
+
 C:\wamp\www\ls250\framework\web\CWebApplication.php(141): CWebApplication->runController("admin/authentication/sa/login")
136             foreach(array_splice($this->catchAllRequest,1) as $name=>$value)
137                 $_GET[$name]=$value;
138         }
139         else
140             $route=$this->getUrlManager()->parseUrl($this->getRequest());
141         $this->runController($route);
142     }
143 
144     /**
145      * Registers the core application components.
146      * This method overrides the parent implementation by registering additional core components.
#15
+
 C:\wamp\www\ls250\framework\base\CApplication.php(184): CWebApplication->processRequest()
179     public function run()
180     {
181         if($this->hasEventHandler('onBeginRequest'))
182             $this->onBeginRequest(new CEvent($this));
183         register_shutdown_function(array($this,'end'),0,false);
184         $this->processRequest();
185         if($this->hasEventHandler('onEndRequest'))
186             $this->onEndRequest(new CEvent($this));
187     }
188 
189     /**
#16
+
 C:\wamp\www\ls250\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-12-18 19:23:19 Apache/2.4.9 (Win64) PHP/5.5.12 Yii Framework/1.1.16