• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

getting error unexpectedly

Bombardier

Active member
#1
Code:
An exception occurred: copy(/usr/home/****/public_html/community/data/xengallery/0/662-77a8e1ba625c10c5fd6dc9d97f0a0dd5.jpg): failed to open stream: Permission denied in /usr/home/******/public_html/community/library/XenGallery/Helper/Image.php on line 844

XenForo_Application::handlePhpError()
copy() in XenGallery/Helper/Image.php at line 844
XenGallery_Helper_Image->saveToPath() in XenGallery/Deferred/Thumbnail.php at line 62
XenGallery_Deferred_Thumbnail->execute() in XenForo/Model/Deferred.php at line 295
XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 429
XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 374
XenForo_Model_Deferred->run() in XenForo/ViewRenderer/Abstract.php at line 352
XenForo_ViewRenderer_Abstract::hasManualDeferredToRun() in XenForo/ViewRenderer/Json.php at line 147
XenForo_ViewRenderer_Json::_addDefaultParams() in XenForo/ViewRenderer/Json.php at line 185
XenForo_ViewRenderer_Json::jsonEncodeForOutput() in XenForo/ViewAdmin/Error/ServerError.php at line 47
XenForo_ViewAdmin_Error_ServerError->renderJson() in XenForo/ViewRenderer/Abstract.php at line 227
XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/Json.php at line 88
XenForo_ViewRenderer_Json->renderView() in XenForo/FrontController.php at line 605
XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
XenForo_FrontController->run() in /usr/home/wozzer/public_html/community/admin.php at line 13
 

Bombardier

Active member
#2
Sorry should have mentioned that I get this error when trying to rebuild ALbum thumbnails.
I noticed quite unexpectedly that some of my album thumbnails were not displaying. I can change them maullay and they work when I do so.
I have no idea why this happened the only thing that I have changed is the addition of Andys robot addon however I have disabled that for the time being and still get this error?
 

Brogan

XenForo moderator
Staff member
#3
That looks to be a file server permissions issue.

Ensure that the data and internal_data directories are chmod 0777 recursively.
 

Bombardier

Active member
#4
Well I was sure my Data & Internal data were set to 777 but I went and did it again.
The problem still persists. I even tried to edit a tag in the admin CP and got the same error.

As I said previously the only change I have made is installing the robots addon. Even when this is disabled I get the same error.
Should I uninstall the addon? if so will it cause any other issues?
I am really lost with this one, cant think it could be to do with anything else as I have not made any other changes.
 

Bombardier

Active member
#6
I have just done a file health check and the two files js/redactor/redactor.full.js & js/redactor/redactor.js are showing potential problems
These are the two files uploaded for V1.5.5a is this expected?
 

Mike

XenForo developer
Staff member
#7
Note specifically the recursive chmod element Brogan mentioned -- here, the xengallery/ directory and then the xengallery/0/ directory (and maybe even the file listed itself, if it exists).

If it's still erroring and you're positive you've done all that, it might imply your host has added an additional permissions system or other permission constraints that are blocking these file writes.

These are the two files uploaded for V1.5.5a is this expected?
If you uploaded them separately, yes.
 

Bombardier

Active member
#8
Well I am baffled although I may have sorted it out.
I changed the particular files permissions and then I got the exact same error but with the next file in the directory so I recursively changed them all and things looked like they were working but then I got an error for the next folder /1 ?
I am in the process of recursively changing all the files permissions and I am hopeful that it will work.

I know that I havent changed any permissions so it is likely that you are right and my server has changed something without my knowledge that is causing this issue.
I will keep you posted. and thank you