View Full Version : error when attach pictures
rooban12
11-05-2008, 02:27 PM
Hii there
when I attach picture I get this error massage
"Fatal error: Call to undefined function cl_scanfile_ex() in /home/lovetac/public_html/home/newattachment.php(160) : eval()'d code on line 19"
how can I solve this problem?
please help me
thanks
Lynne
11-05-2008, 03:08 PM
Line 160 of newattachment.php is:
($hook = vBulletinHook::fetch_hook('newattachment_start')) ? eval($hook) : false;
So, you have a modification which is using the hook 'newattachment_start' causing the error.
rooban12
11-08-2008, 05:03 PM
so how can I remove it?
snakes1100
11-08-2008, 05:25 PM
cl_scanfile_ex is part of the clamav system, did you install, Virus scanner for attachments modification, if so disable it.
rooban12
11-08-2008, 05:27 PM
oh thank you
--------------- Added 1226172806 at 1226172806 ---------------
thanks alot
its woking now
snakes1100
11-08-2008, 05:42 PM
your welcome.
you probably need to update clamav, once you do, try to reenable the mod and upload the attachment again.
rooban12
11-09-2008, 05:09 AM
sorry for disturning you again
when I attach torrent files saying as invalid file while attaching torrent
do I need to do anything to attach a torrent file?
Thanks in advance
snakes1100
11-09-2008, 09:37 AM
Yes, you need to add a new "file type" in the admincp vbulletin options.
Lynne
11-09-2008, 02:48 PM
Extension - torrent
Max Filesize - 400000
Mime Type - Content-type: application/x-bittorrent
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.