WeBid Bug Tracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000198WeBidGallerypublic2011-01-15 00:042011-01-17 13:21
ReporterJohn 
Assigned To 
PriorityimmediateSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version1.0.0 
Target VersionFixed in Version1.0.1 
Summary0000198: imagecolorallocate() function error
DescriptionI keep getting this error in the error log saying invalid parameter in imagecolorallocate() function on line 50 in upldgallery.php heres the code

[PHP]

    $newImage = imagecreatetruecolor($newImageWidth, $newImageHeight);

    // make the background white

    $bg = imagecolorallocate($im, 0, 0, 0);

[/PHP]



I changed it to this



[PHP]

    $newImage = imagecreatetruecolor($newImageWidth, $newImageHeight);

    // make the background white

    $bg = imagecolorallocate($newImage, 0, 0, 0);

[/PHP]



It seems to have fixed the problem no more errors in the error log but really needs a expert to check it
TagsNo tags attached.
import_id200
Thread
Attached Files

- Relationships

-  Notes
(0000456)
renlok (administrator)
2011-01-15 10:53
edited on: 1970-01-01 00:00

yeah thats right. Bit of a stupid error on my part :p
(0000457)
John (reporter)
2011-01-15 22:16
edited on: 1970-01-01 00:00

Okay thanks...it happens when your doing a big project.

- Issue History
Date Modified Username Field Change
2015-04-01 13:17 renlok New Issue
2015-04-01 13:17 renlok import_id => 200
2015-04-01 13:17 renlok Date Submitted 2015-04-01 13:17 => 2011-01-15 00:04
2015-04-01 13:17 renlok Last Update 2015-04-01 13:17 => 2011-01-17 13:21


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker