Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Bug list  »  Bug #227

Viewing Bug Advanced Details [ Jump to Bugnotes ] [ Bug History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000227 core / general minor always 2004-04-16 18:40 2004-04-19 20:56
 
Reporter brycen View Status public  
Assigned To
Priority normal Resolution open Platform
Status feedback Duplicate ID OS
Projection none Version
ETA none Product Version 5.4 (stable)
  Product Build
  Votes 1
 
Summary Apache error log entries when runing phpMyEdit
Description [root@hardhat bryce]# tail -f /var/log/httpd/error_log
[Mon Apr 12 13:52:50 2004] [error] PHP Warning: Undefined offset: 81839 in /var/www/html/nextbus/phpMyEdit-5.4/phpMyEdit.class.php on line 2663
[Mon Apr 12 13:52:50 2004] [error] PHP Warning: Undefined offset: 81840 in /var/www/html/nextbus/phpMyEdit-5.4/phpMyEdit.class.php on line 2663
[Mon Apr 12 13:52:50 2004] [error] PHP Warning: Undefined offset: 81841 in /var/www/html/nextbus/phpMyEdit-5.4/phpMyEdit.class.php on line 2663
[Mon Apr 12 13:52:50 2004] [error] PHP Warning: Undefined offset: 81842 in /var/www/html/nextbus/phpMyEdit-5.4/phpMyEdit.class.php on line 2663
[Mon Apr 12 13:52:50 2004] [error] PHP Warning: Undefined offset: 81843 in /var/www/html/nextbus/phpMyEdit-5.4/phpMyEdit.class.php on line 2663
[Mon Apr 12 13:52:50 2004] [error] PHP Warning: Undefined offset: 81844 in /var/www/html/nextbus/phpMyEdit-5.4/phpMyEdit.class.php on line 2663
[Mon Apr 12 13:52:50 2004] [error] PHP Warning: Undefined offset: 81845 in /var/www/html/nextbus/phpMyEdit-5.4/phpMyEdit.class.php on line 2663
[Mon Apr 12 13:52:50 2004] [error] PHP Warning: Undefined offset: 81846 in /var/www/html/nextbus/phpMyEdit-5.4/phpMyEdit.class.php on line 2663
[Mon Apr 12 13:52:50 2004] [error] PHP Warning: Undefined offset: 81847 in /var/www/html/nextbus/phpMyEdit-5.4/phpMyEdit.class.php on line 2663
[Mon Apr 12 13:52:50 2004] [error] PHP Warning: Undefined offset: 81848 in /var/www/html/nextbus/phpMyEdit-5.4/phpMyEdit.class.
Steps To Reproduce
Additional Information / Solution
Attached Files

Bug Notes
hbernard
2004-04-16 22:46

Yeah, this is because we are trying in the same operation to change an array an to count how many elements it has....

$this->sfn[count($this->sfn) - 1] = "$k";

works but produce those warnings....

Fix should be:

$c = count($this->sfn);
$this->sfn[$c - 1] = "$k";

Can you confirm ?

edited on: 2004-04-16 22:50
 
brycen
2004-04-19 20:15

Well, that only seems to be one of them. From my apache error log ( tail -f /var/log/httpd/error_log ) I now see:

[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined variable: qpviewStr in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 2040
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined variable: qpcopyStr in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 2041
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined variable: qpchangeStr in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 2042
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined variable: qpdeleteStr in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 2043
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: input in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: options in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 200
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined index: trimlen in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 1259
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined variable: var_to_total in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 2159
[Mon Apr 19 11:13:28 2004] [error] PHP Warning: Undefined variable: in /var/www/html/nextbus/phpMyEdit-CVS/phpMyEdit.class.php on line 2159


This is with phpMyEdit from CVS.
 
hbernard
2004-04-19 20:56

(These are notices, I wonder why they are called Warnings... What is your apache/php version ?)

It seems when error are not outputed, there are written in the log file.
Hum...

See #25, I uploaded a patch against most of those Notices.

but nepto choosed to not display Notice and not to fix them.

I need to think about this.

edited on: 2004-04-19 20:56
 

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy