Foldergallery Call to undefined function

Gast

QuoteThe page is shows this error

There was an uncatched exception
Call to undefined function mysql_client_encoding()
in line (30) of (/modules/foldergallery/view.php):

this was a function in the old foldergallery (vers 1.38 and older) and also in responsiveFoldergallery, to set the datas to a special charset. this code is removed in vers 1.39 and newer, so not possible, to get the same error message for this

two possible problems (if you get this message after the module upgrade):
1. you dont overwrite all files in the module upgrade. if you have problems like this with you ftp-client, its recommended, to clear the module folder complete and upload the new files into this folder via ftp
2. its a old error message (see date of this message, delete the error.log and try it again




Amiga1200

Same error here on WSB 2.10 with Foldergallery 2.1.0.

I just switched the collation on field categorie in table wb_mod_foldergallery_categories from utf8_unicode_ci to utf8_general_ci.

With utf8_unicode_ci i got this error: SQL Error (1267) Illegal mix of collations

Now it works.

hgs

LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Het Artiek

tnx Darkviper

php version is 7.1. my host has a php version selector in the direct admin so i can toggle easy.
It is running 5.6..

i think the module is outdated and needs a update.


DarkViper

it looks like your server 'B' has an older version of PHP then your server 'A'

Manuela
[url=http://www.youtube.com/watch?v=tmzDAz6ZvFQ]Der blaue Planet[/url] - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen[br]
[i]"You have to take the men as they are... but you can not leave them like that !" :-P [/i]
[i]Das tägliche Stoßgebet: [b]Oh Herr, wirf Hirn vom Himmel ![/b][/i]

Het Artiek

Moving from server A to B the foldergallery broke.

Do i need a newer version?

The page is shows this error

There was an uncatched exception
Call to undefined function mysql_client_encoding()
in line (30) of (/modules/foldergallery/view.php):