ElkArte Community

Project Support => Support => Topic started by: stanstrup on June 17, 2016, 04:57:34 am

Title: Upload stuck at 100%
Post by: stanstrup on June 17, 2016, 04:57:34 am
When I upload a file the upload goes to 100% but then nothing happens. It seems to never really finish.

If I hit save the file is there though.

But the in-line attachment addons seems not be available if I go back and edit the post. In the sense that there is no button to insert the image. I can insert it just fine using the code.
Title: Re: Upload stuck at 100%
Post by: emanuele on June 17, 2016, 05:53:50 am
You mean here on this site or on your testing site or localhost or other?
Just to understand what kind of question I should ask later. :)
Title: Re: Upload stuck at 100%
Post by: meetdilip on June 17, 2016, 05:55:29 am
Since @stanstrup  is talking about ILA as an addon, I thought it was a local install.
Title: Re: Upload stuck at 100%
Post by: emanuele on June 17, 2016, 05:56:25 am
Better an answer from him than a wild guess on something as messy as attachments. ;)
Title: Re: Upload stuck at 100%
Post by: stanstrup on June 17, 2016, 06:26:08 am
Yes I mean on my own server installation. It works fine on this site.
Title: Re: Upload stuck at 100%
Post by: emanuele on June 17, 2016, 01:11:24 pm
I'll move the topic to support later.

Windows or linux?
Version of php?
If you open the development tool of your browser (if you have doubts about how to do, feel free to ask), can you have a look in the console to see if anything is logged?
Usually if something fails there is a message in the log that gives some details on the reason.
Title: Re: Upload stuck at 100%
Post by: stanstrup on June 17, 2016, 02:53:58 pm
I am not sure which linux destribution the server is running (I only have ftp and phpmyadmin access) but phpinfo is reporting the PHP version as 5.6.20-0+deb8u1.
The console is empty and the forum error logs don't say anything either :(
Title: Re: Upload stuck at 100%
Post by: ahrasis on June 17, 2016, 05:39:39 pm
That could be a debian / ubuntu package.  The first line should show system info, something like this: Linux tetuan.ahrasis.com 4.2.0-38-generic #45~14.04.1-Ubuntu SMP Thu Jun 9 09:27:51 UTC 2016 x86_64.

If it is Ubuntu it could be between 14.04 to 16.04 since the first is supporting php version 5.5 and the later is supporting php 7.0.
Title: Re: Upload stuck at 100%
Post by: stanstrup on June 17, 2016, 05:44:26 pm
Linux php-v156.wc1.ord1.stabletransit.com 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64
Title: Re: Upload stuck at 100%
Post by: emanuele on June 17, 2016, 05:52:03 pm
Could you provide a test account? (Normal user with permission to upload attachments is fine.)
If you don't want to make the forum public feel free to PM me the data.
Title: Re: Upload stuck at 100%
Post by: stanstrup on June 17, 2016, 06:13:42 pm
PM sent.
Title: Re: Upload stuck at 100%
Post by: emanuele on June 17, 2016, 06:58:46 pm
Okay, let me summarize things I missed while reading your post.
1) You are using Elk 1.0.7,
2) with the ILA addon installed.
Then it's working as expected.
The interface for inserting links has been added to the 1.1 code, also the format of the bbc tag is different: with the ILA addon you have to use
Code: [Select]
[attach=1]
where 1 is the number of the attachment (in the order of upload).
True that in the preview apparently it doesn't work, I seem to remember it worked, but maybe I'm mistaken because I never used the addon so... let's wait for Spuds in the other topic.

BTW: as a biologist I like the argument of the forum. :P
Title: Re: Upload stuck at 100%
Post by: stanstrup on June 17, 2016, 07:03:44 pm
Aha. OK. I was comparing to this forum that surely works more intuitively with the attachments.

Thanks for looking into it. Looking forward to the next version then.
Title: Re: Upload stuck at 100%
Post by: badmonkey on June 18, 2016, 12:59:39 am
Quote from: emanuele – BTW: as a biologist I like the argument of the forum. :P

Seems we have something in common!  :)


/hijack