ondras / wwwsqldesigner

WWW SQL Designer, your online SQL diagramming tool
https://sql.toad.cz/?keyword=online_library
BSD 3-Clause "New" or "Revised" License
2.86k stars 722 forks source link

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

Open rexct opened 2 years ago

rexct commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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