• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Max. image size (5 MB) is greater than the value in php.ini (5B B)

Status
Not open for further replies.

Kayz

Chevereto Member
Hi guys I moved servers from one host to another. I transferred the files and database exactly but I keep getting this error below:


There is a problem regarding your config setup. This means that Chevereto won't run because the config is not valid:
  • Max. image size (5 MB) is greater than the value in php.ini (5B B)
Please double-check your settings in the includes/config.php file.

My server php.ini and includes/config.php already showing 5mb upload, but why does it not work now?

Your help would be greatly appreciated.
 
Do what it says. Your system (server, not the script) doesn't allow that upload size.
 
"5" is not a valid size for upload_max_filesize in php.ini. A valid value is "5M"
 
Strange the setting was already set to upload_max_filesize = 5M

The issue was I found out the post_max_size needed to be the same as the upload_max_filesize, I have now set them both at 8M and it appears to be working fine now.

Many thanks for your help.
 
Status
Not open for further replies.
Back
Top