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

Get "Internal Server Error" when save php-file on PHP 8 #303

Open
rexct opened this issue Jul 4, 2021 · 2 comments
Open

Get "Internal Server Error" when save php-file on PHP 8 #303

rexct opened this issue Jul 4, 2021 · 2 comments

Comments

@rexct
Copy link

rexct commented Jul 4, 2021

When I try to save the schema with PHP-file, I got "Server response: Internal Server Error".
After adding some debug code in backend/php-file/index.php, I think the problem is get_magic_quotes_gpc() and get_magic_quotes_runtime() were removed as of PHP 8.0.0.

My temporary workaround is commented out two lines.
line 16:
if (get_magic_quotes_gpc() || get_magic_quotes_runtime()) {
line 18:
}

@ondras
Copy link
Owner

ondras commented Jul 26, 2021

Hmm, but people might still be running the app on PHP older than 8.0 - in particular, using an installation that has magic quotes enabled. Any suggestions?

@vpabloo
Copy link

vpabloo commented Nov 5, 2021

I have the same ploblem. Solution: In my web URL use https:// instead http//

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