class finfo.php not found

See all posts Reply

class finfo.php not found new!
by alfred, 15 years, 7 months ago
i'm trying to use your script in my web site to upload picture but i have this message: failed to open XXXdirectories/class.finfo.php.......no such file in that directory
thanks for your help!
good job!!!!Reply
Re: class finfo.php not found new!
by colin, 15 years, 7 months ago
Do you have a link to your phpinfo()?Reply
Re: class finfo.php not found new!
by alfred, 15 years, 7 months ago
No ,my site is still on local and i'm using wampserver. but when activate the php fileinfo extension, it works and i dont know wether in production this extension is loaded by defaultReply
Re: class finfo.php not found new!
by colin, 15 years, 7 months ago
You need to check if your production server has fileinfo properly set.

Note that I am not supporting the class on Windows system, so I will not be able to help you when it comes to WAMP.Reply
Re: class finfo.php not found new!
by iFR3NK, 15 years, 4 months ago
Hello,
i had the same problem. It was caused by __autoload() function which tried to require local finfo class. But finfo is a system class. I solved this problem when i added if ($classname != "finfo") require... to my __autoload function. Hope it will help ;)Reply
Re: class finfo.php not found new!
by sS, 13 years, 7 months ago
I have the same problem and this trick solves it... but, is it not a better solution to modify the upload.class file in a next release?Reply