Jump to content

CubeCart Installed - HTTP ERROR 500 adding extensions


Recommended Posts

When I try and add in an extension I get the following error

 

The kisspearls.co page isn’t working

kisspearls.co is currently unable to handle this request.
HTTP ERROR 500

 

Site is at kisspearls.co

Hosted with GoDaddy

Ran  ini-custom.inc.php script to get the error log 

[25-Mar-2017 19:39:33 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[25-Mar-2017 19:39:45 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[25-Mar-2017 19:40:02 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[25-Mar-2017 19:40:30 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[25-Mar-2017 19:50:07 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[25-Mar-2017 19:52:11 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[25-Mar-2017 20:02:32 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[25-Mar-2017 20:13:36 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[25-Mar-2017 21:21:08 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/maintenance.index.inc.php on line 203
[25-Mar-2017 21:24:26 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[26-Mar-2017 03:23:20 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[26-Mar-2017 03:47:37 UTC] PHP Warning:  Invalid Security Token in /home/kisspearls/public_html/classes/sanitize.class.php on line 112
[26-Mar-2017 03:48:01 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79
[26-Mar-2017 03:52:21 UTC] PHP Warning:  Invalid Security Token in /home/kisspearls/public_html/classes/sanitize.class.php on line 112
[26-Mar-2017 03:52:43 UTC] PHP Fatal error:  Class 'ZipArchive' not found in /home/kisspearls/public_html/admin/sources/plugins.index.inc.php on line 79

 

ummm.....help...please lol

 

Link to comment
Share on other sites

Your site is running under a build of PHP in which seems it has not been compiled with PHP's ZIP functionality.

There are three main places CubeCart uses the ZipArchive features: unzipping an extension downloaded using the Marketplace's Lightning Bolt code number, making a backup or restoring a backup, and creating a sitemap.

In admin, PHP Info, view the Configure Command value in the top table. Somewhere in there MUST appear "--enable-zip".

If it isn't, see about getting your version of PHP upgraded and hope the upgraded version has been compiled "--enable-zip".

If still no, get your hosting provider to compile a version of PHP with "--enable-zip" for your account.

 

Link to comment
Share on other sites

 

'./configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/opt/alt/php56' '--exec-prefix=/opt/alt/php56' '--bindir=/opt/alt/php56/usr/bin' '--sbindir=/opt/alt/php56/usr/sbin' '--sysconfdir=/opt/alt/php56/etc' '--datadir=/opt/alt/php56/usr/share' '--includedir=/opt/alt/php56/usr/include' '--libdir=/opt/alt/php56/usr/lib64' '--libexecdir=/opt/alt/php56/usr/libexec' '--localstatedir=/var' '--with-curl=/opt/alt/curlssl/usr' '--sharedstatedir=/usr/com' '--mandir=/opt/alt/php56/usr/share/man' '--infodir=/opt/alt/php56/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/opt/alt/php56/etc' '--with-config-file-scan-dir=/opt/alt/php56/link/conf' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--with-vpx-dir=/usr' '--enable-gd-native-ttf' '--with-t1lib=/opt/alt/t1lib/usr' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/opt/alt/pcre/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-sockets=shared' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-sysvmsg=shared' '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-libxml-dir=/opt/alt/libxml2/usr' '--enable-xml' '--with-mcrypt=shared,/usr' '--with-tidy=shared,/usr' '--with-readline' '--with-mhash' '--enable-dbx=shared' '--with-zlib-dir=/usr' '--disable-opcache' '--with-mssql=shared,/opt/alt/freetds/usr' '--with-pdo-dblib=shared,/opt/alt/freetds/usr' '--with-interbase=shared,/usr' '--with-pdo-firebird=shared,/usr' '--enable-phpdbg' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbregex' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--enable-dom=shared' '--with-pgsql=shared' '--enable-wddx=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-icu-dir=/opt/alt/libicu/usr' '--enable-fastcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/opt/alt/sqlite/usr' '--enable-json=shared' '--enable-zip=shared' '--with-pspell=shared' '--enable-phar=shared' '--enable-posix=shared' '--with-unixODBC=shared,/usr' '--enable-fileinfo=shared' '--enable-intl=shared' '--enable-sqlite3=shared,/opt/alt/sqlite/usr' '--with-enchant=shared,/usr' '--with-sybase-ct=shared,/opt/alt/freetds/usr' '--with-recode=shared,/usr' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 '-g' '-pipe' '-Wall' '-Wp,-D_FORTIFY_SOURCE=2' '-fexceptions' '-fstack-protector' '--param=ssp-buffer-size=4' '-m64' '-mtune=generic' '-fno-strict-aliasing' '-Wno-pointer-sign'' 'LDFLAGS= '-Wl,-rpath=/opt/alt/curlssl/usr/lib64,-rpath=/opt/alt/libssh2/usr/lib64,-rpath=/opt/alt/libxml2/usr/lib64,-rpath=/opt/alt/pcre/usr/lib64,-rpath=/opt/alt/t1lib/usr/lib64,-rpath=/opt/alt/freetds/usr/lib64,-rpath=/opt/alt/sqlite/usr/lib64,-rpath=/opt/alt/libicu/usr/lib64'

 

found this in there

'--enable-zip=shared'

Link to comment
Share on other sites

Extensions will do everything themselves.

It will be up to you to download unzip, and FTP the extension, and place the named folder in the proper /modules/ subfolder (gateway, plugins, shipping, etc).

When you next call up the admin Manage Extensions page, you should see the named module in the list.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...