Hallo zusammen,
nach einem lange Zeit vernachlässigtem und nun durch MySQL 8 erzwungenem Update auf die aktuelle LimeSurvey LTS v3.27.22 bekomme ich einen open_basedir Fehler. Die PHP Versionen 7.2, 7.3 und 7.4 ändern daran nichts. Auch habe ich schon beide Variante mit DOCROOT und WEBROOT durchprobiert. Habt ihr eine Idee?
Webhosting 8000
Code
PHP warning
is_file(): open_basedir restriction in effect. File(/usr/local/php73/share/php73/DbStorage.php) is not within the allowed path(s): (/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/:/tmp/:/var/lib/php/sessions:/var/www/vhosts/hosting123456.a2fee.netcup.net/tmp)
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/framework/YiiBase.php(450)
438 elseif($classMapOnly)
439 return false;
440 else
441 {
442 // include class file relying on include_path
443 if(strpos($className,'\\')===false) // class without namespace
444 {
445 if(self::$enableIncludePath===false)
446 {
447 foreach(self::$_includePaths as $path)
448 {
449 $classFile=$path.DIRECTORY_SEPARATOR.$className.'.php';
450 if(is_file($classFile))
451 {
452 include($classFile);
453 if(YII_DEBUG && basename(realpath($classFile))!==$className.'.php')
454 throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array(
455 '{class}'=>$className,
456 '{file}'=>$classFile,
457 )));
458 break;
459 }
460 }
461 }
462 else
Stack Trace
#0
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/framework/YiiBase.php(450): is_file("/usr/local/php73/share/php73/DbStorage.php")
#1
unknown(0): YiiBase::autoload("DbStorage")
#2
unknown(0): spl_autoload_call("DbStorage")
#3
–
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/libraries/PluginManager/PluginManager.php(103): class_exists("DbStorage")
098 * If needed initializes the storage object.
099 * @param string $storageClass
100 */
101 public function getStore($storageClass)
102 {
103 if (!class_exists($storageClass)
104 && class_exists('LimeSurvey\\PluginManager\\'.$storageClass)) {
105 $storageClass = 'LimeSurvey\\PluginManager\\'.$storageClass;
106 }
107 if (!isset($this->stores[$storageClass])) {
108 $this->stores[$storageClass] = new $storageClass();
#4
–
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/libraries/PluginManager/PluginBase.php(162): LimeSurvey\PluginManager\PluginManager->getStore("DbStorage")
157 * @return iPluginStorage
158 */
159 public function getStore()
160 {
161 if (is_null($this->store)) {
162 $this->store = $this->pluginManager->getStore($this->storage);
163 }
164
165 return $this->store;
166 }
167
#5
–
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/libraries/PluginManager/PluginBase.php(96): LimeSurvey\PluginManager\PluginBase->getStore()
091 * @param mixed $default The default value to use when not was set
092 * @return boolean
093 */
094 protected function get($key = null, $model = null, $id = null, $default = null)
095 {
096 return $this->getStore()->get($this, $key, $model, $id, $default);
097 }
098
099 /**
100 * Return the description for this plugin
101 */
#6
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/core/plugins/ComfortUpdateChecker/ComfortUpdateChecker.php(68): LimeSurvey\PluginManager\PluginBase->get("animate_icon", null, null, false)
#7
unknown(0): ComfortUpdateChecker->beforeAdminMenuRender()
#8
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/libraries/PluginManager/PluginManager.php(185): call_user_func(array(ComfortUpdateChecker, "beforeAdminMenuRender"))
#9
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/core/Survey_Common_Action.php(1263): LimeSurvey\PluginManager\PluginManager->dispatchEvent(PluginEvent)
#10
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/core/Survey_Common_Action.php(479): Survey_Common_Action->fetchExtraMenus(array("issuperadmin" => true, "showLastSurvey" => true, "surveyTitle" => "Brille (ID:916997)", "surveyUrl" => "/admin/survey/sa/view/surveyid/916997", ...))
#11
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/views/admin/super/layout_main.php(10): Survey_Common_Action->_showadminmenu(array("issuperadmin" => true, "showLastSurvey" => true, "surveyTitle" => "Brille (ID:916997)", "surveyUrl" => "/admin/survey/sa/view/surveyid/916997", ...))
#12
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/core/Survey_Common_Action.php(241): require("/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub....")
#13
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/core/Survey_Common_Action.php(347): Survey_Common_Action->renderInternal("/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub....", array("content" => "<x-test id="action::index"></x-test> <!-- Welcome view --> <div...", "aData" => array("issuperadmin" => true, "showLastSurvey" => true, "surveyTitle" => "Brille (ID:916997)", "surveyUrl" => "/admin/survey/sa/view/surveyid/916997", ...)), true)
#14
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/controllers/admin/index.php(89): Survey_Common_Action->_renderWrappedTemplate("super", "welcome", array("issuperadmin" => true, "showLastSurvey" => true, "surveyTitle" => "Brille (ID:916997)", "surveyUrl" => "/admin/survey/sa/view/surveyid/916997", ...))
#15
unknown(0): Index->run()
#16
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs(Index, array())
#17
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(Index, ReflectionMethod, array())
#18
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array())
#19
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/framework/web/CController.php(286): CController->runAction(Index)
#20
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/framework/web/CController.php(265): CController->runActionWithFilters(Index, array())
#21
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/application/controllers/AdminController.php(165): CController->run("")
#22
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/framework/web/CWebApplication.php(282): AdminController->run("")
#23
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/framework/web/CWebApplication.php(141): CWebApplication->runController("admin")
#24
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/framework/base/CApplication.php(185): CWebApplication->processRequest()
#25
+
/var/www/vhosts/hosting123456.a2fee.netcup.net/httpdocs/sub.domain.de/index.php(194): CApplication->run()
2021-10-26 22:14:07 Apache Yii Framework/1.1.24-dev
Alles anzeigen