Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Items found in the PHP error log

phpMyEdit Configuration     Items found in the PHP error log
Odoslať novú tému   Odpovedať na tému    
 
guardian46     Založený: 31.05.2005   Príspevky: 34  
Príspevok Zaslal: 2020-05-23 05:47
Návrat hore  Odpovedať s citátom     

While tracking down one of my mistakes (I found it), I also discovered these in my log file:
Kód:
[23-May-2020 04:47:37 UTC] PHP Notice:  Uninitialized string offset: 0 in /home/guardian/pub/pme/phpMyEdit.class.php on line 2112
[23-May-2020 04:47:37 UTC] PHP Notice:  Uninitialized string offset: 0 in /home/guardian/pub/pme/phpMyEdit.class.php on line 2113
[23-May-2020 04:47:37 UTC] PHP Notice:  Undefined index: trimlen in /home/guardian/pub/pme/phpMyEdit.class.php on line 3096

I went to the class file and pulled the lines. The first two are in the subsection show disabled by default which is in function display_button($name, $position = 'up')
Kód:
      if ($name[0] == '+') { $name = substr($name, 1); $disabled =  0; } // always show disabled as enabled
      if ($name[0] == '-') { $name = substr($name, 1); $disabled = -1; } // don't show disabled

The third line is in function recreate_fdd($default_page_type = 'L') in the subsection Make field backups
Kód:
$this->fdd[$column][$col_ar[0] .'~'] = $this->fdd[$column][$col_ar[0]];

Does anyone see any problems in this code? Is this something that needs to be addressed or can it be safely ignored?

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov