Main Menu

Png's produces php error

Started by Swissy, October 30, 2008, 12:42:30 PM

Swissy

Reproduction
---------------
1. Go to [My Account] and select [Upload Photos]
2. Click [Browse] and select a .png image
3. Upload

Bug
-----

The following error message appears at the top of the page:

QuoteA PHP Error was encountered

Severity: Warning

Message: imagecopyresampled(): supplied argument is not a valid Image resource

Filename: controllers/manage.php

Line Number: 183

Selecting [Manage Photos] will show the .png image as a black square.

Solution
---------

Please ensure .png images can be uploaded.


Notes
-------

I finally managed to upload photos and artwork by converting all the files from .png to .jpeg and it all worked like a charm.
Using Firefox 3.0.3 (build 2008092417)/win xp.


cheers,
Swissy


SuckerPunch

Sorry about that - stupid typo in the upload script    :-X

Should be fixed now!

Swissy

Fix verified!

Close bug.



Thanks :D


Maverick X

Quote from: SuckerPunch on October 30, 2008, 04:05:15 PM
Sorry about that - stupid typo in the upload script    :-X

Should be fixed now!

Yeah, I just thought he was trying to break out with a new image type, though I'm not sure what an ong would be.... :P
Sean
Retired Resident Titan Nerd
---------------------------