When I try to upload to my gallery, I receive the error message you see in the title. The file does actually upload, as I can plainly see it in my cPanel file manager, but if I try to load the gallery after uploading the new image, I get an additional error message: “lsolesen pel peljpeginvalidmarkerexception thrown”. If I delete the uploaded image and reload the gallery, everything is fine. All the older images are all there.
I performed a Google search and based on suggestions through that search, I have tried the following:
Uploading a different image.
Uploading a smaller image.
Upgrading my php to 7.0 (the highest version currently available with my host)
Ensuring my php memory limit is at least 250MB (it is set to 256)
Ensuring upload limit is set to 30MB or higher (it is set to 64)
Deactivating all plugins but NextGen Gallery and trying again (didn’t work)
Replacing my theme with Twenty Seventeen and trying again (didn’t work)
Checking file permissions of wp-content folder (set to 755)
My permalinks are already set to post name
All that and I am still not able to successfully upload to a gallery and have the gallery load. Could it really be just the difference between PHP 7.0 and 7.2?!?!?!
The page I need help with: [log in to see the link]
- The topic ‘Could not write to file. Please check filesystem permissions.’ is closed to new replies.