WebsiteBaker Community Forum

WebsiteBaker Support (2.10.x) => Modules => Topic started by: lars_dk on January 28, 2018, 01:58:04 PM

Title: I gots errors in Newsreader module
Post by: lars_dk on January 28, 2018, 01:58:04 PM
Hi, i have installed Newsreader module on my site but i got some errors when I will make a site i got this error message

There was an uncatched exception
Call to undefined function mysql_real_escape_s tring()
in line (94) of (/modules/newsreader/functions.php):

Do i something wrong or are there an error in the module ?
Title: Re: I gots errors in Newsreader module
Post by: evaki on January 28, 2018, 02:31:46 PM
0.3.8.0
There the message is suppressed
@mysql_real_escape_string($value)."', ";

MfG. Evaki
Title: Re: I gots errors in Newsreader module
Post by: lars_dk on January 28, 2018, 02:34:15 PM
Thanks it's works now :-)
Title: Re: I gots errors in Newsreader module
Post by: Gast on January 28, 2018, 02:54:33 PM
please zip this module and send it to my mail-adress (see the mail-icon on the left side)

mysql_real_escape_s tring() is not longer allowed, because, mysql is outdated since PHP 5.5.x

you can try it with mysqli_real_escape_string (http://php.net/manual/de/mysqli.real-escape-string.php) , but i'm sure, there are more problems in this module
Title: Re: I gots errors in Newsreader module
Post by: evaki on January 28, 2018, 03:01:27 PM
0.3.8.0 war wohl die letzte, und ist schon 'ne Weile her  :roll:
Hab' kurz mal mit rss2 getestet, aber ohne weitere Optionen. Da könnte dann u.U. der Hammer hängen (UTF etcUTF klappt), weiß es aber nicht. 'Ne richtige Korrektur wäre natürlich sinnvoller, das das Teil ansonsten ein schönes Teil ist. Wann kann man das schon so klar sagen :-D :-D :-D Allein das Info-Fenster ist sowas von geil...
MfG. Evaki