If FInfo is not enabled or corrupted this class will not work

See all posts See thread Reply

Re: If FInfo is not enabled or corrupted this class will not work new!
by colin, 11 years, 3 months ago
Which version of the class are you using? On which system? Can you copy here the logs produced by the web server when your script crashes?

The class should handle missing fileinfo. There must be something set up differently on your system.Reply
Re: If FInfo is not enabled or corrupted this class will not work new!
by Tabish, 11 years, 3 months ago
My server is: CENTOS 5.8 i686 virtuozzo
upload class version is: 0.31

Sorry.. log is deleted somehow..

The class was breaking just after this:
$handle = new upload($_FILES['image_field']);

and throwing blank page without any error.

When i commented from line number:
2804 (/*elseif (@class_exists('finfo')) {)
Till
2818 (}*/)

it started working..

And when FInfo was enabled in my PHP, everything worked perfect.

Regards
TabishReply