Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    969
    Plugin Contributions
    0

    Default Re: Ceon Advanced Shipper base date?

    Quote Originally Posted by boxcar View Post
    I am using Ceon Advanced Shipper with ZC 1.5.0. I, too, know this is a paid add-on but I am hoping to find a kindred spirit that can lend a hand since Ceon has passed on and JSweb is NOT supporting this module at all.

    I am trying to set up the Custom Product Field Configuration/Integration . I followed the instructions in the docomentation and it all seemed to go swimmingly until I tried to actually assign a custom field to a method on the Advanced Shipper Config page; I can choose the custom vield value from dropdown menu - that part works ok. But I cannot save it.

    My log files show:

    PHP Fatal error: Cannot use string offset as an array in /path/to/file/advshipper_method_config.php on line 981

    And this is what I learned:

    An offset error in PHP is a fatal error that occurs when you incorrectly try to use an index value for an array on a string variable.

    So I sort of understand what the problem is - - the array of option Values and Titles set in admin/includes/languages/english/advshipper_custom_product_field_functionality are strings but the function is looking for an index value.

    But don't know how to fix it

    Here is the code in question (line 981)

    PHP Code:
        // Store any custom product field value selections /////////////////////////////////////////////
        
    if (isset($_POST['custom_product_field_values'])) {
            
    $custom_product_field_values_info $_POST['custom_product_field_values'];
            
            if (
    strlen($custom_product_field_values_info) > 0) {
                
    $custom_product_field_values_info_array explode('||',
                    
    $custom_product_field_values_info);
                
                
    $num_custom_product_field_values sizeof($custom_product_field_values_info_array);
                
                for (
    $custom_product_field_value_i 0$custom_product_field_value_i <
                        
    $num_custom_product_field_values$custom_product_field_value_i++) {
                    
    $custom_product_field_value_info explode('|',
                        
    $custom_product_field_values_info_array[$custom_product_field_value_i]);
                    
                    
    $custom_product_field_values[$custom_product_field_value_i]['value'] =
                        
    $custom_product_field_value_info[0];
                    
    $custom_product_field_values[$custom_product_field_value_i]['title'] =
                        
    urldecode($custom_product_field_value_info[1]);
                }
            }
        } 
    If anyone has used the Custom Product Field feature successfully or has any suggestions on how to fix this, I could sure use some help.


    your table in products make sure type is set to varchar
    i had same problem.

  2. #2
    Join Date
    Jun 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: Ceon Advanced Shipper base date?

    Yes. it is varchar 64 length, Default = null, collation = utf8_general_ci, and the NULL checkbox is checked.



    So, jimmie, you got it working ok?

  3. #3
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    969
    Plugin Contributions
    0

    Default Re: Ceon Advanced Shipper base date?

    yes
    i have even modified and cloned this module and have two instances running.
    there are things that dont work on this module which i dont know how to fix.
    jsweb said they rewrote the module but have not heard anything from them.

  4. #4
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    969
    Plugin Contributions
    0

    Default Re: Ceon Advanced Shipper base date?

    what version u running

  5. #5
    Join Date
    Jun 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: Ceon Advanced Shipper base date?

    Version 5.0.2. I believe that was the last version.

    I have suspected that the problem was with the way I configured the new field in the products table. What are your settings for that field?

  6. #6
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    969
    Plugin Contributions
    0

    Default Re: Ceon Advanced Shipper base date?

    try saving a method directly in the database field.
    look for the save info in the product you saved it in.
    is it there?
    does the field name in database table match what is in admin?

  7. #7
    Join Date
    Jun 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: Ceon Advanced Shipper base date?

    Quote Originally Posted by jimmie View Post
    try saving a method directly in the database field.
    look for the save info in the product you saved it in.
    is it there?
    does the field name in database table match what is in admin?
    I was able to add the SHIPPING METHOD values via phpMyadmin to table advshipper_method_custom_product_field_values.

    I can select a method in the product edit page. Saving the the product update save the value of the shipping method in the products table and the correct shipping method is applied in the shipping calculator.

    However, I cannot update the shipping methods on the Advanced Shipper Config page. If I want to do that, I have to delete/rename file admin/functions/advshipper_custom_product_field_functions.php. If I delete that file I can update/save shipper methods but it breaks the product edit page.

    Not an ideal solution but it is a solution.

  8. #8
    Join Date
    Jan 2013
    Location
    New Port Richey, Florida
    Posts
    969
    Plugin Contributions
    0

    Default Re: Ceon Advanced Shipper base date?

    you can had the info through phpadmin or easypopulate4 and it will work. adding it through admin is optional

  9. #9
    Join Date
    Apr 2008
    Posts
    151
    Plugin Contributions
    0

    Default Re: Ceon Advanced Shipper base date?

    Quote Originally Posted by jimmie View Post
    yes
    i have even modified and cloned this module and have two instances running.
    Hi jimmie, I'm extremely interested in making a clone of ceon's Advanced Shipper module. Been reading the tutorial here :

    http://www.zen-cart.com/showthread.p...tem#post149531

    But since the advanced shipper is way more advanced than the flat rate module, I'm wondering if there are any extra steps I need to take.

    I would really appreciate some words on how you did this that would point me in the right direction :).

    Thank you!

    Best regards

    Peter

 

 

Similar Threads

  1. v150 Ceon Advanced Shipper v 5.0.2
    By 14all41 in forum Addon Shipping Modules
    Replies: 52
    Last Post: 14 Jun 2019, 11:27 PM
  2. v151 CEON Advanced Shipper 5.0.2 -> USP
    By JSWeb in forum Addon Shipping Modules
    Replies: 33
    Last Post: 6 Oct 2014, 11:05 PM
  3. v151 Ceon Advanced Shipper - configuration Trouble
    By firstcapitalfirearms in forum Addon Shipping Modules
    Replies: 8
    Last Post: 21 May 2013, 10:48 PM
  4. Ceon Advanced Shipper
    By Danielle in forum Addon Shipping Modules
    Replies: 2
    Last Post: 20 Jul 2010, 05:03 PM
  5. Ceon Advanced Shipper
    By pasher in forum Addon Shipping Modules
    Replies: 6
    Last Post: 15 Jul 2008, 09:00 AM

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