PDA

View Full Version : Issues with Avatar Uploads


wholemama
03-20-2006, 06:49 PM
Per suggestion in the old thread, I turned off "Can Upload Profile Pic" and "Can Upload Avatar" in the Usergroup manager to force people to spend points to add those items. However, when I did so and then tried to buy a picture, I got this huge error list.

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1865

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1866

Warning: imagefill(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1867

Warning: imagedestroy(): 41 is not a valid Image resource in /includes/class_image.php on line 1870

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1191

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1192

Warning: imagecreatetruecolor(): Invalid image dimensions in /includes/class_image.php on line 1193

Warning: imagecreatetruecolor(): Invalid image dimensions in /includes/class_image.php on line 1194

Warning: imagecreatetruecolor(): Invalid image dimensions in /includes/class_image.php on line 1195

Warning: imagecreatetruecolor(): Invalid image dimensions in /includes/class_image.php on line 1196

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1197

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1198

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1212

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1213

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1214

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1215

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1216

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1217

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1218

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1219

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1220

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1221

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1227

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1228

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1229

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1230

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1231

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1232

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1233

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1234

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1235

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1236

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1238

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1239

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1272

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/class_image.php on line 1273

And then a VB message of "Your file of 351 Bytes bytes exceeds the forum's limit of -1 Bytes for this filetype."

Any ideas?

CMX_CMGSCCC
03-21-2006, 07:07 PM
What version r u using? I thought I fixed this already somewhere along the line.

-CMX

wholemama
03-21-2006, 07:17 PM
1.5.2. Was this in 1.5.3 and just didn't make the changelog?

CMX_CMGSCCC
03-21-2006, 07:22 PM
Not sure, try updating to 1.5.3 and if it still exists I may have to see some settings in your Admin CP for Usergroups.

-CMX

wholemama
03-21-2006, 07:44 PM
Seems to be happier...at least, it works for me the admin. We'll see if it hiccups on anyone else!

Well, now that people have been banging on it for a bit...

The whole littany of errors is gone, but the VB error is still there.

The admin login is the same as what you used to debug the lottery issue on max tix (I just changed my SN here).

CMX_CMGSCCC
03-25-2006, 12:36 AM
Do u have any settings for usergroups to be able to upload files? Maybe it still sees the file size allowed to upload as negative 1?

As far as the login, I do not save the logins to each site I debug for security reasons alone, please resend the info.

-CMX

wholemama
03-28-2006, 07:38 PM
Sorry, been working on other projects...

I set it at the usergroup level "Can Upload Custom Avatar" as No, per the other thread. Is there somewhere else that this should be set?

CMX_CMGSCCC
04-01-2006, 01:20 AM
There are settings for the usergroup in Usergroup Manager that specify the maximum filesize that they are allowed to upload, what is this value?

-CMX