Author Topic: Foldergallery Call to undefined function  (Read 728 times)

Offline Het Artiek

  • Posts: 96
  • Gender: Male
  • What do you mean, my birth certificate expired?
    • www.hetartiek.nl
Foldergallery Call to undefined function
« on: August 21, 2017, 07:15:24 PM »
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_encodi ng()
in line (30) of (/modules/foldergallery/view.php):

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3021
  • Gender: Female
Re: Foldergallery Call to undefined function
« Reply #1 on: August 22, 2017, 01:35:21 AM »
it looks like your server 'B' has an older version of PHP then your server 'A'

Manuela
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"You have to take the men as they are… but you can not leave them like that !" :-P
Das tägliche Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

Offline Het Artiek

  • Posts: 96
  • Gender: Male
  • What do you mean, my birth certificate expired?
    • www.hetartiek.nl
Re: Foldergallery Call to undefined function
« Reply #2 on: August 22, 2017, 05:20:14 PM »
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.


Offline hgs

  • Betatester
  • **
  • Posts: 1110
    • EFG MG
LG Harald

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

Offline Amiga1200

  • Posts: 6
  • Gender: Male
    • Tierfreunde-Kamen
Re: Foldergallery Call to undefined function
« Reply #4 on: August 22, 2017, 09:57:45 PM »
Same error here on WSB 2.10 with Foldergallery 2.1.0.

I just switched the collation on field categorie in table wb_mod_foldergaller y_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.

Offline jacobi22

  • Posts: 5843
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Foldergallery Call to undefined function
« Reply #5 on: August 22, 2017, 11:33:43 PM »
Quote
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):

this was a function in the old foldergallery (vers 1.38 and older) and also in responsiveFoldergal lery, 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



Wer nicht will, findet Gründe, wer will, findet Wege.