DRE
Well-known member
I recently transferred hosts. Got an error when trying to upload a video to the member gallery. It did not save the screenshot. Does that mean the permissions for the media folder in the data folder is wrong? Right now its set to CMOD 755 I have no idea what it was like before the site was migrated over but I can say that the data and the internal_data folders was 755 instead of CMOD 777 as they are supposed to be after the site transfer. Is that a server issue? Problem is that I don't know which folders were CMOD to 777 INSIDE the data and internal_data folder.
Okay I did an experiment and copied my data folder from the previous server to a subfolder on this site and it automatically turned all the data internal_data folders to 755.
This is the error I got when uploading a video.
imagejpeg(/home/user/public_html/data/media/470.jpg): failed to open stream: Permission denied
XenForo_Application::handlePhpError()
imagejpeg() in XenForo/Image/Gd.php at line 208
XenForo_Image_Gd->output() in EWRmedio/Model/Thumbs.php at line 45
EWRmedio_Model_Thumbs->buildThumb() in EWRmedio/Model/Media.php at line 193
EWRmedio_Model_Media->updateMedia() in EWRmedio/ControllerPublic/Media.php at line 183
EWRmedio_ControllerPublic_Media->actionSubmit() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/user/public_html/index.php at line 13
imagejpeg(/home/user/public_html/data/media/470.jpg): failed to open stream: Permission denied
Okay I did an experiment and copied my data folder from the previous server to a subfolder on this site and it automatically turned all the data internal_data folders to 755.
This is the error I got when uploading a video.
imagejpeg(/home/user/public_html/data/media/470.jpg): failed to open stream: Permission denied
XenForo_Application::handlePhpError()
imagejpeg() in XenForo/Image/Gd.php at line 208
XenForo_Image_Gd->output() in EWRmedio/Model/Thumbs.php at line 45
EWRmedio_Model_Thumbs->buildThumb() in EWRmedio/Model/Media.php at line 193
EWRmedio_Model_Media->updateMedia() in EWRmedio/ControllerPublic/Media.php at line 183
EWRmedio_ControllerPublic_Media->actionSubmit() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/user/public_html/index.php at line 13
imagejpeg(/home/user/public_html/data/media/470.jpg): failed to open stream: Permission denied