obsolete function(Deprecated: Function get_magic_quotes_gpc(

Write about issues that you have found.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

obsolete function(Deprecated: Function get_magic_quotes_gpc(

Postby akagass » 15 Jun 2021, 14:26

Hi,

We need your support to check and fix below error that we found today on our site web

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/customer/www/immobilier224.biz/public_html/framework/web/CHttpRequest.php on line 130
//
My domain is https://www.immobilier224.biz/ .

according to my research I have found this in below

<<get_magic_quotes_gpc() has been useless ever since PHP 5.4.0. It would tell you whether you have magic quotes switched on in the configuration or not. Magic quotes were a terrible idea and this feature was removed for security reasons (PHP developers believed in magic & superstitions and wrote unsecure code).>>
akagass
Stranger
 
Posts: 2
Joined: 18 May 2018, 14:07
Reputation point: 0

Re: obsolete function(Deprecated: Function get_magic_quotes_

Postby Foton » 17 Jun 2021, 10:20

Hello,

Try to add to index.php
Code: Select all
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);

or
Code: Select all
error_reporting(E_ALL ^ E_DEPRECATED);
Foton
Web Developer
Web Developer
 
Posts: 117
Joined: 26 Jan 2012, 14:58
Reputation point: 1

Re: obsolete function(Deprecated: Function get_magic_quotes_

Postby akagass » 19 Jun 2021, 15:01

Hi

be informed that we did but the error is still there.
Thanks to tell us for the directory where "index.php" is located
akagass
Stranger
 
Posts: 2
Joined: 18 May 2018, 14:07
Reputation point: 0

Re: obsolete function(Deprecated: Function get_magic_quotes_

Postby andipas » 22 Jun 2021, 17:12

akagass wrote:Hi

be informed that we did but the error is still there.
Thanks to tell us for the directory where "index.php" is located


index.php located in the crown of the site.

Or you can configure in php.ini on the server:
error_reporting = E_ALL & ~E_DEPRECATED
andipas
Web Developer
Web Developer
 
Posts: 156
Joined: 28 Dec 2011, 22:37
Reputation point: 1


Return to Issues

Who is online

Users browsing this forum: No registered users and 10 guests