MG 1.1 Template to string error: Cannot save file data/xengallery/dummy/dummy.jpg

jo8jo

Member
Hi, i'm getting an error since some days when i'm trying to add some pictures to a new album:

Code:
Template to string error:Cannot save file data/xengallery/dummy/dummy.jpg - library/XenGallery/Helper/Image.php:847
Generiert durch: Admin, Vor 3 Minuten
Code:
#0 /www/htdocs/xyz/forum/library/XenGallery/Template/Helper/Core.php(199): XenGallery_Helper_Image->saveToPath('data/xengallery...')
#1 [internal function]: XenGallery_Template_Helper_Core::helperDummyImage('visible', '', 'thumbImage')
#2 /www/htdocs/xyz/forum/library/XenForo/Template/Helper/Core.php(853): call_user_func_array(Array, Array)
#3 /www/htdocs/xyz/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code(335): XenForo_Template_Helper_Core::callHelper('dummy', Array)
#4 /www/htdocs/xyz/forum/library/XenForo/Template/Abstract.php(265): eval()
#5 /www/htdocs/xyz/forum/library/XenForo/Template/Abstract.php(191): XenForo_Template_Abstract->_renderInternal('$__output = '';...', Array)
#6 /www/htdocs/xyz/forum/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#7 /www/htdocs/xyz/forum/library/XenForo/Template/Abstract.php(528): XenForo_Template_Public->render()
#8 /www/htdocs/xyz/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code(3): XenForo_Template_Abstract->__toString()
#9 /www/htdocs/xyz/forum/library/XenForo/Template/Abstract.php(265): eval()
#10 /www/htdocs/xyz/forum/library/XenForo/Template/Abstract.php(191): XenForo_Template_Abstract->_renderInternal('$__output = '';...', Array)
#11 /www/htdocs/xyz/forum/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#12 /www/htdocs/xyz/forum/library/XenForo/ViewRenderer/HtmlPublic.php(123): XenForo_Template_Public->render()
#13 /www/htdocs/xyz/forum/library/XenForo/FrontController.php(637): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#14 /www/htdocs/xyz/forum/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#15 /www/htdocs/xyz/forum/index.php(13): XenForo_FrontController->run()
#16 {main}
Code:
array(3) {
  ["url"] => string(45) "http://www.xyz.de/forum/media/albums"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Thanks for any help / support :)
 

Chris D

XenForo developer
Staff member
This looks like it's probably a file permissions issue.

Make sure that the following directories and all their sub directories and files are fully writable and owned by the correct user. Your host might be able to help with this if you're unsure.

data/
data/xengallery/
data/xengallery/dummy/
 

jo8jo

Member
Thanks Chris, setting the permissons to 777 for dummy.jpg did it.
No idea why this worked some weeks ago..
 
Top