Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: paypal express checkout error AND OTHER ISSUE  (Read 7885 times)

Offline pal

  • Newbie
  • *
  • Posts: 37
  • Karma: +2/-1
    • View Profile
paypal express checkout error AND OTHER ISSUE
« on: February 17, 2014, 06:51:46 PM »
Hello i need help . after upgrade coupon of my website not working ,if you use coupon then checkout this error showing , if you remove coupon its working fine


PROBLEM 1

Fatal error: Call to a member function get() on a non-object in /home/******/public_html/********/extensions/paypal_express_checkout/core/paypal_express_checkout.php on line 680


i check on line 680 but cant understand whats wrong




677      if($this->data['discount_amount_cart']>0){
         678 $price = -1*$this->baseObject->currency->format($this->data['discount_amount_cart'], $order_info['currency'],
679 order_info['value'], FALSE);
   680      $this->data['products'][] = array(
            'name'     => $this->language->get('text_discount'),
            'model'    => '',
            'price'    => $price,
            'quantity' => 1,
            'option'   => array(),
            'weight'   => 0


PROBLEM 2


AND NOW ALSO UNDER SETTING SHOWING
TEXT_SETTINGS_DETAIL
TEXT_SETTINGS_GENERAL
TEXT_SETTINGS_CHECKOUT
TEXT_SETTINGS_APPEARANCE
TEXT_SETTINGS_MAIL

PROBLEM 3

PAYPAL EXPRESS CHECKOUT NOT WORKING UNTIL DEFAULT _PP_PRO (PAYPAL PRO ) NOT IN USE
« Last Edit: February 17, 2014, 07:00:49 PM by pal »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: paypal express checkout error AND OTHER ISSUE
« Reply #1 on: February 18, 2014, 06:42:00 AM »
please replace your file extensions/paypal_express_checkout/core/paypal_express_checkout.php by attached and let me know about result
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline pal

  • Newbie
  • *
  • Posts: 37
  • Karma: +2/-1
    • View Profile
Re: paypal express checkout error AND OTHER ISSUE
« Reply #2 on: February 18, 2014, 10:20:32 AM »
NOW NEW PROBLEM START AFTER THAT WHEN I CLICK EDIT IN USER ACCOUNT SHOWING ERROR

WEBSITE NOT SHOWING NOW , ERROR , STATIC PAGES
« Last Edit: February 18, 2014, 10:29:38 AM by pal »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5791
  • Karma: +274/-2
    • View Profile
Re: paypal express checkout error AND OTHER ISSUE
« Reply #3 on: February 18, 2014, 10:35:21 AM »
Please post latest lines from your AbanteCart Error log

Offline pal

  • Newbie
  • *
  • Posts: 37
  • Karma: +2/-1
    • View Profile
Re: paypal express checkout error AND OTHER ISSUE
« Reply #4 on: February 18, 2014, 10:53:58 AM »
i upgrade to 1.18 now error and my website home page this error ,website not working

Warning: fopen(/home/sikhtub0/public_html/*****/system/logs/error.txt) [function.fopen]: failed to open stream: Permission denied in /home/sikhtub0/public_html/*****/core/lib/log.php on line 43

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/sikhtub0/public_html/*****/core/lib/log.php on line 44

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/sikhtub0/public_html/*****/core/lib/log.php on line 45

Warning: fopen(/home/sikhtub0/public_html/*****/system/logs/error.txt) [function.fopen]: failed to open stream: Permission denied in /home/sikhtub0/public_html/*****/core/lib/log.php on line 43

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/sikhtub0/public_html/*****/core/lib/log.php on line 44

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/sikhtub0/public_html/*****/core/lib/log.php on line 45

Warning: fopen(/home/sikhtub0/public_html/*****/system/logs/error.txt) [function.fopen]: failed to open stream: Permission denied in /home/sikhtub0/public_html/*****/core/lib/log.php on line 43

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/sikhtub0/public_html/*****/core/lib/log.php on line 44

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/sikhtub0/public_html/*****/core/lib/log.php on line 45

Warning: fopen(/home/sikhtub0/public_html/*****/system/logs/error.txt) [function.fopen]: failed to open stream: Permission denied in /home/sikhtub0/public_html/*****/core/lib/log.php on line 43

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/sikhtub0/public_html/*****/core/lib/log.php on line 44

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/sikhtub0/public_html/*****/core/lib/log.php on line 45
« Last Edit: February 18, 2014, 10:57:48 AM by pal »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: paypal express checkout error AND OTHER ISSUE
« Reply #5 on: February 18, 2014, 11:28:26 AM »
1. Set permissions for file /system/logs/error.txt to 777 (rw-rw-rw) or just delete it.
2. What about previous problem?
3. PLEASE, DO NOT USE CAPS LOCK IN YOUR POSTS. WE ARE NOT BLIND. ;)
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline pal

  • Newbie
  • *
  • Posts: 37
  • Karma: +2/-1
    • View Profile
Re: paypal express checkout error AND OTHER ISSUE
« Reply #6 on: February 18, 2014, 11:34:07 AM »
i delete file but still same error , i write dowm website address and its automatically change to    static_pages/index.php


error log in admin panel

2014-02-18 16:05:46 - database error:  AbanteCart core v.1.1.5 Error: Unknown column 'tr.description' in 'field list'<br />Error No: 1054<br />SELECT tr.tax_class_id,
                     tr.rate AS rate, tr.rate_prefix AS rate_prefix,
                     tr.threshold_condition AS threshold_condition, tr.threshold AS threshold,
                     CASE WHEN tr.description='' THEN tc.title ELSE tr.description END as description,
                     tr.priority
               FROM ab_tax_rates tr
               LEFT JOIN ab_tax_classes tc ON tc.tax_class_id = tr.tax_class_id
               WHERE (tr.zone_id = '0' OR tr.zone_id = '3563')
                  AND tr.location_id in (SELECT z2l.location_id
                                    FROM ab_zones_to_locations z2l, ab_locations l
                                    WHERE z2l.location_id = l.location_id and z2l.zone_id = '3563')
               ORDER BY tr.priority ASC in <b>/home/sikhtub0/public_html/*****/core/database/mysql.php</b> on line <b>86</b>
2014-02-18 16:07:48 - database error:  AbanteCart core v.1.1.5 Error: Unknown column 'tr.description' in 'field list'<br />Error No: 1054<br />SELECT tr.tax_class_id,
                     tr.rate AS rate, tr.rate_prefix AS rate_prefix,
                     tr.threshold_condition AS threshold_condition, tr.threshold AS threshold,
                     CASE WHEN tr.description='' THEN tc.title ELSE tr.description END as description,
                     tr.priority
               FROM ab_tax_rates tr
               LEFT JOIN ab_tax_classes tc ON tc.tax_class_id = tr.tax_class_id
               WHERE (tr.zone_id = '0' OR tr.zone_id = '3563')
                  AND tr.location_id in (SELECT z2l.location_id
                                    FROM ab_zones_to_locations z2l, ab_locations l
                                    WHERE z2l.location_id = l.location_id and z2l.zone_id = '3563')
               ORDER BY tr.priority ASC in <b>/home/sikhtub0/public_html/*****/core/database/mysql.php</b> on line <b>86</b>
2014-02-18 16:07:54 - database error:  AbanteCart core v.1.1.5 Error: Unknown column 'tr.description' in 'field list'<br />Error No: 1054<br />SELECT tr.tax_class_id,
                     tr.rate AS rate, tr.rate_prefix AS rate_prefix,
                     tr.threshold_condition AS threshold_condition, tr.threshold AS threshold,
                     CASE WHEN tr.description='' THEN tc.title ELSE tr.description END as description,
                     tr.priority
               FROM ab_tax_rates tr
               LEFT JOIN ab_tax_classes tc ON tc.tax_class_id = tr.tax_class_id
               WHERE (tr.zone_id = '0' OR tr.zone_id = '3563')
                  AND tr.location_id in (SELECT z2l.location_id
                                    FROM ab_zones_to_locations z2l, ab_locations l
                                    WHERE z2l.location_id = l.location_id and z2l.zone_id = '3563')
               ORDER BY tr.priority ASC in <b>/home/sikhtub0/public_html/*****/core/database/mysql.php</b> on line <b>86</b>
2014-02-18 16:07:59 - database error:  AbanteCart core v.1.1.5 Error: Unknown column 'tr.description' in 'field list'<br />Error No: 1054<br />SELECT tr.tax_class_id,
                     tr.rate AS rate, tr.rate_prefix AS rate_prefix,
                     tr.threshold_condition AS threshold_condition, tr.threshold AS threshold,
                     CASE WHEN tr.description='' THEN tc.title ELSE tr.description END as description,
                     tr.priority
               FROM ab_tax_rates tr
               LEFT JOIN ab_tax_classes tc ON tc.tax_class_id = tr.tax_class_id
               WHERE (tr.zone_id = '0' OR tr.zone_id = '3563')
                  AND tr.location_id in (SELECT z2l.location_id
                                    FROM ab_zones_to_locations z2l, ab_locations l
                                    WHERE z2l.location_id = l.location_id and z2l.zone_id = '3563')
               ORDER BY tr.priority ASC in <b>/home/sikhtub0/public_html/*****/core/database/mysql.php</b> on line <b>86</b>
« Last Edit: February 18, 2014, 11:41:36 AM by pal »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline pal

  • Newbie
  • *
  • Posts: 37
  • Karma: +2/-1
    • View Profile
Re: paypal express checkout error AND OTHER ISSUE
« Reply #8 on: February 18, 2014, 12:20:36 PM »
need to upload all files ?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod