Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by raiwa

  1. Shop redirect, htaccess

    1.: # Force WWW. RewriteCond %{HTTP_HOST} !^www\.(.*)$ [NC] RewriteRule ^(.*)$ https://www.yourstore.com/$1 [R=301,L] 2.: May vary depending on your server setup https://stackoverflow.com/questions/16200501/http-to-https-apache-redirection 3.: Yes, like you say
  2. found a more stable/better solution: foreach ($vals as $value) { $bits = preg_split("/=/" ,$value); $values[$bits[0]]= $bits[1]; } extract( $values, EXTR_OVERWRITE);
  3. Hello Dominic @auzStar and other users of the australian shipping modules, I found the fixes. Tere were 2 different problems: 1. I missed to fill in the correct settings in admin=> configure=> Shipping/Packaging The shipping modules need Australia as country of origin and a valid Australia Post Code. This change made the module correct working under PHP5.5 and 5.6, but under PHP7 the error was still showing up. 2. Under PHP7 the variables assign needed an update: $$bits[0] = $bits[1]; needs to be changed to: ${$bits[0]} = $bits[1]; Now all works ok Better a generic error message than a specific error message pointing in the wrong direction I added some other updates for BS and PHP7 and will upload the updated modules soon. Hope this helps other aust post users
  4. Session Lost issue in AAS

    @robing05, then you should post this issue in the AAS support forum: https://forums.oscommerce.com/topic/394327-alternative-administration-system-categoriesproducts/?page=9&tab=comments#comment-1738269 or contact the developer of this contribution John @gadlol
  5. Hello Dominic @auzStar, First of all thank you for your help and answer. I did several research and testing. Please note that I'm all the time referring to the old modules, not the new modules which require a lot of core file changes. The old modules I refer to are standard shipping modules which should work just copying the module incl. languge files and installing the module. Here the package: https://apps.oscommerce.com/0mp8t&australian-shipping-module I tried now in standard, 2.2rc2a under php 5.4 aand 7.1 and 7.2 with all the same result: err_msg [1] => Please enter a valid Service code. on the original store installation it works, I compared involved files, setup, configuration, language, currencies etc. I couldn't find any significant difference. This is present: Your host must have " libcurl/7.14.0 OpenSSL/0.9.8 zlib/1.2.3 " installed on the server and the working store is under the same php 5.4 local xampp installation like the test store which do not work. Any clue in which direction to continue? Thank you Rainer
  6. One more hint: In the old store 2.2 if I echo the response array: $vals = preg_split("/\n/", $contents); foreach ($vals as $value) { echo '$bits ' . print_r($bits) ; $bits = preg_split("/=/" ,$value); $$bits[0] = $bits[1]; } I get this: $bits 1Array ( [0] => charge [1] => 21.48 ) $bits 1Array ( [0] => days [1] => 0 ) $bits 1 In the new BS store I get: Array ( [0] => charge [1] => 0 ) $bits 1Array ( [0] => days [1] => 0 ) $bits 1Array ( [0] => err_msg [1] => Please enter a valid Service code. )
  7. Hello Dominic @auzStar, Trying to use the old international shipping modules on a new BS EDGE store latest version, I get the following error: ERROR: We apologise, we are unable to obtain a valid quote from the Australia Post Server. If you would like to use this option as your shipping method, please contact us. The same module works on an old 2.2 store with the same settings and configuration. The new store runs PHP 7.2 locally and 7.1 on server. I also tried going down until PHP 5.5. The other domestic modules work fine. Modules are: domestic: aprego.php (and others) => works fine relevant code: $header = array("AUTH-KEY:".$APIKEY); //$url = "https://auspost.com.au/api/postage/parcel/domestic/calculate.xml?suboption_code=AUS_SERVICE_OPTION_EXTRA_COVER&from_postcode=$frompcode&to_postcode=$topcode&length=10&width=10&height=10&weight=$sweight&service_code=AUS_PARCEL_REGULAR&option_code=AUS_SERVICE_OPTION_REGISTERED_POST&extra_cover=$extra_cover"; $url = "https://auspost.com.au/api/postage/parcel/domestic/calculate.xml?from_postcode=$frompcode&to_postcode=$topcode&length=10&width=10&height=10&weight=$sweight&service_code=AUS_PARCEL_REGULAR&option_code=AUS_SERVICE_OPTION_SIGNATURE_ON_DELIVERY&extra_cover="; $auspost_xml = $this->get_auspost_api( $url, $header ); $xml = simplexml_load_string($auspost_xml); $charge = (float) $xml->total_cost; $apreg_error = $xml->errorMessage; $days = ''; Inernational: insuredauspostair.php (and others) => throws above error relevant code: $newtopcode = str_replace(" ", "", $topcode); /** * Initialize the cURL session */ $ch = curl_init(); /** * Set the URL of the page or file to download. */ curl_setopt($ch, CURLOPT_URL, "http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=$frompcode&Destination_Postcode=$newtopcode&Country=$dest_country&Weight=$sweight&Service_Type=AIR&Height=$sheight&Width=$swidth&Length=$slength&Quantity=$shipping_num_boxes"); /** * Ask cURL to return the contents in a variable * instead of simply echoing them to the browser. */ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); /** * Execute the cURL session */ $contents = curl_exec ($ch); /** * Close cURL session */ curl_close ($ch); $vals = preg_split("/\n/", $contents); foreach ($vals as $value) { $bits = preg_split("/=/" ,$value); $$bits[0] = $bits[1]; } if ($charge <= 0) { $error = true; } else { 1. is this a known issue with BS 2. Which auz post modules are recommended to be used with latest 2.3.4BS EDGE Thanks in advance Rainer
  8. KissIT Image Thumnailer

    @cupidare, sorry, only the formats mentionerd in the instructions: jpg, gif and png
  9. Just as an info/input: The vast majority of new BS stores I get a look or I'm involved in the installation use or request modular shopping cart.
  10. Session Lost issue in AAS

    Check your includes/configure.php files for the cookie domain (HTTP(S)_COOKIE_DOMAIN). Some server work fine with empty setting: define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); some require the domain name: define('HTTP_COOKIE_DOMAIN', 'mystore.com'); define('HTTPS_COOKIE_DOMAIN', 'mystore.com');
  11. @BrockleyJohn, @burt, Not sure. but I guess you mean modular shopping cart (and that was a teamwork). I have no modular product info released. Its @kymation who made a modular product info. Or do you refer to the modular product info I proposed years ago in GitHub if I well remember which isn't even there anymore.
  12. PayPal App v5.000

    Shipping is also not shown on PayPal and you can just add a note in the shopping cart and/or checkout payment page informing your customers about it.
  13. PayPal App v5.000

    That's like this in the newest version
  14. KissIT Image Thumnailer

    Hello @ce7, I'm sorry, but the search box has nothing to do with the changes of KissIT image thumbnailer. There is no tep_image function or image used in the search box. For the blank pages you get, you should check your error log files to see which error is thrown, then post it and I'll see what happens. The actual KissIT image thumbnailer has in the admin support instructions still the hardoded image directory constant DIR_WS_IMAGES in the code. You should replace all instances by 'images/'. This will be fixed in the already prepared next update. But anyway if you have the compatibility add-on installed and the blank page shows in bot, admin and store, there must be another reason for the error. rgds Rainer
  15. I would say if you wish that someone solves a problem for a customized add-on , you posted this in the wrong thread and you probably should ask for help in the comercial support enquiry topic.
  16. I'm sorry I do not understand, could you first give the information I asked for, please.
  17. Hello @Kevin.Dallas. did you see that the last post in this topic is from 2007?? Can you please tell us which exact version you refer to and which is your exact store version. I also do not understand what you would like the related products add-on to do with advanced search. Show related products of the products shown in search results??
  18. Separate Pricing Per Customer for Edge

    @thadson, I do not know which functions you really used. The main limit of SPPC Lite is that there is only one wholesale group available. For other details, please see the description in the download area. rgds Rainer
  19. @brian_cee, Just checked and the code which produces the error messages is not related to the PWA checkout modifications.
  20. Separate Pricing Per Customer for Edge

    Hell Attila @thadson, My add-on is this one: Wholesale (SPPC lite) If you are using this one: BOOTSTRAP - SPPC 2.3.4 BS GOLD - v1.1b , you should address your question to the developer: @greasemonkey in the appropriate thread: https://forums.oscommerce.com/topic/397328-sppc-for-234/?page=2&tab=comments#comment-1766070 I do not use that one and can't give support for it, sorry. rgds Rainer
  21. Warning and info error messages shouldn't show up in a production/live store. Try in application_top.php and/or your php.ini. It should be: // set the level of error reporting error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING); if (defined('E_DEPRECATED')) { error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED); } There are two possibilities that they show up now: 1. you changed the php version to a higher one 2. the condition for the error to be generated wasn't given before. (empty variable instead of array) It's really not important. I'll have a look on this for the next update.
  22. This happens if the guest customer just closes the browser tab when on the checkout success page or even doesn't come back to the store after external payment like paypal. Customer data is temporary stored during checkout in a regular account, but normally auto deleted when he leaves the checkout success page. There is nothing wrong with it, if he tries the next time a guest checkout with the same e-mail, the old account data will be deleted. There is no other possibility and no harm with it. Anyway the customers data is also stored in the order and only the store owner can see that data.
  23. These are only warning messages which are thrown in php 7.0 and 7.1 I believe. With a production error level reporting they will not show up. Only in php 7.2 it would produce problems. I'm planning to update this for php 7.2 and this will be fixed.
  24. Imprint input options

    @sinopia, I posted some time ago the solution for the same issue in option type's file upload feature here: https://forums.oscommerce.com/topic/338661-contribution-option-types-v2/?do=findComment&comment=1704352 @Tsimi then picked it up and integrated it in the new BS option type version.
  25. Hello @Tsimi, I found that the font awesome 5 update requires some updates for the xs cat menu to show the subcategory icon (arrow-right). includes/modules/content/header/templates/catmenu_xs.php add line 15: <link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet"> ext/menu_xs/css/component.css lines 58-68 change to: .dl-menuwrapper li.dl-back:after, .dl-menuwrapper li > a:not(:only-child):after { position: absolute; top: 0; line-height: 50px; font-family: 'Font Awesome 5 Free'; font-weight: 900; speak: none; -webkit-font-smoothing: antialiased; content: "\f105"; } I didn't check the normal horizontal menu. rgds Rainer