Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 65
  1. #31
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,400
    Plugin Contributions
    87

    Default Re: VAT4EU Support Thread

    Quote Originally Posted by lat9 View Post
    I've just submitted v2.0.1 of VAT4EU to the Zen Cart moderators for review; I'll post back here when it's available for download (https://www.zen-cart.com/downloads.php?do=file&id=2164).

    This release contains changes associated with the following GitHub issue (as reported by @diamond1, above):

    #4: PHP Warning issued when One-Page Checkout is not also installed.
    Now available for download.

  2. #32
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default Re: VAT4EU Support Thread

    hello, I have two warnings on admin / Order Total Modules.

    --> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_VAT_REFUND_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_VAT_REFUND_SORT_ORDER' (this will throw an Error in a future version of PHP) in //web/includes/modules/order_total/ot_vat_refund.php on line 22.

    --> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_VAT_REVERSE_CHARGES_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_VAT_REVERSE_CHARGES_SORT_ORDER' (this will throw an Error in a future version of PHP) in /web/includes/modules/order_total/ot_vat_reverse_charges.php on line 23.
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  3. #33
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,400
    Plugin Contributions
    87

    Default Re: VAT4EU Support Thread

    Quote Originally Posted by diamond1 View Post
    hello, I have two warnings on admin / Order Total Modules.

    --> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_VAT_REFUND_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_VAT_REFUND_SORT_ORDER' (this will throw an Error in a future version of PHP) in //web/includes/modules/order_total/ot_vat_refund.php on line 22.

    --> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_VAT_REVERSE_CHARGES_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_VAT_REVERSE_CHARGES_SORT_ORDER' (this will throw an Error in a future version of PHP) in /web/includes/modules/order_total/ot_vat_reverse_charges.php on line 23.
    Thanks for the report. Those warnings are issued when the order-totals are present in the file-system but not enabled. I should have a correction in a couple of days.

  4. #34
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,400
    Plugin Contributions
    87

    Default Re: VAT4EU Support Thread

    I've just submitted v2.0.2 of VAT4EU to the Zen Cart moderators for review; I'll post back here when it's available for download.

    This release contains changes associated with the following GitHub issue:

    #5: Correct PHP warnings when the order-total files are present, but not installed.

  5. #35
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default Re: VAT4EU Support Thread

    Good evening Lat9, as usual fast as the wind, the modifications have worked well thank you very much.
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  6. #36
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,400
    Plugin Contributions
    87

    Default Re: VAT4EU Support Thread

    Quote Originally Posted by lat9 View Post
    I've just submitted v2.0.2 of VAT4EU to the Zen Cart moderators for review; I'll post back here when it's available for download.

    This release contains changes associated with the following GitHub issue:

    #5: Correct PHP warnings when the order-total files are present, but not installed.
    Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2164

  7. #37
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default Re: VAT4EU Support Thread

    Quote Originally Posted by diamond1 View Post
    Good evening Lat9, as usual fast as the wind, the modifications have worked well thank you very much.
    Tank you so much
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  8. #38
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: VAT4EU Support Thread

    Hi

    I am currently upgrading our site from 1.5.5e to 1.5.6c. I also have Edit orders installed (which are ocmpatible) However I am getting a broken screen on when I select Order > Edit
    The log files displays the following error(s):

    [29-Feb-2020 17:02:26 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined function zen_html_quotes() in MyDrive\MyAdmin\includes\classes\observers\Vat4EuAdminObserver.php:305
    Stack trace:
    #0 MyDrive\\includes\classes\class.base.php(103): Vat4EuAdminObserver->update(Object(notifier), 'EDIT_ORDERS_ADD...', Object(order), '', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #1 MyDrive\MyAdmin\edit_orders.php(968): base->notify('EDIT_ORDERS_ADD...', Object(order), '')
    #2 {main}
    thrown in MyDrive\MyAdmin\includes\classes\observers\Vat4EuAdminObserver.php on line 305


    [29-Feb-2020 17:02:26 Europe/Berlin] Request URI: MyDrive\MyAdmin\edit_orders.php?page=1&oID=4&action=edit, IP address: 127.0.0.1
    --> PHP Fatal error: Uncaught Error: Call to undefined function zen_html_quotes() in MyDrive\MyAdmin\includes\classes\observers\Vat4EuAdminObserver.php:305
    Stack trace:
    #0 MyDrive\includes\classes\class.base.php(103): Vat4EuAdminObserver->update(Object(notifier), 'EDIT_ORDERS_ADD...', Object(order), '', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #1 MyDrive\MyAdmin\edit_orders.php(968): base->notify('EDIT_ORDERS_ADD...', Object(order), '')
    #2 {main}
    thrown in MyDrive\MyAdmin\includes\classes\observers\Vat4EuAdminObserver.php on line 305.
    MyAdmin\includes\classes\observers\Vat4EuAdminObserver.php on line 305 reads (in red and bold)

    Code:
                    $vat_info =
                        '<tr>' . PHP_EOL .
                        '    <td>&nbsp;</td>' . PHP_EOL .
                        '    <td>&nbsp;</td>' . PHP_EOL .
                        '    <td><strong>' . VAT4EU_ENTRY_VAT_NUMBER . '</strong></td>' . PHP_EOL .
                        '    <td>' . zen_draw_input_field('vat_number', zen_html_quotes($vat_number), 'size="45"') . $valid_indicator . $hidden_fields . '</td>' . PHP_EOL .
                        '    <td>&nbsp;</td>' . PHP_EOL .
                        '    <td>&nbsp;</td>' . PHP_EOL .
                        '</tr>' . PHP_EOL .
                        '<tr>' . PHP_EOL .
                        '    <td>&nbsp;</td>' . PHP_EOL .
                        '    <td>&nbsp;</td>' . PHP_EOL .
                        '    <td><strong>' . VAT4EU_ENTRY_OVERRIDE_VALIDATION . '</strong></td>' . PHP_EOL .
                        '    <td>' . zen_draw_checkbox_field('vat_number_override', '', ($vat_validated == VatValidation::VAT_ADMIN_OVERRIDE)) . '</td>' . PHP_EOL .
                        '    <td>&nbsp;</td>' . PHP_EOL .
                        '    <td>&nbsp;</td>' . PHP_EOL .
                        '</tr>' . PHP_EOL;
                    $p2 .= $vat_info;
                    break;
                    
                // -----
    MyDrive\MyAdmin\edit_orders.php(968) Reads

    Code:
        $module_name = (EO_ADDRESSES_DISPLAY_ORDER == 'CBS') ? 'eo_addresses_cbs.php' : 'eo_addresses_csb.php';
        require DIR_WS_MODULES . 'edit_orders/' . $module_name;
        
        // -----
        // Give a watching observer the chance to inject some additional, per-address-type, information.
        //
        $additional_rows = '';
        $zco_notifier->notify('EDIT_ORDERS_ADDITIONAL_ADDRESS_ROWS', $order, $additional_rows);
        echo $additional_rows;
    ?>
    It loads ok when I turn off the vat 4 eu. Please could anyone shed any light?

    Many thanks in advance.
    Debbie Harrison
    DVH Design | Web Design blog

  9. #39
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,400
    Plugin Contributions
    87

    Default Re: VAT4EU Support Thread

    Hmm, I can't find any instance of that zen_html_quotes function. I'll review the VAT4EU processing and should have an update tomorrow.

  10. #40
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,400
    Plugin Contributions
    87

    Default Re: VAT4EU Support Thread

    Quote Originally Posted by lat9 View Post
    Hmm, I can't find any instance of that zen_html_quotes function. I'll review the VAT4EU processing and should have an update tomorrow.
    No ideas ... possibly (?) from an older version of EO?

    In any case, you can replace that function call with one to zen_db_output; I'll get the VAT4EU GitHub updated.

 

 
Page 4 of 7 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. v154 ZipShip - Support Thread
    By lat9 in forum Addon Shipping Modules
    Replies: 92
    Last Post: 18 Mar 2024, 10:41 PM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 AM
  3. SysCheck [support thread]
    By swguy in forum All Other Contributions/Addons
    Replies: 36
    Last Post: 24 Oct 2020, 05:28 AM
  4. Wordpress On ZC [Support Thread]
    By hira in forum All Other Contributions/Addons
    Replies: 1858
    Last Post: 17 Jan 2014, 01:24 AM
  5. ZJ Silver Support Thread
    By anthonyd in forum Addon Templates
    Replies: 220
    Last Post: 5 Nov 2010, 03:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR