Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Update to 5.3 avatar problems
Avatar
Nikolas Nikolaou
Member
Free Members
sp_UserOfflineSmall Offline
Aug 3, 2013 - 3:45 am

Just updated to 5.3 and seems to not allow users to upload avatars.

I choose an image and it gives c:\fakepath\ 

as soon as you press update it says that the image is to large tried 10kb images

 

This is what the error log shows :

file: /simple-press/sp-api/sp-api-users.php
line: 28
function: sp_load_current_user
Notice | Trying to get property of non-object

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 3, 2013 - 4:51 am

Your problem is simply the one reported - the image is too large. Check your maximum file size setting in the forum > profile > Avatars admin panel.

'fakepath' is an HTML5 browser security feature to avoid the real file path beng sent to the browser. It dioes not stop of effect the uploading at all.

The error log entry is a notice and is just a nuisance but is unimportant. However, I will note it to get it cleaned up.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 3, 2013 - 10:15 am

yes... the fakepath has nothing to do with simple press - any version...  and it can be turned off in the browser if you show choose though as Andy says, its a js security feature... so far, I have seen IE and Chrome employ it...

Avatar
Nikolas Nikolaou
Member
Free Members
sp_UserOfflineSmall Offline
Aug 4, 2013 - 9:29 am

Thanks guys for the quick response!!!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 4, 2013 - 11:45 am

You're welcome

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625