Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Posts
    41
    Plugin Contributions
    0

    Default Unable to select an action in Shipping Module

    I'm using v1.3.9e
    Have not installed any addons that I can remember.
    The site is hosted at Dreamhost

    I wanted to make some changes to the shipping module, but it looks as if I no longer have access.

    I'm attaching a screen print of the SHIPPING MODULES page. If I click on an icon ("i" or arrow) in the "Action" column - nothing happens.

    This is probably something really stupid - but I can't help myself. What am I missing?

    Marlene
    www.waterweedmat.com
    Attached Images Attached Images  

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Unable to select an action in Shipping Module

    It looks like you have a problem with a file or files in the:
    /includes/modules/shipping

    or in the:
    /includes/languages/english/modules/shipping

    Look in the:
    /cache

    and see what debug logs you have in there ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2010
    Posts
    41
    Plugin Contributions
    0

    Default Re: Unable to select an action in Shipping Module

    Oh yeah! There's a lot of debug files... but have no clue how to open them and probably wouldn't know what they said if I could. Any suggestions?

    (FTP listing attached)
    Attached Images Attached Images  

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Unable to select an action in Shipping Module

    Go to the Modules ... Shipping ... then in your FTP program look at the /cache directory and refresh the screen and look at the newest file ...

    NOTE: the other files should also be checked and the errors corrected ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Apr 2010
    Posts
    41
    Plugin Contributions
    0

    Default Re: Unable to select an action in Shipping Module

    Followed your instructions... here is what the latest file says:
    [23-Jun-2011 18:46:47] PHP Fatal error: Call to a member function in_cart_check() on a non-object in /home/weedmat/waterweedmat.com/ZenCart/includes/modules/shipping/ups.php on line 469

    Copied from the UPS.php file, here are lines 466 through 475:
    }
    467 // bof: add Rake charge
    468 $chk_rakes = 0;
    469 $chk_rakes = $_SESSION['cart']->in_cart_check('products_id', '27');
    470 $chk_rakes = $chk_rakes * 14.95;
    $methods[] = array('id' => $type,
    'title' => $title,
    'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_USPS_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_USPS_HANDLING + $chk_rakes) );
    // eof: add Rake charge
    ?>

    The line starting with //bof: (Line 467) is the code you gave me to put in that file.

    Guess I should edit or remove that code. What do you think?

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Unable to select an action in Shipping Module

    The code change to count for 1 particular Product and add to the charge is the code changes shown in RED where the products_id is 27 and add $14.95 to the charges ...

    Code:
              $cost = preg_replace('/[^0-9.]/', '',  $cost);
    
    
    // bof: add Rake charge
    $chk_rakes = 0;
    $chk_rakes = $_SESSION['cart']->in_cart_check('products_id', '27');
    $chk_rakes = $chk_rakes * 14.95;
    
              $methods[] = array('id' => $type,
                                 'title' => $title,
                                 'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_USPS_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_USPS_HANDLING) + $chk_rakes );
    // eof: add Rake charge
    If you are getting errors, first take out the changes and make sure the usps shipping module is working and that no more debug logs are created when you go to the Modules ... Shipping ...

    Next, check for the products_id of the Product you want to add the extra charge ...
    Last edited by Ajeh; 24 Jun 2011 at 04:30 PM.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Apr 2010
    Posts
    41
    Plugin Contributions
    0

    Default Re: Unable to select an action in Shipping Module

    I was wondering if you could please delete this thread from your database as it is probably obsolete by now anyway. My client (owner of Waterweedmat.com) is concerned about security of the site because it is appearing when doing a search on Waterweedmat:
    [QUOTE=MarleneF;1041619]I'm using v1.3.9e
    Have not installed any addons that I can remember.
    The site is hosted at Dreamhost

    I wanted to make some changes to the shipping module, but it looks as if I no longer have access.

    I'm attaching a screen print of the SHIPPING MODULES page. If I click on an icon ("i" or arrow) in the "Action" column - nothing happens.

    This is probably something really stupid - but I can't help myself. What am I missing?

    Marlene


    THANK YOU!
    Last edited by MarleneF; 26 Jun 2016 at 08:26 PM. Reason: do not want URL in post/search engine

 

 

Similar Threads

  1. v151 Unable to Edit Shipping Module
    By hmbuhler in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 8 Oct 2014, 05:00 PM
  2. Urgent: Where did the action bar go ( shipping module)
    By CartCrazy in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 1 Jul 2011, 11:13 AM
  3. FEDEX module allowing residential customers to select ground shipping
    By Terrill_Taylor in forum Addon Shipping Modules
    Replies: 5
    Last Post: 28 Jun 2010, 04:07 PM
  4. USPS Module unable shipping quote
    By aunrea in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 29 Jan 2010, 04:12 PM
  5. Shipping module automatic select/switch
    By jhs in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 21 Oct 2007, 12:48 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