Conversation
Notices
-
Colegota El Villano (colegota@gnusocial.villanos.net)'s status on Thursday, 15-Mar-2018 07:42:21 UTC Colegota El Villano @hannes @mmn need some help, please!
Did installed this node to learn and try to improve !gnusocial. Most of it works but I have problems to upload images. After some days searching I've installed #mod_mime_magic in my server and now I can upload images via classic interface but it keeps wrong in !qvitter
Gives an error that maybe format it's not supported or file size it's too big, but I've tried just 2k gifs or 100k jpeg.
file directory it's 777 and it's full with timeline images and the ones uploaded by classic interface.
Did opened issues at gnu.io and asked at #irc but has no answer.
cc/ @colegota @drymer- drymer likes this.
- drymer repeated this.
-
Hannes (hannes2peer@quitter.se)'s status on Thursday, 15-Mar-2018 08:08:08 UTC Hannes @colegota open the javascript console and see what error the api responds with when uploading fails Colegota El Villano repeated this. -
Colegota El Villano (colegota@gnusocial.villanos.net)'s status on Thursday, 15-Mar-2018 08:21:39 UTC Colegota El Villano @hannes2peer @colegota
When opening dialog:
regular click triggered on input file element misc-functions.js:74
<unavailable> misc-functions.js:81
When choosing file from hard disk:
POST XHR https://x:x@gnusocial.villanos.net/api/statusnet/media/upload [HTTP/1.1 500 Internal Server Error 546ms] -
Hannes (hannes2peer@quitter.se)'s status on Thursday, 15-Mar-2018 08:59:14 UTC Hannes @colegota internal server error means you should check php's log and see what it says -
Colegota El Villano (colegota@gnusocial.villanos.net)'s status on Thursday, 15-Mar-2018 11:06:31 UTC Colegota El Villano @hannes2peer ¿suphp_log? -
Colegota El Villano (colegota@gnusocial.villanos.net)'s status on Thursday, 15-Mar-2018 16:25:18 UTC Colegota El Villano @hannes2peer
/var/log/messages:
Mar 15 17:14:53 vps statusnet: [gnusocial.villanos.net:914.d60502a1 POST /api/statusnet/media/upload] Handled serverError (500) but cannot output into desired format (NULL): 'Error setting user. Missing authorization header data. Please logout and login again.'
Mar 15 17:14:53 vps statusnet: [gnusocial.villanos.net:914.d60502a1 POST /api/statusnet/media/upload] ServerErrorAction: 500 Error setting user. Missing authorization header data. Please logout and login again.
/var/log/apache2/domlogs/gnusocial.villanos.net-ssl_log;
81.36.81.116 - - [15/Mar/2018:17:21:24 +0100] "POST /api/statusnet/media/upload HTTP/1.1" 500 111 "https://gnusocial.villanos.net/colegota/notifications" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
cc/ @drymer -
Colegota El Villano (colegota@gnusocial.villanos.net)'s status on Friday, 16-Mar-2018 10:23:12 UTC Colegota El Villano @drymer @hannes2peer BTW seems the same that this issue:
https://git.gnu.io/h2p/Qvitter/issues/79
In that case it was due to download an ancient version from github, but I'm using GNU Social nightly and qvitter both from git.gnu.io
Did found some places that talks about put this on .htacces but mine already has.
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] -
Hannes (hannes2peer@quitter.se)'s status on Friday, 16-Mar-2018 22:27:39 UTC Hannes @colegota i checked now and if you get the "Error setting user. Missing..." error you don't use the latest qvitter version from git.gnu.io -
Colegota El Villano (colegota@gnusocial.villanos.net)'s status on Saturday, 17-Mar-2018 11:02:37 UTC Colegota El Villano @hannes2peer glups! so sorry, you are right!
Did checked my "padlog" [1] and I took it from github. So will remove current Qvitter directory and clone the correct one.
[1] https://pad.disroot.org/p/gsncp# -
Colegota El Villano (colegota@gnusocial.villanos.net)'s status on Saturday, 17-Mar-2018 11:29:22 UTC Colegota El Villano @hannes2peer so I've installed correct !qvitter version and I can upload images. Also correct the problem that I can't modify my profile from #qvitter.
Later I'll change my issues to solved.
Thanks a lot!
cc/ @drymerdrymer likes this.