Re: Intermittent Fatal error Call to undefined function:
| From: | Zak Greant | Date: | Wed, 24 Jan 2001 02:22:49 +0000 |
| Subject: | Re: Intermittent Fatal error Call to undefined function: | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-3561@lists.php.net to get a copy of this message | ||
Dear John,
Were you visiting the main PHP site or a mirror when the error occured?
--zak
----- Original Message -----
From: "John Hinsley" <jhinsley@telinco.co.uk>
To: <webmaster@php.net>
Sent: Tuesday, January 23, 2001 4:53 PM
Subject: Intermittent Fatal error Call to undefined function:
>
>
> Trying to use your search engine using Netscape 4.72 under Linux.
>
> I enter php.ini in the search category, a page loads, but appears white.
> The source reveals:
>
> #######################################################################
>
> <HTML> <HEAD>
> <TITLE>PHP: Search Results</TITLE>
>
> <LINK REL="stylesheet" HREF="/php-style.css"
> TYPE="text/css">
>
> <SCRIPT LANGUAGE="JavaScript">
>
> <!--
>
> if (window != top) top.location.href = location.href;
>
> NS4 = (document.layers) ? 1 : 0;
> IE4 = (document.all) ? 1 : 0;
> DOM = (document.getElementById) ? 1 : 0;
> ver4 = (NS4 || IE4) ? 1 : 0;
>
> /*
> The code and graphics on this website (and it's mirror
> sites, if any) are Copyright (c) 1998 The PHP Development
> Team. All rights reserved.
>
> Except as otherwise indicated elsewhere on this site, you
> may view, copy, print, and distribute documents available
> on this Web site subject to the following conditions:
>
> 1. The document may be used solely for personal, informa-
> tional, non-commercial purposes.
>
> 2. Any copy of the document or portion thereof must include
> the following permission notice:
>
> ************************************************************
> * *
> * PERMISSION NOTICE: *
> * *
> * Javascript/PHP code used with permission of the PHP *
> * Development Team. *
> * Copyright 1998. All rights reserved. *
> * *
> * For more information on the PHP Development Team and *
> * the PHP project, please see
> <http://www.php.net>. *
> * *
> ************************************************************
>
> 3. The PHP Development Team reserves the right to revoke such
> authorization at any time, and any such use shall be dis-
> continued immediately upon notice from the PHP Development
> Team.
>
> Documents specified above DO NOT include the graphical
> elements, design, or layout of this Web site. Elements of
> this Web site are protected by trade dress and other laws and
> MAY NOT BE COPIED OR IMITATED IN WHOLE OR IN PART.
>
> You can contact the webmaster at <webmaster@php.net>.
>
> For more information on the PHP Development Team and the PHP
> project, please see <http://www.php.net>.
>
> */
>
> /*
> Debugging:
> $IE4 = $IE3 = $NS4 = 1 $NS3 = $X11 =
> 1 $HAVE_STYLE = 1*/
>
> var loaded = 0;
> var gotlayers = 0;
> var lastbutton='top';
>
> // -->
>
> </SCRIPT>
>
> <SCRIPT LANGUAGE="JavaScript1.2">
>
> <!--
>
> function moveLayers() {
> if (gotlayers) {
> if (NS4) {
> screenWidth = window.innerWidth;
> document.layers['mirrorsKick'].left = 140;
> document.layers['mirrorsKick'].top = 215;
> document.layers['qrefKick'].left = 140;
> document.layers['qrefKick'].top = 80;
> document.layers['searchKick'].left =
> screenWidth-350;
> document.layers['searchKick'].top = 36;
> } else if (DOM) {
> screenWidth = (document.body.clientWidth ?
> document.body.clientWidth : window.innerWidth) + 18;
>
> document.getElementById('mirrorsKick').style.left = 140;
> document.getElementById('mirrorsKick').style.top
> = 215;
> document.getElementById('qrefKick').style.left =
> 140;
> document.getElementById('qrefKick').style.top =
> 80;
> document.getElementById('searchKick').style.left
> = screenWidth-350;
> document.getElementById('searchKick').style.top
> = 36;
> } else {
> screenWidth = document.body.clientWidth + 18;
> document.all['mirrorsKick'].style.pixelLeft =
> 140;
> document.all['mirrorsKick'].style.pixelTop =
> 215;
> document.all['qrefKick'].style.pixelLeft = 140;
> document.all['qrefKick'].style.pixelTop = 80;
> document.all['searchKick'].style.pixelLeft =
> screenWidth-350;
> document.all['searchKick'].style.pixelTop = 36;
> }
> }
> }
>
> function popUp(menuName,on) {
> if (gotlayers) {
> if (on) {
> moveLayers();
> if (NS4) {
> document.layers[menuName].visibility =
> "show";
> } else if (DOM) {
>
> document.getElementById(menuName).style.visibility = "visible";
> } else {
> document.all[menuName].style.visibility
> = "visible";
> }
> } else {
> if (NS4) {
> document.layers[menuName].visibility =
> "hide";
> } else if (DOM) {
>
> document.getElementById(menuName).style.visibility = "hidden";
> } else {
> document.all[menuName].style.visibility
> = "hidden";
> }
> }
> }
> }
>
> // -->
>
> </SCRIPT>
>
> <SCRIPT LANGUAGE="JavaScript1.1">
>
> <!--
> function LoadImgs () {
> if (document.images) {
> b_close0 = new Image();
> b_close0.src = "/gifs/b-close-p.gif";
> b_close1 = new Image();
> b_close1.src = "/gifs/b-close-c.gif";
>
> b_cred0 = new Image();
> b_cred0.src = "/gifs/b-credits-p.gif";
> b_cred1 = new Image();
> b_cred1.src = "/gifs/b-credits-c.gif";
>
> b_top0 = new Image();
> b_top0.src = "/gifs/b-top-p.gif";
> b_top1 = new Image();
> b_top1.src = "/gifs/b-top-c.gif";
>
> b_sear0 = new Image();
> b_sear0.src = "/gifs/b-search-p.gif";
> b_sear1 = new Image();
> b_sear1.src = "/gifs/b-search-c.gif";
>
> b_sour0 = new Image();
> b_sour0.src = "/gifs/b-source-p.gif";
> b_sour1 = new Image();
> b_sour1.src = "/gifs/b-source-c.gif";
>
> b_proj0 = new Image();
> b_proj0.src = "/gifs/b-projects-p.gif";
> b_proj1 = new Image();
> b_proj1.src = "/gifs/b-projects-c.gif";
>
> b_mirr0 = new Image();
> b_mirr0.src = "/gifs/b-mirror-p.gif";
> b_mirr1 = new Image();
> b_mirr1.src = "/gifs/b-mirror-c.gif";
>
> b_next0 = new Image();
> b_next0.src = "/gifs/b-next-p.gif";
> b_next1 = new Image();
> b_next1.src = "/gifs/b-next-c.gif";
>
> b_prev0 = new Image();
> b_prev0.src = "/gifs/b-prev-p.gif";
> b_prev1 = new Image();
> b_prev1.src = "/gifs/b-prev-c.gif";
>
> b_next20 = new Image();
> b_next20.src = "/gifs/b-next-p.gif";
> b_next21 = new Image();
> b_next21.src = "/gifs/b-next-c.gif";
>
> b_prev20 = new Image();
> b_prev20.src = "/gifs/b-prev-p.gif";
> b_prev21 = new Image();
> b_prev21.src = "/gifs/b-prev-c.gif";
>
> b_qref0 = new Image();
> b_qref0.src = "/gifs/b-quickref-p.gif";
> b_qref1 = new Image();
> b_qref1.src = "/gifs/b-quickref-c.gif";
>
> b_stat0 = new Image();
> b_stat0.src = "/gifs/b-stats-p.gif";
> b_stat1 = new Image();
> b_stat1.src = "/gifs/b-stats-c.gif";
>
> b_down0 = new Image();
> b_down0.src = "/gifs/b-downloads-p.gif";
> b_down1 = new Image();
> b_down1.src = "/gifs/b-downloads-c.gif";
>
> b_docs0 = new Image();
> b_docs0.src = "/gifs/b-docs-p.gif";
> b_docs1 = new Image();
> b_docs1.src = "/gifs/b-docs-c.gif";
>
> b_mail0 = new Image();
> b_mail0.src = "/gifs/b-mailing-p.gif";
> b_mail1 = new Image();
> b_mail1.src = "/gifs/b-mailing-c.gif";
>
> b_dev0 = new Image();
> b_dev0.src = "/gifs/b-development-p.gif";
> b_dev1 = new Image();
> b_dev1.src = "/gifs/b-development-c.gif";
>
> b_news0 = new Image();
> b_news0.src = "/gifs/b-news-p.gif";
> b_news1 = new Image();
> b_news1.src = "/gifs/b-news-c.gif";
>
> b_link0 = new Image();
> b_link0.src = "/gifs/b-links-p.gif";
> b_link1 = new Image();
> b_link1.src = "/gifs/b-links-c.gif";
> loaded = 1;
> }
> }
>
> function change(Name,No) {
> if (document.images && (loaded == 1) && (document[Name])) {
> document[Name].src = eval("b_" + Name + No + ".src");
> }
> if (No == 1) {
> if (gotlayers) {
> popUp('mirrorsKick',false);
> popUp('qrefKick',false);
> popUp('searchKick',false);
> }
> if (Name != 'mirr') {
> change('mirr',0);
> }
> if (Name != 'qref') {
> change('qref',0);
> }
> if (Name != 'sear') {
> change('sear',0);
> }
> lastbutton = Name;
> }
> }
>
> function changebullet(Name,No) {
> if (document.images && (loaded == 1)) {
> document[Name].src = eval("b_bullet" + No + ".src");
> }
> }
>
> function hide() {
> if (document.images && (loaded == 1)) {
> change(lastbutton,0);
> }
> }
>
> // -->
>
> </SCRIPT>
>
> </HEAD>
>
> <BODY MARGINHEIGHT=3 MARGINWIDTH=3 TOPMARGIN=3 LEFTMARGIN=3
> BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#5B69A6"
> VLINK="#5B69A6"
> ALINK="#00FF00"
> OnLoad="LoadImgs();"><A NAME="tOpOfpAgE">
> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
> <TR valign=top>
> <TD ALIGN=left width=150 BGCOLOR="#5B69A6">
> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="150">
> <TR VALIGN=top>
> <TD ALIGN=left>
> <IMG SRC="/gifs/cap-ul.gif" WIDTH=9 HEIGHT=9 BORDER=0><BR>
> <IMG SRC="/gifs/spacer.gif" WIDTH=15 HEIGHT=67 BORDER=0><A
> HREF="/index.php"><IMG SRC="/gifs/logo.gif" ALT="PHP Home
> Page"
> WIDTH=130 HEIGHT=67 BORDER=0></A><BR>
> <IMG SRC="/gifs/spacer.gif" WIDTH=1 HEIGHT=10 BORDER=0><BR>
> </TD>
> </TR>
> <TR VALIGN=top>
> <TD ALIGN=left>
> <A HREF="/downloads.php"
> onMouseover="change('down',1);"
> onMouseout="hide();"><IMG SRC="/gifs/b-downloads-p.gif"
> ALT="Downloads"
> WIDTH=129 HEIGHT=30 BORDER=0
> NAME="down"
> HSPACE=10 VSPACE=0></A><BR>
> <A HREF="/docs.php" onMouseover="change('docs',1);"
> onMouseout="hide();"><IMG SRC="/gifs/b-docs-p.gif"
> ALT="Documentation"
> WIDTH=129 HEIGHT=30 BORDER=0
> NAME="docs"
> HSPACE=10 VSPACE=0></A><BR>
> <A HREF="/quickref.php" onMouseover="change('qref',1);
> popUp('qrefKick',true);"
> ><IMG SRC="/gifs/b-quickref-p.gif"
> ALT="Quick Reference"
> WIDTH=129 HEIGHT=30 BORDER=0
> NAME="qref"
> HSPACE=10 VSPACE=0></A><BR>
> <A HREF="/support.php" onMouseover="change('dev',1);"
> onMouseout="hide();"><IMG SRC="/gifs/b-development-p.gif"
> ALT="Getting Help"
> WIDTH=129 HEIGHT=30 BORDER=0
> NAME="dev"
> HSPACE=10 VSPACE=0></A><BR>
> <A HREF="/news.php" onMouseover="change('news',1);"
> onMouseout="hide();"><IMG SRC="/gifs/b-news-p.gif"
> ALT="PHP News last updated: Jan 23, 2001"
> WIDTH=129 HEIGHT=30 BORDER=0
> NAME="news"
> HSPACE=10 VSPACE=0></A><BR>
> <A HREF="/projects.php" onMouseover="change('proj',1);"
> onMouseout="hide();"><IMG SRC="/gifs/b-projects-p.gif"
> ALT="Projects using PHP"
> WIDTH=129 HEIGHT=30 BORDER=0
> NAME="proj"
> HSPACE=10 VSPACE=0></A><BR>
> <A HREF="/links.php" onMouseover="change('link',1);"
> onMouseout="hide();"><IMG SRC="/gifs/b-links-p.gif"
> ALT="PHP Links"
> WIDTH=129 HEIGHT=30 BORDER=0
> NAME="link"
> HSPACE=10 VSPACE=0></A><BR>
> <A HREF="/mirrors.php" onMouseover="change('mirr',1);
> popUp('mirrorsKick',true);"
> ><IMG SRC="/gifs/b-mirror-p.gif"
> ALT="Mirror sites"
> WIDTH=129 HEIGHT=30 BORDER=0
> NAME="mirr"
> HSPACE=10 VSPACE=0></A><BR>
> </TD>
> </TR>
>
> <TR><TH align=left><br> <a
> href="/thanks.php"
> class=blacklink>Thanks to:</a></TH></TR>
> <TR><TD> <a
> href="http://chek.com"
> class=whitelink>Chek.com</a></TD></TR>
> <TR><TD> <a
> href="http://www.easydns.com/?V=698570efeb62a6e2"
> class=whitelink>easyDNS</a></TD></TR>
> <TR><TD> <a
> href="http://valinux.com" class=whitelink>VA
> Linux Systems</a></TD></TR>
>
> <TR><TH align=left><br> Related
> sites:</TH></TR>
> <TR><TD><a
> href="http://www.apache.org"
> class=whitelink>Apache</a></TD></TR>
> <TR><TD><a
> href="http://www.mysql.com"
> class=whitelink>MySQL</a></TD></TR>
> <TR><TD><a
> href="http://www.postgresql.org"
> class=whitelink>PostgreSQL</a></TD></TR>
> <TR><TD><a href="¾å3’ñ¨AºÔ
> â÷http://www.zend.com" class=whitelink>Zend
> Tech.</a></TD></TR>
>
> <TR><TH
> align=left><br> Community:</TH></TR>
> <TR><TD><a
> href="http://www.linuxfund.org"
> class=whitelink>LinuxFund.org</a></TD></TR>
> <TR><TD><a
> href="http://www.osdn.org"
> class=whitelink>OSDN</a></TD></TR>
>
> </TABLE>
> </TD>
> <TD align=left width="100%">
> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width="100%">
> <TR VALIGN=middle BGCOLOR="#5B69A6">
> <TD ALIGN=left>
> <IMG SRC="/gifs/spacer.gif" WIDTH=5 HEIGHT=1 BORDER=0><FONT
> FACE="tahoma, verdana, arial, helvetica, sans-serif" SIZE=4><B>Search
> Results</B></FONT><BR>
> </TD>
> <TD ALIGN=right>
> <IMG SRC="/gifs/b-close-p.gif"
> ALT=""
> WIDTH=1 HEIGHT=1 BORDER=0
> NAME="close"
> HSPACE=0 VSPACE=0><A HREF="/source.php?page_url=/search.php"
> onMouseover="change('sour',1);"
> onMouseout="hide();"><IMG SRC="/gifs/b-source-p.gif"
> ALT="View the source code for this page"
> WIDTH=75 HEIGHT=30 BORDER=0
> NAME="sour"
> HSPACE=5 VSPACE=9></A><A HREF="/search.php"
> onMouseover="change('sear',1); popUp('searchKick',true);"
> ><IMG SRC="/gifs/b-search-p.gif"
> ALT="Search the site"
> WIDTH=75 HEIGHT=30 BORDER=0
> NAME="sear"
> HSPACE=5 VSPACE=9></A><IMG SRC="/gifs/cap-right.gif" WIDTH=24 HEIGHT=48
> BORDER=0><BR></TD>
> </TR>
> </TABLE>
> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width="100%">
> <TR VALIGN=top BGCOLOR="#FFFFFF">
> <TD ALIGN=left WIDTH="12">
> <IMG SRC="/gifs/corner-ul.gif" WIDTH=12 HEIGHT=12 BORDER=0><BR>
> </TD>
> <TD ALIGN=left WIDTH="100%">
> <FONT FACE="tahoma, verdana, arial, helvetica, sans-serif">
> <BR CLEAR=ALL>
> <!-- start body -->
> <br>
> <b>Fatal error</b>: Call to undefined function: is_set() in
> <b>/local/Web/sites/phpweb/search.php</b> on line <b>121</b><br>
>
>
############################################################################
################################
>
>
> It "looks" like a css error to me, in that it "seems" that
> the browser merely displays the background (white)but on other
> occassions the search works fine and htdig works as expected.
> Could it be that you have more than one server running slightly
> different versions of the software?
> --
>
****************************************************************************
**
> Marx: "Why do Anarchists only drink herbal tea?"
> Proudhon: "Because all proper tea is theft."
>
****************************************************************************
**