| Index
» Projekty
» phpMyEdit
» Fórum
» PhpmyEdit ver. 5.7.1 Not displaying data in all record |
 |
Pagemaker69
Založený: 09.05.2014
Príspevky: 1
Zaslal: 2014-05-09 06:42
Návrat hore
Odpovedať s citátom
|
I have used this version for some time and it was working just fine. However in December 2013 my Hosting Server upgraded the Php to version 5 and since then when I use the PhpMyedit to view and edit the data base many records are empty. The data is there as it shows on our website but I can not see it now to edit or update the data.
Can some one please help me with this.
Thank you
With Kindest Regards
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2014-05-09 19:59
Návrat hore
Odpovedať s citátom
|
Check the server's error_log file. Error reporting is probably off, thus suppressing errors which would otherwise tell you what the problem(s) are, so turn it ON with
error_reporting(E_ALL);
Probably the errors relate to deprecated PHP commands, and placing @ in front of the offending command will suppress errors for the command in that line.
If the above makes no sense to you, ask your host to turn error reporting ON.
|
Atara.H
Založený: 23.07.2014
Príspevky: 11
Zaslal: 2014-07-23 09:55
Návrat hore
Odpovedať s citátom
|
| Pagemaker69 Napísal: |
| I... my Hosting Server upgraded the Php to version 5 and since then when I use the PhpMyedit to view and edit the data base many records are empty. |
in PHP 5.4 the default encoding used by htmlspecialchars() was changed. To fix the same problem in our site, I did the following:
1. Replace each 'htmlspecialchars(...)' with 'fhtmlspecialchars(...)'
2. Add the function 'fhtmlspecialchars':
function fhtmlspecialchars($myString) {
// in PHP 5.4 the default encoding used by htmlspecialchars() was changed.
return htmlspecialchars($myString, ENT_COMPAT, 'ISO-8859-1', true);
}
[based on http://php.net/manual/en/function.htmlspecialchars.php + Dave's comment there]
|
dogsbreath1
Založený: 04.03.2015
Príspevky: 2
Zaslal: 2015-03-04 18:08
Návrat hore
Odpovedať s citátom
|
Thank you Atara. I had the problem that every time there was a German umlaut the record was not displayed, but your function did the trick.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|