| Index
» Projekty
» phpMyEdit
» Fórum
» set_magic_quotes_runtime() is deprecated |
 |
Tom Moulton
Založený: 03.09.2018
Príspevky: 7
Zaslal: 2018-09-08 13:15
Návrat hore
Odpovedať s citátom
|
I am using phpMyEdit-5.7.1 which I downloaded from the website.
Is CVS HEAD at that version too?
I think this warning can be ignored, but I am just starting out with this project and would rather not START with these kinds of things...
Tom
|
Tom Moulton
Založený: 03.09.2018
Príspevky: 7
Zaslal: 2018-09-08 13:22
Návrat hore
Odpovedať s citátom
|
Ok I see that CVS matches...
but any insight on my other question...
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2018-09-09 14:37
Návrat hore
Odpovedať s citátom
|
Please restate the question, I fail to understand the question.
|
Tom Moulton
Založený: 03.09.2018
Príspevky: 7
Zaslal: 2018-09-09 22:18
Návrat hore
Odpovedať s citátom
|
on my test server I am seeing a warning:
set_magic_quotes_runtime() is deprecated
On my production server I am running php7 and that warning is a fatal error.
php.net says This function was DEPRECATED in PHP 5.3.0, and REMOVED as of PHP 7.0.0.
Is there any plans for making phpMyEdit work with PHP7?
Tom
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2018-09-10 05:06
Návrat hore
Odpovedať s citátom
|
Prepend the @ sign to offending bits of code in the class file, or something along those lines. Future changes to the files in the CVS are either unlikely or rare. Possibly adjust error_reporting() to suppress warnings, etc.
|
Tom Moulton
Založený: 03.09.2018
Príspevky: 7
Zaslal: 2018-09-11 13:04
Návrat hore
Odpovedať s citátom
|
The problem is that php7 is the current version in production and that warning is now a fatal error, can't suppress those :(
Tom
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2018-09-11 13:09
Návrat hore
Odpovedať s citátom
|
Comment out the line???
// set_magic_quotes_runtime();
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|