PHP Error on load of OSE Plugin
-
I always get the error below when I try to access the OSE Plugin. I already update the folder permissions but I still encounter the error below:
PHP warning
include(/home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CAssetManager.php) [function.include]: failed to open stream: No such file or directory
/home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/YiiBase.php(397)
385 /**
386 * Class autoload loader.
387 * This method is provided to be invoked within an __autoload() magic method.
388 * @param string $className class name
389 * @return boolean whether the class has been loaded successfully
390 */
391 public static function autoload($className)
392 {
393 // use include so that the error PHP file may appear
394 if(isset(self::$classMap[$className]))
395 include(self::$classMap[$className]);
396 elseif(isset(self::$_coreClasses[$className]))
397 include(YII_PATH.self::$_coreClasses[$className]);
398 else
399 {
400 // include class file relying on include_path
401 if(strpos($className,’\\’)===false) // class without namespace
402 {
403 if(self::$enableIncludePath===false)
404 {
405 if (self::$_includePaths!==null)
406 {
407 foreach(self::$_includePaths as $path)
408 {
409 $classFile=$path.DIRECTORY_SEPARATOR.$className.’.php’;
Stack Trace
#0
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/YiiBase.php(397): YiiBase::autoload()
#1
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/YiiBase.php(296): YiiBase::autoload(“CAssetManager”)
#2
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/YiiBase.php(196): YiiBase::import(“CAssetManager”, true)
#3
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/base/CModule.php(386): YiiBase::createComponent(array(“class” => “CAssetManager”, “basePath” => “/home/think/public_html/wp/wp-content/plugins/ose-firewall//asse…”, “baseUrl” => “/wp/wp-content/plugins/ose-firewall/assets”))
#4
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CWebApplication.php(193): CModule->getComponent(“assetManager”)
#5
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CClientScript.php(462): CWebApplication->getAssetManager()
#6
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CClientScript.php(499): CClientScript->getCoreScriptUrl()
#7
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CClientScript.php(315): CClientScript->getPackageBaseUrl(“extjs”)
#8
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CClientScript.php(208): CClientScript->renderCoreScripts()
#9
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CController.php(351): CClientScript->render(“<div id = “oseappcontainer”> <div class=”container”> <div id=…”)
#10
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CController.php(788): CController->processOutput(“<div id = “oseappcontainer”> <div class=”container”> <div id=…”)
#11
– /home/think/public_html/wp/wp-content/plugins/ose-firewall/protected/controllers/BaseController.php(73): CController->render(“index”)
68 }
69
70 public function actionIndex() {
71 // renders the view file ‘protected/views/dashboard/index.php’
72 // using the default layout ‘protected/views/layouts/main.php’
73 $this->render(‘index’);
74 }
75 }
#12
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/actions/CInlineAction.php(49): BaseController->actionIndex()
#13
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CController.php(308): CInlineAction->runWithParams(array(“page” => “ose_firewall”))
#14
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CController.php(286): CController->runAction(CInlineAction)
#15
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array())
#16
+ /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CWebApplication.php(282): CController->run(“index”)
#17
– /home/think/public_html/wp/wp-content/plugins/ose-firewall/protected/library/oseFirewallBase.php(104): CWebApplication->runController(“dashboard/index”)
099 return true;
100 }
101 }
102 public static function dashboard () {
103 self::runYiiApp();
104 Yii::app()->runController(‘dashboard/index’);
105 }
106 public static function manageips () {
107 self::runYiiApp();
108 Yii::app()->runController(‘manageips/index’);
109 }
#18
unknown(0): oseFirewallBase::dashboard(“”)
#19
– /home/think/public_html/wp/wp-includes/plugin.php(429): call_user_func_array(“oseFirewall::dashboard”, array(“”))
424 reset( $wp_filter[ $tag ] );
425
426 do {
427 foreach ( (array) current($wp_filter[$tag]) as $the_ )
428 if ( !is_null($the_[‘function’]) )
429 call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));
430
431 } while ( next($wp_filter[$tag]) !== false );
432
433 array_pop($wp_current_filter);
434 }
#20
+ /home/think/public_html/wp/wp-admin/admin.php(217): do_action(“toplevel_page_ose_firewall”)
- The topic ‘PHP Error on load of OSE Plugin’ is closed to new replies.