sarvan75 / yii-user-management

Automatically exported from code.google.com/p/yii-user-management
0 stars 0 forks source link

Avatar Upload fails #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. upload an avatar image
2.
3.

What is the expected output? What do you see instead?
the php error:
preg_match() expects parameter 2 to be string, array given

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by challeng...@gmail.com on 20 Jan 2011 at 8:50

GoogleCodeExporter commented 9 years ago
This is a bug in the Image resizer. Set 'avatarScaleImage' to false to make it 
work.
I will remove the Image resizer again. This shouldn´ t go inte yii-user CORE 
but rather should be project-specific if automatic server-side image scaling is 
needed.

Thanks for reporting

Original comment by thyseus on 21 Jan 2011 at 11:14

GoogleCodeExporter commented 9 years ago
I still have a problem with that disabled. The image uploads and shows on the 
screen fine, but I get this error The file "{imagename}" is not an image. When 
of course it is, and it is displaying on the screen fine.

Original comment by challeng...@gmail.com on 22 Jan 2011 at 1:05

GoogleCodeExporter commented 9 years ago
i think this issue is closed now. if not, please reopen

Original comment by thyseus on 16 Mar 2011 at 8:27