We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Avatar Upload Problem [Solved] | Forum

Topic location: Forum home » Support » General Questions
Daniel
Daniel Jan 29 '15
Hi


I have installed Oxwall successfully with no errors and everything appears to be ok, apart from I cannot upload any avatar.


I click "change avatar" then the screen darkens and a loading bar continuously "loads".


I get no further than this.


I have checked the forum for any possible resolutions, i have checked permissions over ftp for at least 2 avatar folders are 777, i have tried removing one of the .htaccess files, I cannot find a solution to this problem.


Does anybody know of anything that might be causing this, or something that I can try?


Thanks in advance for your time and any help.


Dan 

The Forum post is edited by Taissa Feb 18 '15
ross Team
ross Jan 29 '15
Check your firebug console for javascript errors.
I think there must be something like: Not acceptable or Forbidden error, which means there's mod_security module enabled on your server. You will need to disable it.
Daniel
Daniel Jan 30 '15
Hi

Thank you for your reply.

I did as you suggested and used firebug while on the site, when on the profile page I click "change avatar and the following appears:

POST http://mywebsite.com/...08807366248220205200 OK199ms

There doesn´t appear to be any error when I click. It just continuously loads.

On the website I notice the following quite often:

POST http://mywebsite.com/base/ping/index/200 OK189msPOST http://mywebsite.com/base/ping/index/200 OK194msPOST http://mywebsite.com/base/ping/index/500 Internal Server Error362msPOST http://mywebsite.com/base/ping/index/200 OK491msPOST http://mywebsite.com/base/ping/index/200 OK185ms
POST http://mywebsite.com/base/ping/index/500 Internal Server Error62msHeadersPostResponseHTMLResponseHeadersDateFri, 30 Jan 2015 15:05:25 GMTContent-EncodinggzipServerATS/4.2.2Age0VaryAccept-EncodingContent-Typetext/htmlCache-Controlmax-age=0Connectionkeep-aliveContent-Length20ExpiresFri, 30 Jan 2015 15:05:25 GMTRequestHeadersContent-Typeapplication/x-www-form-urlencoded; charset=UTF-8Acceptapplication/json, text/javascript, */*; q=0.01X-Requested-WithXMLHttpRequest

Either way, I looked at the mod_security possibility.

At the server this message is displayed which i would assume is OK for what I am trying to do:

Mod_rewrite & .htaccess
Enabled

Just in case though, I found that adding the following code to the .htaccess file would quite possibly turn it off if it was "on", as long as the server didn't have an override.

<IfModulemod_security.c>SecFilterEngine Off SecFilterScanPOST Off </IfModule>

This did not make a difference.

I have  then tried more times at changing the avatar and sometimes it shows up red.

POST http://mywebsite.com/....6726929782889783500 Internal Server Error64msParamsHeadersPostResponseHTMLcmpClassBASE_CMP_AvatarChanger0.6726929782889783

I get the feeling it may be some kind of timing out problem, could it be that?

Again, thanks for any help in advance

Dan

The Forum post is edited by Taissa Feb 15 '15
Taissa Team
Taissa Feb 15 '15
Daniel, as we can see from log you've provided any sent requests by our software return with 500 Internal server Error message.

It means our requests most probably are blocked by mod_security enabled on the server.

Try to completely disable the mod_security module to be sure it's not a reason of problem.

If this doesn't change situation, please send us the limits of directives below:

post_max_size 
upload_max_filesize
memory_limit
file_uploads

We also need an information of sent POST:
- Go to Dashboard page
- Enable FireBug console
- Click the Change Avatar link
- Click the change avatar POST in FireBug console
- Click Response tab and provide this information

And, please, check your server error.log file if it's contains any errors.
If so, please, list them here.
Daniel
Daniel Feb 16 '15
Hi, i have not been able to respond to this thread for some time now, my replies never appear. I am trying from my mobile at the moment. When i thought it may have been a timeout problem i spoke to the hoster and they seemed to think it may have been due to some limitations they had, things have been changed and there are no limitations now, although I have reinstalled oxwall and the avatar upload works fine now. I have been trying to respond for a while now.
Daniel
Daniel Feb 16 '15
Thank you all for the help!
Taissa Team
Taissa Feb 18 '15

Great. Thanks for letting us know. I'm going to mark this thread as Solved

falancas
falancas Feb 18 '15
Why is it so problematic Oxwall???
Taissa Team
Taissa Feb 19 '15
falancas, what do you mean by saying "so problematic" ?
If you are saying about server configurations/limits, in no way we can't affect it and moreover we can't predict what configurations/limits will be set at that or this server.