• 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

Large file upload: No image has been uploaded

Status
Not open for further replies.
Most likely php.ini values, memory limit should be 256MB to be safe, max file size, 128 or 256MB.. just make sure the upload looking things aren't small i guess. xD
 
The response from the debug is this:
PHP:
a Array ( ) 0

The same image doing the request using remote uploads output this:
PHP:
{"error":"true","errorMsg":"Invalid image"}

Small images are OK, so I believe that the problem is time execution limit in php.ini, try to increase it.
 
This is my original php.ini:

Code:
max_execution_time = 180
max_input_time = 120
;max_input_nesting_level = 64
memory_limit = 256M

It still doesn't work when I increase to 1200 for both input time and execution time for testing sake, and memory limit to 512MB. Then restart apache to confirmed the value in place (php.info here)

There's cloudflare in front of it but the last time I test without cloudflare, it was having the same problem hmm. I don't have any upload problem for other scripts with cloudflare

upload_max_filesize is 64MB

The upload breaks between 8MB - 8.5MB file size. I tried with the API and it also breaks, hmmm
 
Problem is most likely the execution limit or post max size. Chevereto doesn have chunked uploads in version 2 so the upload process could take a lot of time to complete and php trends to kill that.
 
Thank you for mentioning about the post max size. You nailed it. Stupid me... I thought I had it set along with the upload max size.

Problem solved. Thanks again.
 
Do you use cPanel, i barely touched my php.ini, most of it is still from cPanel installation, unless my host changed it, i have no idea.
 
I own my server. I use DirectAdmin for easier maintenance task.

I have a highly customized apache config + nginx config and various caching system in place. I change my php.ini ages ago and occasionally I tune some cache setting there.
 
Most of us have our own server as well, you aren't alone.

I myself use nginx and apache, but currently awaiting advice on best php caching.
 
Status
Not open for further replies.
Back
Top