When I posted a new open question and I will send the question I got the following error:
Fatal error: Call to undefined function: ipcheck() in /home/twimanl/public_html/faq/savequestion.php on line 22
What's the reason of this error, and what to do to.
Please help.
Thanks in advance
Derk
error in savequestion.php
Moderator: Thorsten
Hi Derk,
which version do you use? Is there are function called IPCheck() in your functions.php? If not, please add this code:
bye
Thorsten
which version do you use? Is there are function called IPCheck() in your functions.php? If not, please add this code:
Code: Select all
/*
* Funktion für IP-Bann | @@ Thorsten, 2003-06-06
* Last Update: @@ Thorsten, 2003-06-06
*/
function IPCheck($ip) {
global $bannedIP;
$arrBannedIPs = explode(" ", $bannedIP);
foreach ($arrBannedIPs as $oneIP) {
if ($oneIP == $ip) {
return FALSE;
}
}
return TRUE;
}
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
error in savequestion.php
Horst,
first thank you for your quick reply.
I'm using version 1.3.4
I will try it. You hear from me.
Derk
first thank you for your quick reply.
I'm using version 1.3.4
I will try it. You hear from me.
Derk
error in savequestion.php
Horst,
there was not an IPCheck in my functions.php.
I have added the code and the problem is solved.
So thank you you very much for the great service.
Regards
Derk
there was not an IPCheck in my functions.php.
I have added the code and the problem is solved.
So thank you you very much for the great service.
Regards
Derk
Re: error in savequestion.php
Hi Derk,
btw, my name is Thorsten.
bye
Thorsten
this is strange, in the zip file from phpMyFAQ 1.3.4 there is the function called IPCheck() in the functions.php file.Derk wrote:there was not an IPCheck in my functions.php.
btw, my name is Thorsten.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
error in savequestion.php
Thorsten
Sorry for your misspelled name.
I'm reading to quick.
I thought I have updated all the files.
But perhaps I forgot to upload some files.
Derk
Sorry for your misspelled name.

I thought I have updated all the files.
But perhaps I forgot to upload some files.
Derk
Re: error in savequestion.php
Hi Derk,
bye
Thorsten
it seems, this was the problem.Derk wrote:I thought I have updated all the files.
But perhaps I forgot to upload some files.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist