Author Topic: Error when installing extension  (Read 3344 times)

surknight

  • Guest
Error when installing extension
« on: May 18, 2013, 08:26:40 AM »
Installation: Abantecart 1.1.4 on localhost, Windows Vista 64bit platform
Extension attempted: The free Google checkout payment extension

Here's what I got when I plugged the installation key from the extension marketplace into the 'install extension' dialogue:
Fatal error: Class 'Atargz' not found in C:\xampp\htdocs\abantecart_surknight\public_html\core\lib\package_manager.php on line 141

I saw on a similar topic that a suggested reason for this error was missing files from the original abantecart distribution, but I don't think that's the case. I extracted everything from public_html into the abantecart_surknight directory and the core\lib directory has all 52 of the files in the original zip (including the targz.php file) so if there's something missing somewhere it's not in that particular directory. Is there a master listing somewhere of what files are supposed to be in the entire installation that I can compare what I have installed to?

Thanks.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4327
  • Karma: +292/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Error when installing extension
« Reply #1 on: May 18, 2013, 11:17:57 AM »
Possibly there is no TAR GZIP support on your windows computer or php.

Also, check the error log and see if you have error  "Error: Could not load library tardz"

Check that you have file core/lib/targz.php present
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

surknight

  • Guest
Re: Error when installing extension
« Reply #2 on: May 18, 2013, 06:37:54 PM »
Possibly there is no TAR GZIP support on your windows computer or php.

Also, check the error log and see if you have error  "Error: Could not load library tardz"

Check that you have file core/lib/targz.php present

I've installed 7zip, ran it as admin and associated .tar, .gz, and .tgz files for all users, so I do have TAR GZIP support on the computer. Didn't solve the problem from within the Abantecart interface though.

core/lib/targz.php file is definitely present and accounted for.

I do have an error in the log, but not the one you mention. This is it: "error:  AbanteCart core v.1.1.4 Class 'Atargz' not found in C:\xampp\htdocs\abantecart_surknight\public_html\core\lib\package_manager.php on line 141"

I checked PHPinfo (PHP version 5.4.7) and I have: "Registered PHP Streams php, file, glob, data, http, ftp, zip, compress.zlib, compress.bzip2, https, ftps, phar"
I'm assuming that .tar gzip should be appearing in there, so how do I activate/register it? I already tried uncommenting the following lines in C:\xampp\apache\conf\httpd.conf :

    #AddType application/x-gzip .tgz
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz

Didn't help though - still getting the same error about "Class 'Atargz'" above.

Offline impeesa

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Error when installing extension
« Reply #3 on: June 17, 2013, 06:18:55 AM »
I refer to C:\xampp\htdocs\qcodestore\core\lib\targz.php
I found on top targz.php script
<?
change with
<?php

and error in AbanteCart v1.1.5 file usually forget to change <? with <?php  ;D
so please check another file in AbanteCart if this happen. I hope can solve it.  :)

Thanks
« Last Edit: June 17, 2013, 06:21:26 AM by impeesa »

 

Powered by SMFPacks Social Login Mod