View Full Version : hey guys...i hope this is not a stupid question, but what is wrong?
Jason Black
11-04-2007, 02:01 PM
when i try to attach an image on my forum it shows me this
Fatal error: Call to undefined function cl_scanfile_ex() in /home/rapfeind/public_html/newattachment.php(159) : eval()'d code on line 19
what can i do to correct it?
Lynne
11-04-2007, 02:11 PM
Well, have you changed the newattachment.php script at all? It doesn't seem to be able to find the function cl_scanfile_ex. Is that from a hack you installed? I'd turn off the hack and see if you still get the error.
Jason Black
11-04-2007, 02:13 PM
uhmmm...i only installed this hack
https://vborg.vbsupport.ru/showthread.php?t=147715
I will disable it, if that's thhe case
Lynne
11-04-2007, 02:17 PM
If you don't get the error after disabling the hack, then you will know it was the hack that is causing the problem. At that point, I'd take a look at the install instructions and make sure you did everything exactly as it said.
Jason Black
11-04-2007, 02:28 PM
It still shows the same error.
--------------- Added 1194195265 at 1194195265 ---------------
Anyone else have an idea to help me please?
Lynne
11-04-2007, 02:54 PM
Do a search for that function and find where it exists and where it is called from.
Jason Black
11-04-2007, 02:56 PM
but it was working perfectly before with the hack in there, but all of a sudden it just stopped and started showing that error
Lynne
11-04-2007, 03:17 PM
Well, something must have changed. Somehow it isn't finding that function, so you need to find out why.
Jason Black
11-04-2007, 03:17 PM
so can i just reup the newattachment.php and this problem will be fixed?
Lynne
11-04-2007, 07:37 PM
Maybe. If you have done any modifications to that page, you will lose them. And, if it's a hack that is causing the problem and you haven't turned that hack off, then you will continue to get that error.
Marco van Herwaarden
11-05-2007, 06:17 AM
This is caused by a Plugin at the 'newattachment_start' hook location.
To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.