#23170 [Opn->Bgs]: Strange violation of the namespace
| From: | sniper@php.net | Date: | Thu, 24 Apr 2003 09:17:22 +0000 |
| Subject: | #23170 [Opn->Bgs]: Strange violation of the namespace | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38281@lists.php.net to get a copy of this message | ||
ID: 23170
Updated by: sniper@php.net
Reported By: kouber@php.net
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Win2000NT
PHP Version: 4.3.2RC1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2003-04-24 03:58:15] kouber@php.net
I'm not 100% sure that it's a bug in PHP itself, maybe it's Apache or
MySQL, or even system related. But I am 100000% sure that it's not a
bug IN MY CODE. I know well where to find help on using PHP, but
actually this is 99% a bug IN PHP ITSELF. Caching the problem won't
solve it! :)
Here what I have today as output in my browser:
xv>2src=?bZ??>8u>?v>?u>MY_DEPARTMENTS
The exact output contains many special symbols, so I made a screenshots
to see them all:
http://www.verax.info/ct/phpbugs/browser_output.jpg
The script itself is:
http://www.verax.info/ct/phpbugs/users.php.jpg
The question, that maybe you're askin' yourself is, where the string
'MY_SEPARTMENTS' comes from. What I have with that name is a session
variable (array)...but sure I don't want to see my session variables
leaked all over my scripts.
Thank you for your interest in PHP, too. ;)
------------------------------------------------------------------------
[2003-04-23 03:36:49] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
,
------------------------------------------------------------------------
[2003-04-14 08:20:48] kouber@php.net
Once again:
Fatal error: Unknown function: VERAX() in
d:\htdocs\ct\time_zone_client_edit.php on line 22
Post Request:
http://localhost/ct/time_zone_client_edit.php
14 $query = "UPDATE
15 CLIENT
16 SET
17 timezone=$offset,
18 dst='$dst'
19 WHERE
20 client_sid='$CLIENT_SID'";
21 query($query);
22 header("Location: ".(($ok==1)?"time_zone_client.php":$PHP_SELF));
23 exit;
------------------------------------------------------------------------
[2003-04-11 10:42:54] kouber@php.net
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 this bug report at http://bugs.php.net/?id=23170&edit=1