php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14549 Warning: Unknown persistent list...
Submitted: 2001-12-16 13:18 UTC Modified: 2001-12-17 11:29 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: webmaster at czechmedianet dot cz Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.1.0 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-12-16 13:18 UTC] webmaster at czechmedianet dot cz
What I do wrong if this easy error-less script 

<?

$db = MYSQL_PCONNECT("localhost","root","") OR DIE("");
   mysql_select_db("chat",$db) or DIE("");
$ares=mysql_query("select * from c_users");

echo "CHAT room - online users: ";
if (mysql_num_rows($ares)==0) echo "nobody";

while ($arow=mysql_fetch_array($ares))
{
echo $arow[username];
}

?>

produce this output with Warning message ... 

CHAT room - online users: nobody
Warning: Unknown persistent list entry type in module shutdown (11) in Unknown on line 0

This warning I see if I enable the option 

error_reporting  =  E_ALL & ~E_NOTICE

in php.ini. This message is visible since PHP4.0.1 

When I downgrade to PHP4.0.6, the message isn't there.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-16 13:26 UTC] webmaster at czechmedianet dot cz
heh :) sorry

finger-to-keyboard error ... :)

This Warning message is visible since PHP4.1.0 
not 4.0.1 ... 
 
 [2001-12-17 11:16 UTC] sander@php.net
Can't reproduce... pconnect() works fine for me.
What is the version of the Zend Engine? (see phpinfo())

(reclassified)
 [2001-12-17 11:23 UTC] webmaster at czechmedianet dot cz
Zend Engine v1.1.0a
 [2001-12-17 11:29 UTC] mfischer@php.net
It is verified and Zeev fixed it in CVS already. It only happens with win32 non-debug builds.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 03:01:31 2024 UTC