ElkArte Community

Project Support => Support => Topic started by: kucing on September 11, 2018, 10:26:40 pm

Title: Are failed upload attachment logged on Elkarte?
Post by: kucing on September 11, 2018, 10:26:40 pm
Since i upgraded from 1.0.10 to 1.1.15 me and my forum members cannot upload any attachment (images). and i don't see anything on the log in administration.

can anybody point me where should i look it?

i already chmod the directories to the appropriate settings. even trying 777 briefly.
Title: Re: Are failed upload attachment logged on Elkarte?
Post by: emanuele on September 12, 2018, 08:41:38 am
Hmm...
What does it happen exactly when you upload a file?
When you "realize" the upload failes?
Title: Re: Are failed upload attachment logged on Elkarte?
Post by: kucing on September 15, 2018, 09:13:02 am
Code: [Select]
There was a problem during the uploading of 2016-11-06 20_54_56-Steam.png.
There was a problem and your attachments could not be uploaded, Your attachment couldn't be saved. This might happen because it took too long to upload or the file is bigger than the server will allow.

Please consult your server administrator for more information.

it doesn't too long to upload and the file size is very small.

my current php settings is 117MB for size (and including Nginx too), and 120 seconds for time max process.
Title: Re: Are failed upload attachment logged on Elkarte?
Post by: emanuele on September 16, 2018, 02:09:32 am
Sorry for the delay in the reply.
Can you check what is the actual value set in the admin panel please? (A screenshot would do.)
Title: Re: Are failed upload attachment logged on Elkarte?
Post by: kucing on September 17, 2018, 09:06:39 am
no problem.

what should i get? where is it?
Title: Re: Are failed upload attachment logged on Elkarte?
Post by: emanuele on September 18, 2018, 06:51:44 am
In admin > forum > attachments > attachments settings
Title: Re: Are failed upload attachment logged on Elkarte?
Post by: radu81 on September 18, 2018, 03:07:38 pm
I usually see that error if I don't wait until every attachments gets to 100% when uploading. Are you waiting till 100% or do you press the "Post" button quickly after selecting attachments?
Title: Re: Are failed upload attachment logged on Elkarte?
Post by: kucing on September 20, 2018, 12:15:04 am
Quote from: emanuele – In admin > forum > attachments > attachments settings

thanks. incorrect path after migration to new vps.

-

related. i've done migration several times and hardcoded paths made me headache everytime. can elkarte 2.0 use relative paths if possible?
Title: Re: Are failed upload attachment logged on Elkarte?
Post by: emanuele on September 20, 2018, 02:24:05 am
I've always been a bit uncertain myself about that.
Indeed I'd like to simplify something, but honestly I'm not sure how.