General help

 
 
Picture of amal barathi
can't upload Images in user profile
 
I am not able to upload Images for recognizing users in thier profile.

Its a jpg file with 1MB size.

When I upload the file I receive this message "Cannot unzip pictures file."

And the Image file doesn't get uploaded.

Can anyone help me on this.

Thanks

 
Average of ratings: -
Picture of John White
Re: can't upload Images in user profile
 
Amal,

This is probably a question of which upload tool you are using!

If you are using Moodle 1.9 you have...

Tool 1:
Site Administration->Users->Accounts->Browse List of Users

When you want to upload just one picture for one user, go into 'edit' in that user's profile,
find the 'New Picture' field, click Browse, and pick up your .jpg file.
When you click Save Changes the file is uploaded.

Tool 2:
Site Administration->Users->Accounts->Upload User Pictures

When you have lots of pictures to upload to users, use this bulk upload tool.
In this case every picture file has to be named to match the user (typically matched by Username),
and then all the picture files have to be zipped into one file (a .zip file).

So, for example,

user01.jpg
user02.jpg
user03.jpg

...all sit in one zip file user_pictures.zip.

Because you are using Tool 2 to do Tool 1's job, it is saying it can't unzip what actually is already a .jpg file!

Well, thats my guess anyway.

Regards,

John
 
Average of ratings: -
Picture of amal barathi
Re: can't upload Images in user profile
 


Thanks John

I am useing moodle 1.9

I couldn't use the 1st tool , as the 'New Picture' field doesn't seem to exist.

I tried the 2nd Tool. I uploaded 2 pictures using zip file. I recieved this error.

Upload user picturesHelp with Upload user pictures (new window)

Cannot save picture for user USER1. Check original picture file.
Cannot save picture for user USER2. Check original picture file.
Users updated: 0
Errors: 2


I have not uploaded any picture's for the respective users.

I am not sure what it means by check Original file.

Can anyone help me on this.


 
Average of ratings: -
Picture of Filipe Carneiro
Re: can't upload Images in user profile
 
I also don’t have the avatar option ('New Picture' field) in the user profile.

I’vechecked $CFG->disableuserimagesin in config.php and it was ok (I’ve tried removing the entry and with FALSE value)

Did you solve your problem? I'm using Moodle 1.9.1+(Build 20080625), mySQL 5.0.51, PHP 5.2.5 and Apache on Windows 2008.


 
Average of ratings: -
Picture of Ado Evangelisti
Re: can't upload Images in user profile
 
It's the same for me.
I don't have the New Picture in the user profile.

Also accessing my profile as a course user, there is no way to upload the picture (no field asking for it).

 
Average of ratings: -
Capt. Moodle
Re: can't upload Images in user profile
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers
Amal - I've seen cases when the user has provided invalid directory for the zip/unzip files and thus the zips and unzips fail. Another possibility is that its a files permission error. Could you start by verifying if there is anything listed for the paths to the zip and unzip files in Server -> System paths in the Site Administration block? Are the jpg files named appropriate such that for each filename.jpg there is a username that corresponds to the username. In other words, from the pic it indicates that you should have a username of user1 and user2 in your system. If you have a student with a username of smartguy then there should be a file in the zip file called smartguy.jpg. Let me know if any of this helps. Peace - Anthony
 
Average of ratings: -
Picture of Gary Barclay
Re: can't upload Images in user profile
 

To Bump this thread I'm having the same problem also.

No option in the edit user profile to upload images, and the same error when bulk uploading.

Any ideas?

 
Average of ratings: -
Picture of Marty Billingsley
Re: can't upload Images in user profile
 
I'm seeing the exact same problem.

I get the same errors as above when I try tool #2.

Can't use tool #1, as there is no "Picture Of" section in a users profile. (This is what I'd really like to get working, as I want my students to upload their own photos.)

Moodle 1.9.3 on MacOS X server, Daarwin Kernel Version 9.6.0, Apache 2.2.9

This seems like it might be a config issue, as so many folks are reporting the same problem. Suggestions?

Thanks
 
Average of ratings: -
Picture of Justin Tiernan
Re: can't upload Images in user profile
 
same here
 
Average of ratings: -
Picture of Apar Suri
Re: can't upload Images in user profile
 
I am having the same issue. There seems to be no field to actually upload profile image in the edit profile section and if I try to use the tool 2 as specified above, I get the exact same error.

Please reply if someone has a clue as to what the issue can be.
Thanks.
 
Average of ratings: -
Picture of Morris Gabriel
Re: can't upload Images in user profile
 
same problem here.
 
Average of ratings: -
Picture of Morris Gabriel
Re: can't upload Images in user profile
 
UPz this thread in case anyone resolved this issue and can share the solution. Thanks!
 
Average of ratings: -
Picture of jim richardson
Re: can't upload Images in user profile
 
Having same issue with our site. In seeking the solution, I made the mistake of ticking the box to delete my old image...now I have none, and can't load my own or any other user's either. Tried bulk upload correctly but that fails also.
Moodle 1.9.4+ , PHP = 5.1.2, Mysql=5.0.18, running on Windows 2003 IIS.
Anyone found the answer yet?
 
Average of ratings: -
Picture of Morris Gabriel
Re: can't upload Images in user profile
 
another affected site... we need help here....
 
Average of ratings: -
Picture of Terri Ann Bennett
Re: can't upload Images in user profile
 
We do not have this option either. We did, but now we don't

Terri Ann Bennett
 
Average of ratings: -
Picture of jim richardson
Re: can't upload Images in user profile
 
Bump...any answer yet?
 
Average of ratings: -
Capt. Moodle
Re: can't upload Images in user profile
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers
I am happy to work with folks but it would need to be one person at a time. I am not sure exactly what problem folks are having or why. It sounds like it could be a variety of issues and while it is helpful to know that a number of folks are struggling here in order to help identify the problem we need more information about your installations. It is a safe bet to always include your Moodle version number (1.9.x) as that is usually the first question. Next will be your OS, PHP version, database. I am a big fan of screen shots so that I can see exactly what page you are looking at. So feel free to provide more information so that we can figure out what is happening. I do not think it is everyone experiencing the same issue. I suspect there are various issues that need to be addressed so let's track them down in a nice controlled manner. Peace - Anthony
 
Average of ratings:Useful (1)
Picture of Morris Gabriel
Re: can't upload Images in user profile
 
im using windows 2003, moodle 1.9.3, php 5.2.5, mysql 5.

i get the same error as posted earlier when it comes to uploading pictures for users.

as for individuals uploading their own image, that option is not even present. there is no "Picture of" option for the user to upload his image. As u can see, i managed to upload a photo here of my daughter, but in my moodle setup, the feature is just not there.
 
Average of ratings: -
Picture of zainudin ghazali
Re: can't upload Images in user profile
 
I am having same problem with Mr. amal with no "Picture Of" section in Edit Profile.

I solve mine with this step;

1) check for my gd version at Server > PHP Info (mine is version 2.0.34)

2) go to Server > System Path, i saw the default as "GD not installed". So i change it to "GD 2.x installed" and press [Save Change]

After that the "Picture Of" appear.

Hope that help.



 
Average of ratings: -
Picture of Chad Outten
Re: can't upload Images in user profile
Group Moodle Course Creator Certificate holdersGroup Testers
ZG is correct. for those moodlers who don't have the ability to upload images to user profiles: you need to ensure the gd2 library is included and enabled as part of your php build.

Chad
 
Average of ratings: -
Picture of miquel àngel amengual
Re: can't upload Images in user profile
 
Mr Outten,

problem fixed on my 1.9.4 Moodle with your piece of advice.

Thanks
 
Average of ratings: -
Picture of Jamie Brown
Re: can't upload Images in user profile
 
This worked for me as well for Moodle 1.9.8. I'd like to recommend that there be some sort of addition to the "requirements" section of the site. Saying that PHP version x and MySQL version y is okay, but it would have been nice to have a list of all the required and recommended libraries for inclusion. I have to pass this information along to server admins - I'm not doing the server installation and setup myself. So it would have been good to hand over one set of requirements rather than having to come back every couple of hours to say "Can you add this?" for each piece. Thanks again!
 
Average of ratings: -
Picture of andy giles
Re: can't upload Images in user profile
 

Hi All,

My GD info is correct and all the other requirements to this feed are correct to my knowledge, however i still cant upload pictures. when i try to manually add a photo it will allow me to select etc but it doesnt seem to respond and when I update my profile there still isnt a photo, any ideas i am sure its something simple!

 
Average of ratings: -
Picture of Hongliang Ma
回复: Re: can't upload Images in user profile
 

I had the same problem once, but I solve it now. My solution is that make sure the "moodledate" files in sever has the write permission for internet users. 

However, I don't know whether my solution will cause any danger to our sever?

 
Average of ratings: -
Picture of Hongliang Ma
回复: Re: can't upload Images in user profile
 

It seems that you'd better only enable the write permission to the files "Moodledate\user\0\", instead of the whole Moodledate files.

 
Average of ratings: -
Picture of Luis Cojulun
Re: can't upload Images in user profile
 

Hey there!!!

Im having this issue: users and admin upload pictures kbs/mbs no more than 1mb, as *.jpeg(jpg),*.png. GD version 2.0.34 Compatible its installed on the php info and appears on Moodle as well. But User´s pictures/imagenes appears X, cant be seen.

Any idea, please.

Best regards,

 
Average of ratings: -