Announcement

#1 2020-12-03 19:24:11

kwgagel
Member
2020-12-03
25

Installing/Setup and I get "Fatal error: Uncaught Error: Call to ..."

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

 

#2 2020-12-07 19:58:14

kwgagel
Member
2020-12-03
25

Re: Installing/Setup and I get "Fatal error: Uncaught Error: Call to ..."

No suggestions at all?

Offline

 

#3 2020-12-08 03:23:26

erAck
Only trying to help
2015-09-06
2018

Re: Installing/Setup and I get "Fatal error: Uncaught Error: Call to ..."

Use PHP 7.3; get_magic_quotes_gpc() has been removed in PHP 8 (deprecated since 7.4).


Running Piwigo at https://erack.net/gallery/

Offline

 

#4 2020-12-12 05:58:04

jfrench
Member
2020-12-12
1

Re: Installing/Setup and I get "Fatal error: Uncaught Error: Call to ..."

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

 

#5 2020-12-15 21:58:12

kwgagel
Member
2020-12-03
25

Re: Installing/Setup and I get "Fatal error: Uncaught Error: Call to ..."

I've switched php to version 7.4 and that got me going.

Offline

 

#6 2021-02-04 16:07:14

recobb
Member
2016-03-04
13

Re: Installing/Setup and I get "Fatal error: Uncaught Error: Call to ..."

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

 

#7 2021-02-05 00:36:25

ckayfish
Member
2021-01-25
53

Re: Installing/Setup and I get "Fatal error: Uncaught Error: Call to ..."

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.


--- devOps engineer; sometimes coder. I make your apps run with 99.999% uptime ---

Offline

 

#8 2021-02-05 01:42:18

executive
Member
2017-08-16
1214

Re: Installing/Setup and I get "Fatal error: Uncaught Error: Call to ..."

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

 

#9 2021-05-04 09:37:09

IamBorg
Member
2021-05-04
12

Re: Installing/Setup and I get "Fatal error: Uncaught Error: Call to ..."

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact