XF 2.1 Failed to Open Stream: Permission Denied

MegaPixel

Active member
Hello,

We have upgraded to 2.1 on a development site and some (not all) avatars are erroring on it, hiding the avatar and causing error logs.
This is the error we're getting:

ErrorException: [E_WARNING] fopen(/development/internal_data/image_cache/3/3663-21184928a3f676ab72c5b8ca64a00bda.data): failed to open stream: Permission denied src/vendor/league/flysystem/src/Adapter/Local.php:158

I'm just unsure what permission I need to be amending for this? I've not had this issue on live or development tests on 2.0 so I'm not entirely sure what direction I ought to be taking. Is anyone able to advise please?

Kind Regards,
Jamie
 
That's going to be a server related issue to permissions or ownership of the directories/files.

The /data and /internal_data directories should be chmod recursively to 0777.If you are unable to resolve it your host will have to resolve it.
 
Back
Top Bottom