Jump to content

PaganMan

Members
  • Content count

    14
  • Joined

  • Last visited

Posts posted by PaganMan


  1. If this is a new installation of osC, then you may be experiencing the widely known "refresh bug" of the modules section which includes shipping, payment, etc.

    There is a simple fix:

    1. Open the catalog/admin/includes/functions/compatibility.php.

    2. At the end of the “do_magic_quotes_gpc” routine, add the following code

     

    reset($ar);

     

    It will end up looking like this:

     

    function do_magic_quotes_gpc(&$ar) {
    if (!is_array($ar)) return false;
    while (list($key, $value) = each($ar)) {
    if (is_array($ar[$key])) {
    do_magic_quotes_gpc($ar[$key]);
    } else {
    $ar[$key] = addslashes($value);
    }
    }
    reset($ar);
    }

     

    3. Do the same for the compatibility.php file located in catalog/includes/functions/compatibility.php.

     

     

    Thanks for that - will let you know how it turns out.

     

    Regards

    Geoff


  2. Hi all,

     

    I have just re-installed oscommerce, the UK version, and on installing and setting up payment modules I am getting this:

    • NOCHEX
    • Requires the GBP currency.
    • Enable NOCHEX Module
    • True
    • E-Mail Address
    • you@yourbuisness.com
    • Payment Zone
    • --none--
    • Set Order Status
    • default
    • Sort order of display.
    • 0

    and

    • PayPal
    • Enable PayPal Module
    • True
    • E-Mail Address
    • you@yourbusiness.com
    • Transaction Currency
    • Selected Currency
    • Payment Zone
    • --none--
    • Set Order Status
    • default
    • Sort order of display.
    • 0

    it will not let me edit the modules to my specs. Can anybody help me please?

     

    Regards

    Geoff

×