[ZipArchive needed to be installed on server] Fatal error in php 7.0.20

More
7 years 4 months ago - 7 years 4 months ago #68199 by seabird
Hello,

I use flexicontent 3.1.1 and I test on php 7.0.20.
I have no problem in php 5.6 but in php 7.0.20 I have a fatal error in frontend:
Fatal error: Class 'ZipArchive' not found in .../components/com_flexicontent/classes/flexicontent.helper.php on line 7497

Strange,

Eric
Last edit: 7 years 4 months ago by ggppdk.

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

More
7 years 4 months ago #68200 by ggppdk
Replied by ggppdk on topic Fatal error in php 7.0.20
Hello

in v3.1.1 you need to add loading of ZipArchive
in v3.2.0 this need is removed

Please ask your webhost to enable usage of ZipArchive


-- 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
7 years 4 months ago - 7 years 4 months ago #68207 by seabird
Replied by seabird on topic Fatal error in php 7.0.20
Hello,

I forgot to install the librairie php7.0-zip on the server. it's Ok now on php 7

But It's strange I did not install php5-zip for php5 and there is no problem with ZipArchive on php 5.6

Ziparchive only used on php 7 ???

Eric
Last edit: 7 years 4 months ago by seabird.

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

More
7 years 4 months ago #68210 by ggppdk
Replied by ggppdk on topic Fatal error in php 7.0.20
Hello

Ziparchive only used on php 7 ???


ziparchive is commonly load in servers but it is optional in both PHP 5.6 and PHP 7


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.321 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