| Index
» Projekty
» phpMyEdit
» Fórum
» Items found in the PHP error log |
 |
guardian46
Založený: 31.05.2005
Príspevky: 34
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
|
|
|
|