| Index
» Projects
» phpMyEdit
» Forum
» PhpmyEdit ver. 5.7.1 Not displaying data in all record |
 |
Pagemaker69
Joined: 09 May 2014
Posts: 1
Posted: 2014-05-09 06:42
Back to top
Reply with quote
|
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
Joined: 10 Feb 2003
Posts: 1013
Location: Denver, Colorado (USA)
Posted: 2014-05-09 19:59
Back to top
Reply with quote
|
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
Joined: 23 Jul 2014
Posts: 11
Posted: 2014-07-23 09:55
Back to top
Reply with quote
|
| Pagemaker69 wrote: |
| 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
Joined: 04 Mar 2015
Posts: 2
Posted: 2015-03-04 18:08
Back to top
Reply with quote
|
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.
|
|
Post new topic
Reply to topic
|
|
|
|