|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23170 Strange violation of the namespace
Submitted: 2003-04-11 10:42 UTC Modified: 2003-05-04 19:15 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 4.3.2RC1 OS: Win2000NT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
35 - 27 = ?
Subscribe to this entry?

 [2003-04-11 10:42 UTC]
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:


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";
    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 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-14 08:20 UTC]
Once again:

Fatal error: Unknown function: VERAX() in d:\htdocs\ct\time_zone_client_edit.php on line 22

Post Request:

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-24 03:58 UTC]
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:


The exact output contains many special symbols, so I made a screenshots to see them all:

The script itself is:

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-26 06:54 UTC]
You really ought to know better how to report bugs..
You're not giving much information, like what apache version,
and any example code that we can try ourselves..
And you should try the latest stable snapshot first too.

 [2003-05-01 20:39 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

 [2003-05-04 19:15 UTC]
Thank you Jani, I am no longer experiencing that problem. If I have additional information which can help us to "catch the bug", I'll add some comment. The biggest problem is that refreshing makes errors disappear.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 18 05:01:28 2024 UTC