1. nebur81
  2. General
  3. Friday, January 10 2014, 01:23 AM
Hi,

I have a problem when a new user registers and upload an avatar. The photo is not uploaded on the folder, and in the database (in the table jsn_users) the path (images / profiler) does not appear correctly. Only the name of the image appears, no path. The other fields are correct.
It seems as if not call the correct method for images and the field is treated as text.

But this only happens with new users. If a user edits their profile, and upload an avatar, everything works fine. The photo is uploaded to the folder and path of the database is correct.

I haven't send site details because I'm working in localhost. I have Joomla 3.0.3 and JSN_FREE_1.1.1

Thank you so much!
Accepted Answer
admin Accepted Answer
Admin
Sorry for late reply, but for us was night!
I have investigated, the problem is due to bug on Joomla 3.0. on registration form joomla not add a attribute enctype="multipart/form-data" to form tag.
You must add to file /components/com_users/views/registration/tmpl/default.php at line 23.
near
method="post"
paste
enctype="multipart/form-data"
  1. more than a month ago
  2. General
  3. # Permalink
nebur81 Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.