Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Help: Error with PHP5 and high resolution photos ...
I have couple of problems with file browser.
1. My webhost has PHP4 with GD(PHP 4.4.2). I have a folder with some wallpapers there. I was able to generate thumbnails of 1600 x 1200 or smaller size files with thumbnailer.php . But, it is giving me some error for bigger files. I have some high quality wallpapers/photos ( 15MP and up- around 5000 x 3000) and they get some "internal server error" whenever I try to create thumbnail. May be thumbnailer has some limitation on file size ? You can try it yourself at http://rushabh.smallthingy.net/browser ( Go to folder wallpapers->15MP wallpapers).
2. Since it was giving me error on my webhost with thumbnailer, I tried to check it out on my home computer with PHP5 ( PHP 5.1.2 on OS X) on it. Now, on this PHP I cant even use file broswer, it just fails with fatal error. If I fall back to PHP4 on my home computer then everything is fine, except that I cant check out thumnailer.php on my home computer with PHP4 , as OS X default install of PHP4 has no gd support. PHP 5 has all goodies. So it seems file browser has problem with PHP5 ? I have uploaded the error html file and screenshot on the same website ( http://rushabh.smallthingy.net/browser ) under FB Errors.
can someone check those two issues and let me know whats going on ?? Thanks.
0
This discussion has been closed.
Comments
Why does gd cause my PHP script to run out of memory? Most often, the problem is that the memory_limit parameter in php.ini is set to something very conservative, like 8M (eight megabytes). Increase that setting and restart the web server. Of course, opening truly huge images can cause real memory problems, if several are open at once. 8,000 pixels times 8,000 pixels times four bytes for truecolor equals a walloping 256 megabytes.
As for #2, filebrowser was written for PHP4, there may be some minor compatibility problems.