Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

unable to load avatar

10 years 11 months ago
  • Sarah's Avatar
    Topic Author
  • Sarah
  • Offline
  • Fresh Boarder
  • Posts: 20
  • Thank you received: 0
Licenses:
JomSocial Active iSEO Active Socialize Active

ISSUE SUMMARY:

I am using jomsocial 4.0.9.When I try to register through frontend, it doesnot allow me to upload the avatar. I can edit the avatar for existing user but for new user cannot upload the avatar.The select file option to upload avatar remains disabled for new user and in console it shows invalid token error. Please advice.

STEPS TO REPLICATE:
1 www.staging1.suiteevents.com/suites/register
2 Fill the registration form
3 It will take you to upload avatar page.
4 Try to upload image -It will not allow you to do so
5 check console- error- invalid token
RESULT
EXPECTED RESULT
BROWSER

10 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

hi Sarah,

1. please you upgrade your Jomsocial to the latest version first
2. if you created photos menu on Menu Manager, please you set it to public instead of members only.

cheers!

10 years 11 months ago
  • Sarah's Avatar
    Topic Author
  • Sarah
  • Offline
  • Fresh Boarder
  • Posts: 20
  • Thank you received: 0
Licenses:
JomSocial Active iSEO Active Socialize Active

Hi,

I have upgraded the jomsocial to latest version 4.1.3. and also changed the photos menus access level to public still I am receiving the same error. Please check.

10 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Sarah,

This issue caused by override template, because i still can see the old code on your site :

function uploadUploaded( up, files, data ) {
        var json = {},
            img, avatar, btn, media-list;

which the code should be like this :
function uploadUploaded( up, files, data ) {
        var json = {},
            img, avatar, btn, thumbnails;

I am not sure, where its coming from, since you install lot of templates there.

thank you!

10 years 11 months ago
  • Sarah's Avatar
    Topic Author
  • Sarah
  • Offline
  • Fresh Boarder
  • Posts: 20
  • Thank you received: 0
Licenses:
JomSocial Active iSEO Active Socialize Active

Hi,

As suggested by you, I removed the old code and it fixed the issue.

Thank you !!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW