vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   error when attach pictures (https://vborg.vbsupport.ru/showthread.php?t=195512)

rooban12 11-05-2008 02:27 PM

error when attach pictures
 
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:
PHP Code:

($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 [DATE]1226172806[/DATE] at [TIME]1226172806[/TIME] ---------------

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


All times are GMT. The time now is 02:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01068 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete