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 after upgrade to 1.8.2 | Forum

Jozko
Jozko Apr 6 '16

I have problem with avatar upload (by registration or profile edit) after update to 1.8.2 and change "Options All -Indexes"  to #ptions All -Indexes  in the ow_static/.htaccess This change was made because of shared hosting.
It shows following errorPHP Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in /var/www/vhosts/mysite.com/httpdocs/ow_system_plugins/base/controllers/avatar.php on line 34, referer: http://www.mysite.com/profile/edit
I suspect it is provider's PHP version. Am i right or is something elese?
Thx for help. 

Oxwall Accessories
Oxwall Accessories Apr 6 '16
I am on php.5.6 and I have the same issue. I am also seeing that uploaded photos are not going into the pictures section. I assume its a bug with 1.8.2
ross Team
ross Apr 6 '16
Jozko, what is your php version? It should be 5.5+ now


OA, we cannot reproduce the issue with the photo you have. Seems like it is only on your side. Do you get any kind of error or message on site or in the console? 

Jozko
Jozko Apr 7 '16

Ross, yes, they use an old version

all description is here http://hosting-11.domovanje.com/php.php

 

ross Team
ross Apr 7 '16
Please upgrade your php version and see if the issue persists. 


Jozko
Jozko Apr 7 '16
Ok, they can upgrade to 5.5. or to 5.6.  Is it better upgrade to 5.6.?
ross Team
ross Apr 7 '16
Actually, there's no any significant difference, choose any either 5.5. or 5.6
Jozko
Jozko Apr 8 '16
Thx ross. They moved my site to server with PHP 5.6. and wroks fine.


ross Team
ross Apr 10 '16
Great, Thanks for letting us know.