class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
When i install the class on server i get the following error:
Warning: imagecolorsforindex() [function.imagecolorsforindex]: Color index -2147483648 out of range in /home/confro/public_html/test/class.upload.php on line 4049
Which version of the class are you using? What are you actually doing? What are the logs produced by the class? What images are you processing exactly? What is your code and settings for the class?
When i install the class on server i get the following error:
Warning: imagecolorsforindex() [function.imagecolorsforindex]: Color index -2147483648 out of range in /home/confro/public_html/test/class.upload.php on line 4049
can someone know how to fix it ?
ty.
I need more information to answer....
2. I dont know where I find the logs to view complete error.
3. Code is:
4. Image is a sample foto from my documents pictures.(windows xp)
5. I think can be a hosting problem because in my computer run perfectly but when I upload the hosting server I receive the error.
Thanks
wrong copy..:D
Here is the log and the error: http://www.conf.ro/test/log.html
Test: http://www.conf.ro/test/
If is a hosting error and have ideea to resolve it please tell beacause I talk with hosting administration to resolve.
Thanks
If I modify error_reporting(1); again is all oke but I dont want :).
Image: http://www.conf.ro/test/Blue%20hills.jpg
Test script: http://www.conf.ro/test/
However, I have implemented a fix which maybe solves your problem. You can download the version 0.27RC3 here.
Could you please test it and let me know whether it works?