Pages: 1
Thanks for any assistance you can give me. This is a first time install/setup so it's not even running yet. When I go to the install/setup page I receive this error:
Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in C:\Apache24\htdocs\testsite\galleries\install.php:17 Stack trace: #0 {main} thrown in C:\Apache24\htdocs\testsite\galleries\install.php on line 17
Windows Pro 10 version 20H2 (64bit)
PHP 8.0.0 64 bit
MySQL community edition 8.0.22
Piwigo 2.10.2
What other bits of information can I provide to help you to help me?
Last edited by kwgagel (2020-12-03 19:26:30)
Offline
No suggestions at all?
Offline
Use PHP 7.3; get_magic_quotes_gpc() has been removed in PHP 8 (deprecated since 7.4).
Offline
Piwigo isn't yet compatible with PHP 8. Commenting out the magic quotes will help, but the larger issue of php 8 compatibility remains.
Would the Piwigo team comment on a future version that supports php 8?
Offline
I've switched php to version 7.4 and that got me going.
Offline
Oh my. I just upgraded all 3 of my galleries on my local machine, and then decided to upgrade the Bitnami Wampstack that serves it. It took me about a day to get that running, and then I found the error:
Uncaught Error: Call to undefined function get_magic_quotes_gpc() in xxxxx\\include\\common.inc.php:20
And I see here that it is a php 8 error, which I am now running in the new Wampstack. I commented out the call in line 20, and the gallery will at least load the main page now, although anything beyond that I get errors or strange behavior.
Any idea when php 8 compatibility might become a possibility? I'm not keen on working backwards on the Wampstack version if I can wait this out.
Last edited by recobb (2021-02-04 16:08:29)
Offline
Many PHP features were deprecated in 7.4, Meaning they will work but present a warning that they won’t work in future versions (such as 8)
I’m sticking with 7.3 for all of my apps that don’t explicitly support 7.4 or 8 unless I’m beta testing.
Offline
I'm also staying on PHP7
Most of my software isn't ready for PHP8 yet, and won't be bug free for a while.
Offline
I have the same problem. my host runs php 8.0.4 which makes it difficult to change if there is hope that this page will work in the near future so I can wait. But if it is a matter of years, it will be difficult to wait. but then you know in any case that it will not work ..
so if it is possible to get a notice if you have to wait or look further
Offline
Pages: 1