Post by arizos » Thu Jul 30, 2015 12:40 am

I am trying to install an extension it's a zip file. But when I try I get the following error

SyntaxError: JSON Parse error: Unrecognized token '<'
OK
<head/><br/>
<b>Fatal error</b>: Call to undefined function zip_open() in <b>/home/XXXXX/public_html/vqmod/vqcache/vq2-admin_controller_extension_installer.php</b> on line <b>120</b><br/>

I have checked the PHP info and ZIP is enabled.
I am running the Opencart 2.0.3.1 and VQMOD 2.5.1

Any suggestions would be greatly appreciated.
I have cleared the VQmod Cache folder and also re installed VQMOD.

Newbie

Posts

Joined
Wed Nov 30, 2011 2:45 pm

Post by IP_CAM » Thu Jul 30, 2015 2:13 am

the error created:

Code: Select all

undefined function: zip_open() 
obviously finding an unmatching/unawaited <
would have been created in this File, in real:
admin/controller/extension/installer.php

WHEREBY:

Code: Select all

on line120
only means, that the individually system-specific 'compiled' and
cached 'end-product' of this File, then used to execute the routines:
vqmod/vqcache/vq2-admin_controller_extension_installer.php
ist the 'cached' File, placed in the vqmod/vqcache/ Directory,
and therefore show's this error on it's own file line 120.
For other, this Line #120 is therefore relatively memaningless, without
seeing the actual part/section of the Code... ;)
---
But it's probably not the OC Source Code!
It could be a slight programming error somewhere in the Mod-Files,
or then the ZIP File itself, saved incorrectly, etc., etc.,
---
Solution: Try an Installation by use of another Simple Mod, known to function,
and find out, of the Problem still exists. Then, at least, you, and others, are
one step further, to find out. :D
Good Luck
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 10 guests