Script URL: http://www.misterswig.com/guestbook/gbook.php
Version of script: 1.41
Version of PHP: 4.3.10 (http://www.misterswig.com/info.php)
Hosting company: gate.com
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try: fatal error, undefined function
Write your message below:
I get the following error message after submitting a guestbook entry:
Fatal error: Call to undefined function: check_mail_url() in /nfs/cust/8/71/95/559178/web/guestbook/gbook.php on line 83
I commented out line 83 of the script to see what would happen.
/* $a=check_mail_url(); $email=$a['email']; $url=$a['url'];
Then I got the following error message:
Fatal error: Call to undefined function: addentry() in /nfs/cust/8/71/95/559178/web/guestbook/gbook.php on line 134
The only change I made to gbook.php was to add the bolded line below to get rid of a "permission denied" error:
error_reporting(E_ALL ^ E_NOTICE);
define('IN_SCRIPT',true);
require_once('settings.php');
$settings['verzija']='1.41';
$a=htmlspecialchars($_REQUEST['a']);
printNoCache();
session_save_path ('/nfs/cust/8/71/95/559178/web/tmp');
So, what is going on with the "call to undefined function" errors?
Thank you very much for any assistance.
Call to undefined functions: check_mail_url, addentry
Hi,
All these functions are inside gbook.php and should be working without a problem if you didn't edit them. Are you sure you also didn't comment out anything? For example
would comment out ALL code after that, you need to CLOSE comments with */
All these functions are inside gbook.php and should be working without a problem if you didn't edit them. Are you sure you also didn't comment out anything? For example
Code: Select all
/* $a=check_mail_url(); $email=$a['email']; $url=$a['url'];
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools