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.
the error created:
obviously finding an unmatching/unawaited <
would have been created in this File, in real:
admin/controller/extension/installer.php
WHEREBY:
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.
Good Luck
Ernie
Code: Select all
undefined function: zip_open()
would have been created in this File, in real:
admin/controller/extension/installer.php
WHEREBY:
Code: Select all
on line120
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.

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.
Who is online
Users browsing this forum: Amazon [Bot] and 15 guests