Show Posts


Messages - abolabo

Pages: 1 ... 130 131 [132] 133 134 ... 137
1966
Template Support / Re: Payment info
« on: October 25, 2012, 01:14:59 PM »
Invoices are not required - is there a way to remove the Payment address block on the Payment information page?

You can change template storefront/view/default/template/pages/checkout/payment.tpl.

delete this
Code: [Select]
<b style="margin-bottom: 2px; display: block;"><?php echo $text_payment_address?></b>
    <div class="content">
      <table width="100%">
        <tr>
          <td width="50%" valign="top"><?php echo $text_payment_to?><br />
            <br />
            <div style="text-align: center;"><?php echo  $change_address?></div>
          </td>
          <td width="50%" valign="top"><b><?php echo $text_payment_address?></b><br />
            <?php echo $address?></td>
        </tr>
      </table>
    </div>

1967
Support / Re: Error in upgrading AbanteCart card to version 1.1.1
« on: October 23, 2012, 08:59:49 AM »
try to set passive mode for ftp-connection

1968
Support / Re: Error in upgrading AbanteCart card to version 1.1.1
« on: October 22, 2012, 07:45:41 AM »
Quote
We recommend manual upgrade this time.

Sorry for the inconvenience.

1969
Existing features / Re: Banner Manager defect ?
« on: October 22, 2012, 07:26:24 AM »
No, that file does not exist.

but extensions/banner_manager/storefront/controller/blocks/banner_block.php does.
it's very strange situation. I can't to replicate it.  :o
May be you suggest me steps to do this? or send me sql dump with code via PM.

1970
Support / Re: Error messages
« on: October 22, 2012, 07:17:23 AM »
OK thanks have changed that as suggested.
Do I need to do anything to ensure this change is "live"?  So far the error log has the same errors being reported.
Adam

what exaclty you changed? error_reporting(E_ALL & ~E_DEPRECATED);  OR upgrade from 1.1.0 up to 1.1.1?
Second variant prefer. There no sql changes, just replace files. (but do not forget backup)

1971
General Support / Re: iPad Safari issue
« on: October 22, 2012, 05:46:08 AM »
The error occurs when accessing storefront "store/index.php?rt=index/home" but only when using Safari.
if you have v1.1.0 try to upgrade your Abantecart up to v.1.1.1.  It's just file replacing upgrade, without sql-changes.

1972
General Support / Re: Google Analytics
« on: October 22, 2012, 05:43:11 AM »
Ok, I put :

Code: [Select]
public function onControllerPagesCheckoutConfirm_UpdateData() {
$registry = Registry::getInstance();
$order_id = $registry->get('session')->data['order_id'];
$order_info = $registry->get('model_checkout_order')->getOrder($order_id);
$script_html = "Place Some html Here, for ex: <script> alert('Order Total: ".$order_info['total']."')</script>";
$this->baseObject->view->addHookVar('payment_pre',$script_html);
return ;
}

in extensions/strikehawk_ganalytics/core/strikehawk_ganalytics.php file as:

Code: [Select]
class StrikehawkGanalyticsStrikehawkGanalytics extends Extension {
public function __construct(){
  $this->registry = Registry::getInstance();
}

public function onControllerPagesCheckoutConfirm_UpdateData() {
$registry = Registry::getInstance();
$order_id = $registry->get('session')->data['order_id'];
$order_info = $registry->get('model_checkout_order')->getOrder($order_id);
$script_html = "Place Some html Here, for ex: <script> alert('Order Total: ".$order_info['total']."')</script>";
$this->baseObject->view->addHookVar('payment_pre',$script_html);
return ;
}



Placed:
Code: [Select]
<?php echo $this->getHookVar('payment_pre'); ?>in:

storefront/view/default/template/pages/checkout/confirm.php

Nothing appearing.  Adding text above the getHookVar call does result in that text showing up on the page, so I think I have the right template for this purpose.  (Still would rather this comes out on checkout success, but at this point am just trying to get something to display in a catalog page...)

Now, should note I have no controllers or models setup for this extension.
Hello.
1. code works 100%. i tested.
2. check is your core/strikehawk_ganalytics.php file included in main.php. Open main.php of your extension, there are have to be something like this
Code: [Select]
if(!class_exists('StrikehawkGanalyticsStrikehawkGanalytics')){
include('core/strikehawk_ganalytics.php');
}
3. check is file run via var_dump('bla-bla-bla'); If not - check status of extension.

1973
Support / Re: Error messages
« on: October 20, 2012, 05:53:42 PM »
Hi - I believe it is v1.1 - from version.php:
define('MASTER_VERSION', '1');
define('MINOR_VERSION', '1');
define('VERSION_BUILT', '0');

I use the PayPal standart (sp?), flat rate shipping and COD extensions.  Only things really is adding products and minor GUI changes but all through the GUI, no config file changes.

in php.ini (well not all of it but the bit they may be useful):

display_errors = off
magic_quotes_gpc = Off;
register_globals = Off;
default_charset   = UTF-8;
memory_limit = 128M;

abolabo - please let me know what you think I should add here - presumably to get more detailed error info.

Thanks
Adam

hello Adam.
1. you have  runtime notice in log. not error.
2. you can try replace

error_reporting(E_ALL);
by
error_reporting(E_ALL & ~E_DEPRECATED);
in file core/init.php
(please say what result, we have no account on Siteground)

or upgrade up to 1.1.1

1974
Existing features / Re: Banner Manager defect ?
« on: October 19, 2012, 07:08:48 AM »
I'm getting this type of error in large amounts:

Code: [Select]
2012-10-18 11:50:38 - App Warning:  ADispatch blocks/banner_block construct FAILED. Missing or incorrect controller route path  in /home/something/public_html/core/engine/dispatcher.php on line 45
I've installed and reinstalled the banner manager module - to no avail.

What would cause this??

David

file storefront/controller/blocks/banner_block.php is exists?

1975
Support / Re: Error messages
« on: October 14, 2012, 07:28:32 AM »
error_reporting ralated notices.
check error_reporting value of your php.ini.
I guess you have E_STRICT there. Try to set E_ALL & ~E_DEPRECATED

1976
Used the deleteing the language solution from another post......but now have error

Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: ) in /home/glassbeadm/glassbeadmaker.co.nz/shop/core/lib/session.php on line 57

Help

what's value of session.save_handler in your php.ini ? files?

1977
General Discussion / Re: currency bugs
« on: October 10, 2012, 05:41:40 AM »
Hi,
Have changed the default currency to my country currency.
When I display the product summary, the currency still using US$ and while display in product detail, the price is in local currency.

Pls advice.

take care,
teck
Hi,
Your currency setting for customer is in cookie. Delete it and then check.

1978
Configuration / Re: Cannot access the virtual mall URL
« on: October 10, 2012, 05:39:44 AM »
Hi,
I have tried to repair the db. The msg is below which may be helpful for u to understand what is the bugs?

virtualcart.order_products   repair   info   Wrong bytesec:   0-  0-  0 at 4096; Skipped
virtualcart.order_products   repair   warning   Number of rows changed from 54 to 53
virtualcart.order_products   repair   status   OK

take care,
teck

I guess you have mysql-server troubles.
Do you use LAMP (http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29) ?

You also can try to migrate on unix-like OS (for example Ubuntu, Redhat  etc).


1979
Extension Support / Re: Application Error! Undefined
« on: October 09, 2012, 10:13:09 AM »
Hi,
I am testing v1.1.from local virtual host. When I click confirm order at the checkout confirmation page, the[ application error! Undefined] appear.

is it anyway relate to virtual local host?

As I noticed u mentioned in one of the forum the msg below:
"order confirmation from Paypal will not work if you are testing your store from local virtual host."

take care,
teck

please, post tail of your error log and screenshots with errors.

1980
General Support / Re: Google Analytics
« on: October 05, 2012, 07:19:42 AM »
You need hook storefront/controller/pages/checkout/confirm.php
Something like this:
Code: [Select]
public function onControllerPagesCheckoutConfirm_UpdateData() {
$registry = Registry::getInstance();
$order_id = $registry->get('session')->data['order_id'];
$order_info = $registry->get('model_checkout_order')->getOrder($order_id);
$script_html = "Place Some html Here, for ex: <script> alert('Order Total: ".$order_info['total']."')</script>";
$this->baseObject->view->addHookVar('payment_pre',$script_html);
return ;
}

Also look inside your confirm.tpl and check where do you plan place your hook-var. If you makes your own template you can create your own hookvar with any name and then assign value in hook.
As you see i used hookvar "payment_pre" of our default template in example above.

Pages: 1 ... 130 131 [132] 133 134 ... 137

Powered by SMFPacks Social Login Mod