Jump to content

Claudia M

Member
  • Posts

    847
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by Claudia M

  1. Look what I found in my error log!!!!!!  How did it get there and how do I get rid of it!!!!!!

    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    </head>

    [14-Feb-2018 17:40:12 UTC] PHP Warning:  Invalid Security Token in /home/claudias/public_html/classes/sanitize.class.php on line 152
    [14-Feb-2018 18:00:58 UTC] PHP Warning:  Security Warning: Illegal array key &quot;cart_lookup}&quot; was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 113
    [14-Feb-2018 18:38:27 UTC] PHP Warning:  Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '98.211.49.133' New IP Address: '98.211.49.133' Old User Agent: 'Microsoft Office Protocol Discovery' New User Agent: 'IEX' in /home/claudias/public_html/classes/session.class.php on line 702
    [15-Feb-2018 02:16:19 UTC] PHP Warning:  Security Warning: Illegal array key &quot;Comcast_on_a_silver_platter_

    On_December_14,_2017,_the_FCC_killed_net_neutrality_rules__But_do_you_truly_understand_the_global_implications_of_such_a_disastrous_decision?

    These_laws_guaranteed_equal_access_to_the_web_without_paid_prioritization_fees,_unregulated_bandwidth_throttling,_and_rampant_censorship_from_ISPs__Now_these_laws_are_GONE_

    The_cable_companies_are_a_few_short_months_away_from_doing_whatever_they_damn_well_please_with_the_Internet__That_includes_shutting_down_&quot; was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 113
    [15-Feb-2018 02:16:19 UTC] PHP Warning:  Security Warning: Illegal array key &quot;blocking_businesses_and_websites_like_yours_if_they_dislike_your_content_

    If_you_cannot_afford_to_pay_cable_companies_more_money_for_customers_to_reach_your_business,_prepare_to_close_your_doors_for_good_

    We_can_still_defeat_the_evil_FCC,_but_we_NEED_your_help_

    Please_review_our_petition,_and_join_MILLIONS_of_net_neutrality_supporters_by_LINKING_to_our_page_from_your_website:_https://www_longlivethenet_com/_

    Creating_a_LINK_is_casting_a_vote_for_freedom_of_speech_and_the_free_exchange_of_ideas_on_the_open_internet__Please_vote!

    Long_Live_The_Internet!
    Note:_We_are_a_non-profit_organization__We_will_never_place_an_advertisement_on_our_webpage__This_page_was_created_for_one_reason_and_one_reason_only,_to_save_the_Internet_as_we_know_it__Join_the_fight!&quot; was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 113
    [15-Feb-2018 02:16:19 UTC] PHP Warning:  Security Warning: Illegal array key &quot;Comcast_on_a_silver_platter_

    On_December_14,_2017,_the_FCC_killed_net_neutrality_rules__But_do_you_truly_understand_the_global_implications_of_such_a_disastrous_decision?

    These_laws_guaranteed_equal_access_to_the_web_without_paid_prioritization_fees,_unregulated_bandwidth_throttling,_and_rampant_censorship_from_ISPs__Now_these_laws_are_GONE_

    The_cable_companies_are_a_few_short_months_away_from_doing_whatever_they_damn_well_please_with_the_Internet__That_includes_shutting_down_&quot; was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 113
    [15-Feb-2018 02:16:19 UTC] PHP Warning:  Security Warning: Illegal array key &quot;blocking_businesses_and_websites_like_yours_if_they_dislike_your_content_

    If_you_cannot_afford_to_pay_cable_companies_more_money_for_customers_to_reach_your_business,_prepare_to_close_your_doors_for_good_

    We_can_still_defeat_the_evil_FCC,_but_we_NEED_your_help_

    Please_review_our_petition,_and_join_MILLIONS_of_net_neutrality_supporters_by_LINKING_to_our_page_from_your_website:_https://www_longlivethenet_com/_

    Creating_a_LINK_is_casting_a_vote_for_freedom_of_speech_and_the_free_exchange_of_ideas_on_the_open_internet__Please_vote!

    Long_Live_The_Internet!
    Note:_We_are_a_non-profit_organization__We_will_never_place_an_advertisement_on_our_webpage__This_page_was_created_for_one_reason_and_one_reason_only,_to_save_the_Internet_as_we_know_it__Join_the_fight!&quot; was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 113
    [15-Feb-2018 02:16:19 UTC] PHP Warning:  Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '68.231.26.137' New IP Address: '68.231.26.137' Old User Agent: '' New User Agent: 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727)' in /home/claudias/public_html/classes/session.class.php on line 702
    [15-Feb-2018 02:16:19 UTC] PHP Warning:  Invalid Security Token in /home/claudias/public_html/classes/sanitize.class.php on line 152
    [15-Feb-2018 03:02:24 UTC] PHP Warning:  Security Warning: Illegal array key &quot;cart_lookup}&quot; was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 113

     

  2. Now, in my opinion, all this mod needs a an "Edit All" functionally. If you have weights, by ounce and pound, for up to 30 pounds, with 3 different carriers, it gets old clicking the edit button for each one when the time comes to increase or decrease your rates based on the carrier annual rate change. I am very appreciative of the updates made up to now. Thanks again.

  3. Well ... Once again Brian Thank You!!  I have only resorted one zone but wanted you to know it works great!  This will also be great if someone wanted to add a different shipping method but wanted to keep all the weights together.  Yeah!!!!  The only difference is the lines in admin/index.inc.php

    In /admin/index.inc.php, near line 418, find:  My line 835

     

    $rates = $GLOBALS['db']->select('CubeCart_shipping_rates', false, false, 'id');

     

    Change to:

    $rates = $GLOBALS['db']->select('CubeCart_shipping_rates', false, false, 'sort_order, id');

    Near line 197, find:  My Line 393

                       if ($updated) {

                                          $GLOBALS['gui']->setNotify($lang['all_in_one_shipping']['notify_shipping_zone_sort_order']);

                       }

                       $GLOBALS['cache']->clear();

                       // httpredir(currentPage(array('tab')));

    }

     

    Add after:

    /**/

    //ALTER TABLE `CubeCart_shipping_rates`  ADD COLUMN `sort_order` INT(11) NOT NULL DEFAULT '1' AFTER `item_rate`;

    $rates_order_update = array(); .............

     

  4. I have Zones for States and Zips. Plus Countries for US territories.  Each zone has my rates for USPS Priority, USPS Parcel and Standard Ground (UPS). Except the territories don't have the Standard Ground rates. My worksheet from Excel has the rates in this order:  Priority - Parcel - Standard ground, so this is usually the order I use in AOIS  making it easy to to just input rates going down the list. Unfortunately, I guess the first time I put in the rates, the State zones show the Standard Ground last. I just wondered if there was an easy way to put them in my correct place in the plugin without having to redo them all. Not that big of a deal - don't go to any trouble with this.

  5. Correct:  As when CubeCart does not know the true delivery address of the customer?

    "The code posted above is not anything I recognize. Please remind us what file where the above code can be found." My lines (Custom skin based on Foundation) 93 -116 in :skin/templates/content.checkout.medium-up.php 

    I'd really rather not disable the estimated shipping and taxes.  If it can't show the zip code rates first, then the state rates if they can't find the zip code, I guess I can remove the states from the estimate, but I might have missed a zip code when inputting my zones / rates.

  6. On 12/29/2017 at 7:18 PM, bsmither said:

    The code suggests that searching on the zip code happens first.

    All the zones are examined. For each zone, if it has anything entered in the zipcode box, the code ranges are parsed and compared to the first five digits of the delivery zip code of the order.

    If the delivery zip code does not fall within a range, then another comparison is made with the assumption the zone's zip codes are expressions (for example, 900* is for all of Los Angeles).

    If the zone has no postcodes specified for it, then the code tries matching any states that were chosen for this zone. (You can have postcodes or states or neither, not both.)

    If your test delivery address is not getting a match in a range or an expression of zip codes, we will need to verify that the range or expression is stated correctly.

    See previous post:  I'm sorry, I should have clarified.  This is for the estimated shipping.  I've inputted more zones and rates and it is still going by the state first then the zip code.  Anyway to have the zip code rates chosen first and then the state in the shipping estimate. I've only checked in checkout-medium-up.  Here is my code:

    <tr>
              <td class="bgw txt pad-top bd-top"colspan="6">
                   {if $ESTIMATE_SHIPPING}
                   <a class="bgw" href="#">Get a Shipping Estimate for your Delivery Address</a>
                   <div>
                      <div class="txt font-wgt-norm">Specify your delivery address below. All information is required to get an accurate quote</div>
                     <div class="thinpad-top"><span class="page-tag-sm font-wgt-norm font-burg">For locations outside of the United States and its territories please <a class="uline" href="/contact-us.html"target="_blank" title="Contact Us">contact us.</a>
                   &nbsp;&nbsp;  Why we have this <a class="uline" href="/payments-/-shipping.html"target="_blank" title="International Shipping Policy">International Shipping Policy</a>
                     </span></div>
     <div class="pad-top"for="estimate_country">Country and US Territories</div>
                      <select name="estimate[country]" id="estimate_country"  class="nosubmit country-list" rel="estimate_state">
                         {foreach from=$COUNTRIES item=country}<option value="{$country.numcode}" {$country.selected}>{$country.name}</option>{/foreach}
                      </select>
                     <div for="estimate_state">{$LANG.address.state}</div>
                      <input type="text" name="estimate[state]" id="estimate_state" value="{$ESTIMATES.state}" placeholder="{$LANG.address.state}">
                      <div for="estimate_postcode">{$LANG.address.postcode}</div>
                      <input type="text" value="{$ESTIMATES.postcode}" id="estimate_postcode" placeholder="{$LANG.address.postcode}" name="estimate[postcode]">
                      <input type="submit" name="get-estimate" class="button expand" value="{$LANG.basket.fetch_shipping_rates}">
                      <script type="text/javascript">
                      var county_list = {$STATE_JSON};
                      </script>
                   </div>
                   {/if}
                </td></tr>

     

  7. I setup  a few rates for my state and purchase an item.  In viewing the cart it does not show the multiple rates as in the first post.  Thank you!  However, it I put Kentucky as the state and a California Zip code (or any non kentucky zip code)  It will show the estimated shipping rate for Kentucky, not the zip code.  Any way for the shipping estimate to go by the zip code, not the State?

×
×
  • Create New...