Sunka
Well-known member
Any thoughts?
Code:
Server Error Log
Error Info
ErrorException: tempnam(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/nginx/domains/pijanitvor.com/public/:/usr/local/lib/php/:/tmp/) - library/XenGallery/Helper/Image.php:109
Generated By: Branko, A moment ago
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'tempnam(): open...', '/home/nginx/dom...', 109, Array)
#1 /home/nginx/domains/pijanitvor.com/public/library/XenGallery/Helper/Image.php(109): tempnam('/', 'xfmg')
#2 /home/nginx/domains/pijanitvor.com/public/library/XenGallery/Helper/Image.php(44): XenGallery_Helper_Image->setPathToTempFiles('/home/nginx/dom...')
#3 /home/nginx/domains/pijanitvor.com/public/library/XenGallery/Model/File.php(75): XenGallery_Helper_Image->__construct('/tmp/xfmgFa8hq5')
#4 /home/nginx/domains/pijanitvor.com/public/library/XenGallery/ControllerPublic/File.php(378): XenGallery_Model_File->insertUploadedAttachmentData(Object(XenForo_Upload), 4358)
#5 /home/nginx/domains/pijanitvor.com/public/library/XenForo/FrontController.php(351): XenGallery_ControllerPublic_File->actionDoDownload()
#6 /home/nginx/domains/pijanitvor.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /home/nginx/domains/pijanitvor.com/public/index.php(13): XenForo_FrontController->run()
#8 {main}
Request State
array(3) {
["url"] => string(172) "https://www.pijanitvor.com/media/files/do-download?hash=163b5033b927410496f7a8a52c0e1340&content_type=xengallery_media&content_data[category_id]=18&upload_type=image_upload"
["_GET"] => array(5) {
["/media/files/do-download"] => string(0) ""
["hash"] => string(32) "163b5033b927410496f7a8a52c0e1340"
["content_type"] => string(16) "xengallery_media"
["content_data"] => array(1) {
["category_id"] => string(2) "18"
}
["upload_type"] => string(12) "image_upload"
}
["_POST"] => array(5) {
["image_url"] => string(44) "http://s20.postimg.org/5khh8lf4d/dsc0123.jpg"
["_xfRequestUri"] => string(25) "/media/add?category_id=17"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}