Zen Cart Logo
Forums / Addon Shipping Modules / Ceon Advanced Shipper v 5.0.2

Ceon Advanced Shipper v 5.0.2

Views: 32,926

Results 21 to 40 of 53
15 Jan 2016, 7:57 PM
#21
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Ceon Advanced Shipper v 5.0.2

rabivens:

I have installed Advanced Shipper. I am having the same problem with categories or manufacturers not saving. It is very tedious to update these with phpmyadmin. Has anyone found the problem and gotten it working correctly?

Wow where were you able to get that module from?
I have a version from a few years ago but didn't know there was an update.

19 Jan 2016, 7:13 PM
#22
rabivens avatar

rabivens

New Zenner

Join Date:
Dec 2015
Location:
Medford, OR
Posts:
9
Plugin Contributions:
0

Re: Ceon Advanced Shipper v 5.0.2

picandnix:

Wow where were you able to get that module from?
I have a version from a few years ago but didn't know there was an update.

I'll message you

8 Apr 2016, 2:15 PM
#23
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,875
Plugin Contributions:
7

Re: Ceon Advanced Shipper v 5.0.2

PHP7 compatibility: preg_match /e is deprecated.

First thing I have found is in admin../includes/functions/advshipper.php.
Saving a region method causes a debug file and saves the method titles as empty.

This seems to fix it. Assume it is untested...

function UTF8URLDecode($value)
{
    if (is_array($value)) {
        foreach ($value as $key => $val) {
            $value[$key] = UTF8URLDecode($val);
        }
    } else {
        //$value = preg_replace('/%([0-9a-f]{2})/ie', 'chr(hexdec($1))', (string) $value);//steve preg_replace /e deprecated
        //steve
         $value = preg_replace_callback('/%([0-9a-f]{2})/i',
         create_function ('$matches', 'return chr(hexdec($matches[1]));'),
         (string) $value);
        //eof steve
    }
    
    return $value;
}

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

28 Apr 2017, 4:03 PM
#24
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: Ceon Advanced Shipper v 5.0.2

I want to use a separate shipping method for shipping to US military addresses, such as APO AE, APO AA, and APO AP, but i can not figure out what to put in the region's country code. I've tried US:APO, US:APO AE, US:AE and none of these work.

28 Apr 2017, 11:21 PM
#25
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Ceon Advanced Shipper v 5.0.2

lidlchris:

I want to use a separate shipping method for shipping to US military addresses, such as APO AE, APO AA, and APO AP, but i can not figure out what to put in the region's country code. I've tried US:APO, US:APO AE, US:AE and none of these work.

It should be US:zip code range. Usually just first 3 numbers like US:963, US:090-091 etc


Zen Cart and it's community are the best!!

29 Apr 2017, 6:23 PM
#26
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Re: Ceon Advanced Shipper v 5.0.2

lankeeyankee:

It should be US:zip code range. Usually just first 3 numbers like US:963, US:090-091 etc

thank you. yes that works. i thought there might be a better way.. :)

8 May 2017, 5:04 PM
#27
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

Appreciate this is a zombie thread, but it keeps coming up top of searches for my issue - which is the same, that no changes are being saved. Does anyone have a fix?

8 May 2017, 8:03 PM
#28
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

Calljj:

Appreciate this is a zombie thread, but it keeps coming up top of searches for my issue - which is the same, that no changes are being saved. Does anyone have a fix?

Can you elaborate a little more on your situation?

8 May 2017, 8:16 PM
#29
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,875
Plugin Contributions:
7

Re: Ceon Advanced Shipper v 5.0.2

Does anyone have a fix?
It seems only two of you have the problem.
What version of Advanced Shipper do you have and what is your server php/mysql version?
Do you have the same problem on your development server?
Can you drop the php version down temporarily to check if the problem remains?
Are you sure there are no error logs elsewhere apart from the /logs folder. I get logs generated elsewhere in the file structure that I don't discover until well after the fact.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

9 May 2017, 7:45 AM
#30
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

picandnix:

Can you elaborate a little more on your situation?
Yes, categories, products, manufacturers not saved to the shipping method when selected from the drop down list. If manually added/edited in phpmyadmin then they show up it the method fine.
happens across 4 different installs ( all same server, all same version)
My version is 5.0.2

9 May 2017, 8:14 AM
#31
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

Calljj:

Yes, categories, products, manufacturers not saved to the shipping method when selected from the drop down list. If manually added/edited in phpmyadmin then they show up it the method fine.
happens across 4 different installs ( all same server, all same version)
My version is 5.0.2

Just some more info, when editing a shipping method, you get the option to apply (for example) only to certain categories.
You click the insert button and a popup window listing the categories is shown.
You highlight the category, then click "select" button, window closes, but category is not added to the list of "selected categories".
The url for the pop up window is: ../admin_folder/advshipper_category_selector.php

9 May 2017, 9:43 AM
#32
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

more info, the more i look into it, the more i believe its failing on the "select" javascript button.
This is becuase even if i select an option that has already been selected, i don't get a warning, so don't beleive it even gets so far as going through the "advshipper_method_config.js"

9 May 2017, 10:44 AM
#33
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

well though i'd continue my ramblings, so i've tracked it down to failing (using the option to add categories for this exmaple) to whats happening in here, in advshipper_method_config.js

_cba.query( _url,
            function()
            {

I'm pretty stuck at this point as everything upto this point works, the cba.js is present and working, and still same version as current one. however within the function thats placed into the callback above, i know its not getting so far as to call the advshipperUpdateCategoryList() function, nor is it calling the alert for "already in list" so its failing somewhere inbetween... no idea why, welcome your thoughts.

Full code of above function here:

        _cba.query( _url,
            function()
            {
                _add_categories_return_values = _cba.answer;
                if (_add_categories_return_values == '-1') {
                    // Unable to add categories
                } else {

                    var _categories_info = _add_categories_return_values.split('||');

                    for (var categories_info_i = 0, num_categories_info = _categories_info.length;
                            categories_info_i < num_categories_info; categories_info_i++) {
                        var _category_info = _categories_info[categories_info_i].split('|');

                        // Make sure this category isn't already in the list
                        var _category_in_list = false;
                        for (category_i = 0, num_categories = categories.length;
                                category_i < num_categories; category_i++) {
                            if (categories[category_i].category_id ==
                                    _category_info[0]) {
                                // Category already in list
                                _categories_already_in_list.push(_category_info[1]);

                                _category_in_list = true;

                                break;
                            }
                        }

                        if (!_category_in_list) {
                            // Add the information for this category to the list of categories

                            var new_category_i = categories.length;
                            categories[new_category_i] = new Object();

                            categories[new_category_i].category_id = _category_info[0];
                            categories[new_category_i].name = _category_info[1];

                            advshipperUpdateCategoryList(categories[new_category_i].category_id,
                                categories[new_category_i].name);
                        }
                    }

                    var _num_categories_already_in_list = _categories_already_in_list.length;

                    if (_num_categories_already_in_list > 0) {
                        if (_num_categories_already_in_list == 1) {
                            if (_num_categories_selected == 1) {
                                alert('<?php echo JS_TEXT_CATEGORY_IN_LIST_SELECTED; ?>');
                            } else {
                                alert('<?php echo JS_TEXT_CATEGORY_IN_LIST_SINGLE; ?>' + '\n\n' +
                                    _categories_already_in_list);
                            }
                        } else {
                            if (_num_categories_already_in_list == _num_categories_selected) {
                                alert('<?php echo JS_TEXT_CATEGORIES_IN_LIST_ALL; ?>');
                            } else {
                                alert('<?php echo JS_TEXT_CATEGORIES_IN_LIST; ?>' + '\n\n' +
                                _categories_already_in_list.join('\n'));
                            }
                        }
                    }
                }
            },
            false );
    }
}
9 May 2017, 12:07 PM
#34
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

Bit more digging, this time with firebug console.
seems that if you are PCI compliant, or if you have good security, then the shipping module doesn't work.
this is becuase to remain pci compliant you need to have the *Header X-Content-Type-Options:no sniff *in place.The problem is that if this header is in place, the module stops working.Now to find a way to unset the header for the admin area in apache2.

9 May 2017, 12:50 PM
#35
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

Resolved by exluding headers from the directory:

<Directory /public_html/admin_folder_location >
Header always unset X-Content-Type-Options
</Directory>

9 May 2017, 7:25 PM
#36
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

Calljj:

Bit more digging, this time with firebug console.
seems that if you are PCI compliant, or if you have good security, then the shipping module doesn't work.
this is becuase to remain pci compliant you need to have the *Header X-Content-Type-Options:no sniff *in place.The problem is that if this header is in place, the module stops working.Now to find a way to unset the header for the admin area in apache2.

Now that a cause has been identified that is reproducible, there is a fix for this that doesn't require undoing Header X-Content-Type-Options: no sniff.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

10 May 2017, 12:48 AM
#37
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: Ceon Advanced Shipper v 5.0.2

I realise this is talking about a more recent version but wondering if anyone can shed some light. I am installing zc1.5.5e and have just tried and tested Adv SHipper version 4.2.2 locally works fine.

Having now copied it across to my live server I cannot access the config at back end. The screen shows error please refresh. Front end is fine and check out shows all the correct settings.

Logs show fatal error table does not exist. - but it does. Could this be related to another issue I have which appears to be :

PHP Warning: mysqli_connect(): Headers and client library minor version mismatch.

Not had much luck getting this up and running. hosting company being very slow at sorting the mismatch error.

Could this be something else?

10 May 2017, 12:56 AM
#38
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: Ceon Advanced Shipper v 5.0.2

MikeyG:

PHP Warning: mysqli_connect(): Headers and client library minor version mismatch.
Your host will need to fix this. 155 uses mysqli to connect to the database.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

10 May 2017, 4:42 AM
#39
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

MikeyG:

I realise this is talking about a more recent version but wondering if anyone can shed some light. I am installing zc1.5.5e and have just tried and tested Adv SHipper version 4.2.2 locally works fine.

Having now copied it across to my live server I cannot access the config at back end. The screen shows error please refresh. Front end is fine and check out shows all the correct settings.

Logs show fatal error table does not exist. - but it does. Could this be related to another issue I have which appears to be :

PHP Warning: mysqli_connect(): Headers and client library minor version mismatch.

Not had much luck getting this up and running. hosting company being very slow at sorting the mismatch error.

Could this be something else?

I've lost track of all that you have tried, but certainly there is a core issue which is first unrelated to ZC, but instead your base host/site install/operation. There could be other ZC setup issues, but to address that would recommend beginning a separate thread (or possibly continuing one that has already been started to address the issue(s) of this install, server, and/or host). Unfortunately (to an extent) if your issues continue it may be that you need a different host, but try to change only one thing at a time. Too many changes at once and it will be difficult to identify what worked and what caused additional problems.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

13 May 2017, 12:29 PM
#40
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Ceon Advanced Shipper v 5.0.2

If it's of any help, I see that Advanced Shipper has been updated by Ceon recently.