Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: PersianDeveloper - heinäkuu 07, 2011, 01:39:42 IP

Otsikko: there is an error but cant find it in the given file
Kirjoitti: PersianDeveloper - heinäkuu 07, 2011, 01:39:42 IP
here is the error message:
Call to undefined function stopspammer_test_mod_ok() in
/home/persianc/public_html/forums/Sources/Load.php(1734) : eval()'d code on line


I had installed the package stop spammer
but then unistalled it
not it gives this error when i go to my admin page , settings, regcenter
so it give this error
and when i open the file Load.php  , there is nothing about the stop spammer package
Otsikko: Re: there is an error but cant find it in the given file
Kirjoitti: Dzonny - heinäkuu 07, 2011, 01:51:47 IP
Hello there.

The best would be to ask in mods support topic, but i suggest to take a look at codes and manually uninstall mod (or the part that is left).
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1547;attach=165955;smf_version=1.1.14

Regards.
Otsikko: Re: there is an error but cant find it in the given file
Kirjoitti: tinoest - heinäkuu 07, 2011, 01:57:35 IP
It looks like something else is trying to call that function and eval can't find it.

If your running linux if you run a grep -ir 'stopspammer_test_mod_ok' /home/persianc/public_html/forums/

It should tell you what file that is in.

At a guess I would say its in your DisplayTemplate.php File or in one of the Theme files.
Otsikko: Re: there is an error but cant find it in the given file
Kirjoitti: MrPhil - heinäkuu 07, 2011, 04:33:41 IP
Install mod 2054 or follow manual instructions to disable "eval" (see my sig > FAQs). Then you will see the true location of the error. You can also follow the "Parse" instructions for that mod, in reverse, to find and remove any code that failed to be removed before.
Otsikko: Re: there is an error but cant find it in the given file
Kirjoitti: PersianDeveloper - heinäkuu 08, 2011, 03:30:57 AP
Lainaus käyttäjältä: MrPhil - heinäkuu 07, 2011, 04:33:41 IP
Install mod 2054 or follow manual instructions to disable "eval" (see my sig > FAQs). Then you will see the true location of the error. You can also follow the "Parse" instructions for that mod, in reverse, to find and remove any code that failed to be removed before.

thanks
it worked and the corrupted file was Register.template.php on the specified line ...


I WOULD ALSO THANK YOU ALL FOR REPLYING
topic marked as solved