• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

one image upload is not working in server which worked in demo site

Status
Not open for further replies.
I have updated " $settings['debug_level'] = 1; " to " $settings['debug_level'] = 3; " and then load the website but nothing was showing on website and again i have changed the value to 1 . I already shared you the credentials can you please check?
 
Yes I can, but is not fast as when you feed me the error. I will check soon as I'm able to.
 
It's not working from my side till now. I have seen the image you uploaded but the issue is same from me. Other images are uploading without any issue. And I send you the image of 3.3 MB but why your image size is 365KB?
 
My bad, I just saved the image not click "download".

Your server is failing in the following:

1. Error log is not working properly and is not storing everything what PHP throws.
2. I had to enable errors here:
upload_2017-9-28_18-51-13.png
And force debug level 3 to get the error:

Here:
Code:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes) in /var/www/vhosts/httpdocs/app/lib/classes/class.imageresize.php on line 206

So it is RAM after all, just like @Focker told you earlier.

3. You have 512M in Plesk memory limit page, but your website only allows at most 256M.

Here, this is what the website is actually using:
upload_2017-9-28_18-55-46.png

And here are your plesk settings:

upload_2017-9-28_18-56-34.png

So basically, you are using just 256M and to handle images that big you need at least 512M. But, there is more in this thing.

Demo can easily handle that image and the memory limit there is just 128M so the problem is that your server RAM is not working properly or simply you are using too much that machine (you have plenty websites in that machine).

You will always have issues if you try to fit a bunch of websites with low hardware specs. Indeed, this is what you have:

upload_2017-9-28_19-0-54.png

The problem is memory, your machine can't barely handle the load that you are throwing to it.
 
Hello, I have contacted the hosting team and shared them this discussion and they replied me -

"
Hello AZAHAR,

I've adjusted the php modules post_max_size & upload_max_filesize values by now. So, please check it out and if the problem persists, just consult it with your application developer and ask them to recheck the settings briefly. "

It's still not working
 
I'm sorry, but your server is not properly handling memory and I can't fix that thing.

The fact that this happens in other websites only tells you that there are more servers with the same issue, I've saw how managed websites (cpanel and plesk) don't actually allocate the ram that is supposed to be allocated, in a VPS this doesn't happens and with mere 128M it works fine.

I'm aware of your frustration here, but I can't do anything else. Get a better server or just don't allow big images.
 
Status
Not open for further replies.
Back
Top