Jump to content

nedragdnuos

Members
  • Content count

    77
  • Joined

  • Last visited

Profile Information

  • Real Name
    nedragdnuos
  • Website
  1. Here is a picture of it working correctly on the other test shop (it looks the same on the live so only 1 picture.)
  2. Hmm, speak of the devil, just when I thought all was going well, I am getting this one test shop, but on the other test shop and the live shop it works fine, here is a pic of the error. Now that has me stumped, none of the checkout pages have been modified.
  3. Hi, I am currently using the flat rate shipping that is part of oscommerce and also the Australia Post shipping module (https://apps.oscommerce.com/0mp8t&australian-shipping-module) So far they seem to be working, but best to ask just in case. Regards!
  4. Hi all, I have been doing some offline testing of my store (2.3.4.1 CE latest version on XAMP) and just want to confirm that this is a PHP 7.2 error or something else. I am getting this error when I go the first page of checkout (checkout_shipping.php) - Warning: sizeof(): Parameter must be an array or an object that implements Countable in D:\XAMP\htdocs\response\includes\classes\shipping.php on line 95 I have added the following & ~E_WARNING to includes\application_top .php to suppress the error, but I am wondering what the actual error means and if i should be concerned as to whetehr it will affect the shop when it goes live. Any suggestions or tips would be great. Cheers!
  5. nedragdnuos

    Gift Vouchers Secure

    Thank you for your help Jack and to everyone else, it is greatly appreciated, I finally got it working, its great that there is support to help out us code ignorant shop owners!
  6. nedragdnuos

    Gift Vouchers Secure

    HTTP Server: Apache/2.4.37 (Win32) OpenSSL/1.1.1 PHP/7.2.12 PHP Version: 7.2.12 (Zend: 3.2.0)
  7. nedragdnuos

    Gift Vouchers Secure

    And one more after gift vouchers is installed
  8. nedragdnuos

    Gift Vouchers Secure

    Hi all, I forgot about this one as well, apologies for any trouble. Thank you again for all your help.
  9. nedragdnuos

    Gift Vouchers Secure

    Thank you all for your help, it is greatly appreciated everything seems ok apart from this one that is still appearing
  10. nedragdnuos

    Gift Vouchers Secure

    Hi, thanks for that Jack, that fixed the first 2 errors, the data base error is still there when trying to email the newly created coupon.: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''_DESCRIPTION where coupon_id = '1' and language_id = '1'' at line 1 select coupon_name from coupons'_DESCRIPTION where coupon_id = '1' and language_id = '1' Found this error at the top of send gift voucher form on the customer side: Warning: Use of undefined constant GV_SEND - assumed 'GV_SEND' (this will throw an Error in a future version of PHP) in D:\XAMP\htdocs\catalog\gv_send.php on line 93 And finally this was at the bottom of the Voucher FAQ page (none of the links to the faq are working): Warning: Use of undefined constant FILENAME_DEFAULT - assumed 'FILENAME_DEFAULT' (this will throw an Error in a future version of PHP) in D:\XAMP\htdocs\catalog\gv_faq.php on line 53 Cheers!
  11. nedragdnuos

    Gift Vouchers Secure

    Just found the above error and this as well when trying to email the coupon: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''_DESCRIPTION where coupon_id = '1' and language_id = '1'' at line 1 select coupon_name from coupons'_DESCRIPTION where coupon_id = '1' and language_id = '1'
  12. nedragdnuos

    Gift Vouchers Secure

    Hi, I have just installed this and have found this error popping up in the Coupon Admin Section, and when trying to confirm the coupon: I am not code savvy in any way so best to bring it to your attention. Cheers!
  13. nedragdnuos

    Holiday-Promotional Message Add-On BS

    Hi Raiwa, thanks for the reply, I did a clean install of oscommerce again from this link: https://github.com/gburton/Responsive-osCommerce Yours is the first addon I placed and I still got the error, then I did the whole install again and all of a sudden it started working, I have no idea why but its working and I am not going touch it again LOL. Thanks for your help and I hope you have a great New Year! Regards!
  14. nedragdnuos

    Holiday-Promotional Message Add-On BS

    Hi, Just installed this module, which was very easy, just copy and paste, and when I go to save it no longer selects the pages , ie, it deselects the pages, I am running the latest 2.3.4.1 ce on PHP Version: 7.2.12 (Zend: 3.2.0) Here is what it looks like after I save, the selected pages are lost: Any suggestions would be great, Cheers!
  15. Ok, I went through the whole lot again right from the start and found a slight error in one of the obscure Australian definition files located in: \catalog\ext\datepicker\locales\bootstrap-datepicker.en-AU.min.js At the very end of the text line, I found that the date format was showing ........format:"d/mm/yyyy"}}(jQuery); so I added the extra "d" and voila all of a sudden it works ........format:"dd/mm/yyyy"}}(jQuery); So to summarize for Australian format in oscommerce 2.3.4.1 CE, ( https://github.com/gburton/Responsive-osCommerce) check the above and do the mods JC Magpie mentioned in his previous post: change the date format in - \catalog\ext\datepicker\js\bootstrap-datepicker.js adjust date in catalog side - \catalog\includes\languages\english.php // 'en_AU.UTF-8', 'en_AU.UTF8', 'ena_au' @setlocale(LC_ALL, array('en_AU.UTF-8', 'en_AU.UTF8', 'ena_au')); define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'd/m/Y'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); define('JQUERY_DATEPICKER_FORMAT', 'dd/mm/yy'); // see http://docs.jquery.com/UI/Datepicker/formatDate //// // Return date in raw format // $date should be in format mm/dd/yyyy // raw date is in format YYYYMMDD, or DDMMYYYY function tep_date_raw($date, $reverse = false) { if ($reverse) { return substr($date, 0, 2) . substr($date, 3, 2) . substr($date, 6, 4); } else { return substr($date, 6, 4) . substr($date, 3, 2) . substr($date, 0, 2); Adjust date in admin side - catalog\admin\includes\languages\english.php // 'en_AU.UTF-8', 'en_AU.UTF8', 'ena_au' setlocale(LC_ALL, array('en_AU.UTF-8', 'en_AU.UTF8', 'ena_au')); define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'd/m/Y'); // this is used for date() define('PHP_DATE_TIME_FORMAT', 'd/m/Y H:i:s'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); define('JQUERY_DATEPICKER_I18N_CODE', 'ena_au'); // leave empty for en_US; see http://jqueryui.com/demos/datepicker/#localization define('JQUERY_DATEPICKER_FORMAT', 'dd/mm/yy'); // see http://docs.jquery.com/UI/Datepicker/formatDate //// // Return date in raw format // $date should be in format mm/dd/yyyy // raw date is in format YYYYMMDD, or DDMMYYYY function tep_date_raw($date, $reverse = false) { if ($reverse) { return substr($date, 0, 2) . substr($date, 3, 2) . substr($date, 6, 4); } else { return substr($date, 6, 4) . substr($date, 3, 2) . substr($date, 0, 2); And anywhere that the date reference is MM/DD/YYYY, change it to DD/MM/YYYY in the above english.php files, you will have to scroll down and hunt for them all. Thank you to everyone for their help, it is greatly appreciated! Enjoy your weekend, and I hope you all have a great New Year!
×