Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bushmaster

Pioneers
  • Posts

    447
  • Joined

  • Last visited

Posts posted by Bushmaster

  1. All users of PHP, especially those using earlier PHP 5 releases are advised to upgrade to this release as soon as possible. This release also obsoletes the 5.1 branch of PHP.

     

    Quoted from here So why code for an obsolete version. If your host uses only RedHat and Redhat is going to keep you in the past I would say find another host. If Redhat can not mke there system work with PHP 5.2 that is there problem not oscommerce's problem. If you have a script that doesn't work with php 5.2 see if the maker has an update for it. Not upgrading by choice is one thing but being told you can't is another.

     

    The PHP 5.3 is said to make 5.2 obsolete also.

  2. There is actually 5 errors that come along with the USPS shipping module.

    24-Mar-2009 15:06:04PHP Warning: Invalid argument supplied for foreach() in /home/arbush/public_html/osc3/includes/classes/shipping.php on line 136 24-Mar-2009 15:06:04PHP Notice: Undefined index: methods in /home/arbush/public_html/osc3/includes/classes/shipping.php on line 136 24-Mar-2009 15:06:03PHP Notice: Undefined index: country_iso_code_2 in /home/arbush/public_html/osc3/includes/classes/shopping_cart.php on line 694 24-Mar-2009 15:06:03PHP Notice: Undefined index: postcode in /home/arbush/public_html/osc3/includes/classes/shopping_cart.php on line 694 24-Mar-2009 14:12:55PHP Notice: Undefined index: methods in /home/arbush/public_html/osc3/includes/classes/shipping.php on line 94
  3. Hello!

    Having v2.1d updated (and working fine) I need to add code to the htaccess to block a couple nasty IP's are spamming and one of which is even noted by Symentec as injecting viruses. The IP banning contribs do not exclude all the pages even though they pretend to with the addition in application-top.

     

    So my question is, how to insert the code in the .htaccess file with all the rewrites. It seems to me that normally the code would be something like :

     

    order allow,deny

    deny from xx.xx.xx.xx

    allow from all

     

    But not being sure if that is the way nor how to place it I would love some advice.

     

    Thank you in advance for your help.

     

    Mandy

     

     

    That is it.

  4. 01001001 00100000 01110111 01101111 01110101 01101100 01100100 00100000 01101001 01101101 01100001 01100111 01101001 01101110 01100101 00100000 01101001 01110100 00100000 01100001 01101100 01110011 01101111 00100000 01110011 01110100 01100001 01110100 01100101 01100100 00100000 01110111 01101000 01100101 01110010 01100101 00100000 01110100 01101000 01100101 00100000 01101000 01100101 01101100 01110000 00100000 01110100 01101000 01110010 01100101 01100001 01100100 00100000 01101001 01110011 00100000 01101100 01101111 01100011 01100001 01110100 01100101 01100100 00101110 00100000 01000010 01110101 01110100 00100000 01110011 01101001 01101110 01100011 01100101 00100000 01101110 01111001 00100000 01100011 01111001 01110011 01110100 01100001 01101100 00100000 01100010 01100001 01101100 01101100 00100000 01101001 01110011 00100000 01101111 01101110 00100000 01110100 01101000 01100101 00100000 01100110 01110010 01101001 01110100 01111010 01100101 00100000 01100110 01110010 01101111 01101101 00100000 01110100 01101111 00100000 01101101 01100001 01101110 01111001 00100000 01010000 01000100 01000110 01110011 00100000 01101001 01101110 00100000 01110100 01101000 01100101 00100000 01110010 01101111 01101111 01110100 00100000 01001001 00100000 01100011 01100001 01101110 00100000 01101000 01100101 01101100 01110000 00100000 01111001 01101111 01110101 00101110

     

    73 32 119 111 117 108 100 32 105 109 97 103 105 110 101 32 105 116 32 97 108 115 111 32 115 116 97 116 101 100 32 119 104 101 114 101 32 116 104 101 32 104 101 108 112 32 116 104 114 101 97 100 32 105 115 32 108 111 99 97 116 101 100 46 32 66 117 116 32 115 105 110 99 101 32 110 121 32 99 121 115 116 97 108 32 98 97 108 108 32 105 115 32 111 110 32 116 104 101 32 102 114 105 116 122 101 32 102 114 111 109 32 116 111 32 109 97 110 121 32 80 68 70 115 32 105 110 32 116 104 101 32 114 111 111 116 32 73 32 99 97 110 32 104 101 108 112 32 121 111 117 46

     

     

    82 101 112 111 115 116 101 100 32 97 115 32 114 101 113 117 101 115 116 101 100 32 76 79 76

  5. %49%20%71%75%69%74%65%20%61%67%72%65%65%2c%20%68%6f%77%20%63%61%6e%20%61%6e%79%6f%6e%65%20%68%65%6c%70%20%77%68%65%6e%20%79%6f%75%20%68%61%76%65%20%6e%6f%20%69%64%65%61%20%77%68%61%74%20%79%6f%75%27%72%65%20%74%61%6c%6b%69%6e%67%20%61%62%6f%75%74%21%21

     

    4c 4d 41 4f 20 20 49 20 77 61 73 6e 27 74 20 73 75 72 65 20 77 68 61 74 20 74 6f 20 65 78 70 65 63 74 20 66 72 6f 6d 20 65 76 65 72 79 6f 6e 65 20 77 68 65 6e 20 49 20 64 69 64 20 69 74 2e 20 41 74 6c 65 61 73 74 20 68 65 20 6b 6e 6f 77 73 20 77 68 61 74 20 42 69 6e 61 72 79 20 69 73 2e 20 4f 66 66 20 74 6f 20 66 69 6c 6c 20 68 69 73 20 72 65 71 75 65 73 74 20 74 6f 20 72 65 70 6f 73 74 20 69 74 20 61 67 61 69 6e 2e 20 68 6d 6d 2e 2e 2e 2e 20 44 45 43 20 69 20 74 68 69 6e 6b

  6. 01001001 00100000 01110111 01101111 01110101 01101100 01100100 00100000 01101001 01101101 01100001 01100111 01101001 01101110 01100101 00100000 01101001 01110100 00100000 01100001 01101100 01110011 01101111 00100000 01110011 01110100 01100001 01110100 01100101 01100100 00100000 01110111 01101000 01100101 01110010 01100101 00100000 01110100 01101000 01100101 00100000 01101000 01100101 01101100 01110000 00100000 01110100 01101000 01110010 01100101 01100001 01100100 00100000 01101001 01110011 00100000 01101100 01101111 01100011 01100001 01110100 01100101 01100100 00101110 00100000 01000010 01110101 01110100 00100000 01110011 01101001 01101110 01100011 01100101 00100000 01101110 01111001 00100000 01100011 01111001 01110011 01110100 01100001 01101100 00100000 01100010 01100001 01101100 01101100 00100000 01101001 01110011 00100000 01101111 01101110 00100000 01110100 01101000 01100101 00100000 01100110 01110010 01101001 01110100 01111010 01100101 00100000 01100110 01110010 01101111 01101101 00100000 01110100 01101111 00100000 01101101 01100001 01101110 01111001 00100000 01010000 01000100 01000110 01110011 00100000 01101001 01101110 00100000 01110100 01101000 01100101 00100000 01110010 01101111 01101111 01110100 00100000 01001001 00100000 01100011 01100001 01101110 00100000 01101000 01100101 01101100 01110000 00100000 01111001 01101111 01110101 00101110

  7. For anyone who cares, v3.5.3 generates HTML that does not comply with the HTML 4.01 DTD (but neither does most of osC). V3.5.4, as all of my previous releases, will generate HTML that passes the W3C validator.

     

    --Glen

     

    Will load it as soon as I can download it.

  8. Bushmaster,

    I didn't expect Glen to debug someone else's code.

    I just downloaded latest version and posted version number and my results about this great contribution.

    You suggested to change the code and I thank you for your help.

    I didn't know that time that you were talking about older version.

    I didn't ask Glen to make any changes, he made his post himself.

    Thanks for help.

     

    Ok lets back this up. I miss read your first post. The version you downloaded as 3.5.3 was not Glens. I see today He has updated his code with some fixs. When looking to add a contrib check the support thread to which one is giving the least trouble. For this one if Glen didn't upload it I wouldn't touch it unlees He thought it was a good fix. There is way to many people uploading things thinking there fixing it when they are not. Just like the sugested fix after the one I mentioned caused the program I use to give warnings for it so I never even tried to see if it would work. I stayed with what I found and did not get any warnings about.

     

    Sorry if I came across sounding rude it was not the intent. To many long days this week

  9. Its on line 281 in admin/whos_online.php

     

    $Id: whos_online.php,v 3.5 2008/06/13 SteveDallas Exp $

     

    2008 Jul 02 v3.5.1 Glen Hoag aka SteveDallas Two fixes for register_globals=off compatibility:

     

    If the line nubers are not right then you have downloaded a version that someone else changed so you will need to wait for them to help you. You can not expect Glen to debug someone elses code.

  10. Change the code as shown in that post and it will fix your problem.

     

    Find this code.

    echo TEXT_SHOW_BOTS . ': <input type="checkbox" name="bots" value="show" onChange="this.form.submit();"' . ($HTTP_GET_VARS['bots'] == 'show' ? ' checked="checked"': '') . '>';  ?>

     

    and change it to this.

    echo TEXT_SHOW_BOTS . ': <input type="checkbox" name="bots" value="show" onclick="this.form.submit();"' . ($HTTP_GET_VARS['bots'] == 'show' ? ' checked="checked"': '') . '>';  ?>

×
×
  • Create New...