Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set_magic_quotes_runtime #6

Closed
8mccm8 opened this issue Dec 6, 2017 · 4 comments
Closed

set_magic_quotes_runtime #6

8mccm8 opened this issue Dec 6, 2017 · 4 comments

Comments

@8mccm8
Copy link

8mccm8 commented Dec 6, 2017

hi
Warning
This function was DEPRECATED in PHP 5.3.0, and REMOVED as of PHP 7.0.0.
[Wed Dec 06 12:23:15.842030 2017] [:error] [pid 11919] [client 127.0.0.1:32840] PHP Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /var/www/html/prj/install/install.inc.php:146\nStack trace:\n#0 /var/www/html/prj/install/do_install_db.php(161): InstallLoadSql('/var/www/html/p...')\n#1 {main}\n thrown in /var/www/html/prj/install/install.inc.php on line 146, referer: http://127.0.0.1/prj/install/db.php

@ajdonnison
Copy link
Contributor

Probably safe to remove as of PHP 5, but we will need to check as a lot depends on it.

@patredmond
Copy link

Should be fairly easy to skip "set_magic_quotes_runtime()" for PHP after 5.3.0 - see patch below. Note that the patch has a bit of noise - there seem to be a variety of line endings which Sublime doesn't really like.
This patch creates issues for me in PHP 7.0.3, which seems to be related to #5

set_magic_quotes_runtime.patch.txt

@ajdonnison
Copy link
Contributor

Not 100% sure, I'll check it again, but I believe the recent changes I made to the devel branch fixes this.

@ajdonnison
Copy link
Contributor

This is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants