[solved] import function, undefined function zlib_encode

More
10 years 5 months ago - 10 years 4 months ago #47796 by tonnick
hello !

Depuis le dernier upgrade vers FLEXIcontent version 2.2.0 r1910, je ne peux plus faire d'import.

En regardant dans les logs, j'ai cette erreur :

PHP Fatal error: Call to undefined function zlib_encode() in administrator/components/com_flexicontent/controllers/import.php on line 468, referer: http://mydomain/administrator/index.php ... iew=import

De ce que j'ai pu voir, il s'agit de json qui est actif :

json
json support => enabled
json version => 1.2.1

Avez-vous changé quelque chose dans les fonctions d'import ?
merci de votre aide !
Last edit: 10 years 4 months ago by tonnick.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #47797 by ggppdk
Hello

zlib needs to be enabled on your server


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #47815 by tonnick
php -i | grep zlib >>> '--with-zlib'

and

Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
zlib.output_compression => On => On
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value


am I missing somthing else ?

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #47816 by ggppdk
Hello

zlib_encode usage was added in v2.2.0 for compressing the import data between import steps

but it seems that you have zlib support loaded by your web-server, so i have no idea why this would happen

which PHP version do you have ?
if you go to Joomla 's System Information is there a
"Zlib support" section ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #47822 by tonnick
PHP Version 5.3.3
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #47830 by tonnick
is there a way to disable it in flexicontent in prod environment while I'll let it enable in my preprod website for test purpose ?

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.806 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline