Moin Nuxwin
I have a problem with xenforo 2.1 (PHP application). I have to modify the open_basedir because I need add the /tmp path to the list of allowed paths. Right now, I get the following error:
Code
- Fehlermeldung des Servers
- ErrorException: [E_WARNING] tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/virtual/gameserversupport.de/:/opt/phpswitcher/static/php7.2/share/pear/) src/addons/XenSoluce/AvatarGallery/XF/Pub/Controller/Account.php:22
- Generiert durch: webmaster 27 Oktober 2019 um 15:02 Uhr
- Stapelverfolgung
- #0 [internal function]: XF::handlePhpError(2, '[E_WARNING] tem...', '/var/www/virtua...', 22, Array)
- #1 src/addons/XenSoluce/AvatarGallery/XF/Pub/Controller/Account.php(22): tempnam('/tmp', 'php')
- #2 src/XF/Mvc/Dispatcher.php(321): XenSoluce\AvatarGallery\XF\Pub\Controller\Account->actionAvatar(Object(XF\Mvc\ParameterBag))
- #3 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'Avatar', Object(XF\Mvc\RouteMatch), Object(SV\SearchImprovements\XF\Pub\Controller\Account), NULL)
- #4 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SearchImprovements\XF\Pub\Controller\Account), NULL)
- #5 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
- #6 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
- #7 src/XF.php(390): XF\App->run()
- #8 index.php(20): XF::runApp('XF\\Pub\\App')
- #9 {main}
- Benötigter Status
- array(4) {
- ["url"] => string(15) "/account/avatar"
- ["referrer"] => string(42) "https://www.xenforo2.gameserversupport.de/"
- ["_GET"] => array(0) {
- }
- ["_POST"] => array(8) {
- ["avatar_crop_x"] => string(1) "0"
- ["avatar_crop_y"] => string(1) "0"
- ["use_custom"] => string(1) "1"
- ["gallery_avatar"] => string(40) "gallery_avatars/Halloween/cat-2-icon.png"
- ["_xfToken"] => string(8) "********"
- ["_xfRequestUri"] => string(1) "/"
- ["_xfWithData"] => string(1) "1"
- ["_xfResponseType"] => string(4) "json"
- }
- }
My system
all addons are current