#23170 [NEW]: Strange violation of the namespace
| From: | kouber@php.net | Date: | Fri, 11 Apr 2003 15:42:54 +0000 |
| Subject: | #23170 [NEW]: Strange violation of the namespace | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-37571@lists.php.net to get a copy of this message | ||
From: kouber@php.net
Operating system: Win2000NT
PHP version: 4.3.2RC1
PHP Bug Type: *General Issues
Bug description: Strange violation of the namespace
Very rarely (once, twice per week) I got strange errors in scripts. The
last one is:
Fatal error: Call to undefined function: verax() in
d:\htdocs\ct\dist_channels.php on line 91
The request to the server is:
http://localhost/ct/dist_channels.php?&id=33&subId=330&firstLink=1
O.K. Seems a trivial error for non-existent function. But! Actually
anywhere in my code I don't have a call to that function. I checked even
all the d:\htdocs directory for the word "verax" and wasn't found nowhere.
I'm sure, I don't include ot require some external scripts.
What I have on line 91 is:
$res = $paging->query();
and the $query method of the $paging class is:
function query() {
return query($this->query." ORDER BY $this->sortby
".(($this->sorttype)?"DESC ":"")."LIMIT $this->frompage,
$this->itemsperpage");
}
and the query() function is:
function query($query) {
global $mysqlid;
$result = mysql_query($query, $mysqlid);
if (mysql_errno($mysqlid)) {
echo $query."<br>\n".mysql_errno($mysqlid).":
".mysql_error($mysqlid)."\n";
mysql_close($mysqlid);
exit;
}
else
return $result;
}
Which leads me to the explanation that it's a MySQL related problem.
Maybe. I didn't count the previous error messages.
What actually scare me is the missing of the word "verax" in all my
scripts and in php.ini. Only in the httpd.conf of the apache (1.3.x)
exists that string, but commented.
And finally, when I refresh the page, this error don't appear anymore...so
I can't analize where the error comes from. A memory leak...or something
in the apache module...I don't know. But it's strange.
--
Edit bug report at http://bugs.php.net/?id=23170&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23170&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23170&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23170&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23170&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23170&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23170&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23170&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23170&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23170&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23170&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23170&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23170&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23170&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23170&r=gnused