Announcement

#1 2010-11-11 18:13:30

vizion
Member
2010-11-09
4

PHP Deprecated mysql_escape_string filling error logs

error reports of following type filling log files:


[error] PHP Deprecated mysql_escape_string() |<a href='function.mysql-real-escape-string'> function.mysql-real-escape-string</a>|: This function is Deprecated; use mysql_real_escape_string() instead. in /path/to/phpwebgallery/plugins/AMetadata/amd_root.class.inc.php on line 288 referer: gttp://myserver.mydomain.tld/urlpath/to/phpwebgallery/admin.php?page=plugin&section=AMetaData%2Fadmin%2Fplugin_admin.php

David Southwell

Offline

 

#2 2010-11-11 18:38:39

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13180

Re: PHP Deprecated mysql_escape_string filling error logs

What is your PHP version?

I notify grum, author of the AMetadata plugin.

grum, please use pwg_db_real_escape_string() instead


Latest blog post (November 9th 2018) Why Flickr could not remain free for ever

Offline

 

#3 2010-11-11 19:17:52

vizion
Member
2010-11-09
4

Re: PHP Deprecated mysql_escape_string filling error logs

Thanks

php5-5.3.3

David

Offline

 

#4 2010-11-12 00:09:29

grum
Piwigo Team
Nantes
2007-09-10
1371

Re: PHP Deprecated mysql_escape_string filling error logs

Ok thank.
I don't use PHP 5.3.3 so, I can't see the warning message ^^;

I have openned a bug request [Bugtracker, ticket 2028, fixed] Use of deprecated function


My pictures with Piwigo, of course !
[ www.grum.fr ] [ photos.grum.fr ]

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact