Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


raiwa last won the day on January 31

raiwa had the most liked content!

Profile Information

  • Real Name
    Rainer Schmied
  • Gender
  • Location
    Sant Iscle de Vallalta, Barcelona, Spain
  • Website

Recent Profile Visitors

38,348 profile views
  1. KissIT Image Thumnailer

    Hello Luis @Icebird, I'm sorry, this kind of customization doesn't seem to be required by other users. You can always leave the KissIt thumbs out for the product page, you have only one product image there as far as I could see. I would need to install your addition on a test store to see how to fix it and this is far beyond what I can offer here in the forum for free. Hope you understand Best regards Rainer
  2. KissIT Image Thumnailer

    try this: <?php echo tep_image('images/' . $product_info['products_image'], addslashes($product_info['products_name']), KISSIT_MAIN_PRODUCT_IMAGE_WIDTH, KISSIT_MAIN_PRODUCT_IMAGE_HEIGHT, ((KISSIT_MAIN_PRODUCT_WATERMARK_SIZE > 0)? preg_replace('%<img width="[0-9 ]+" height="[0-9 ]+" src="(.*)title=.+%', 'data-highres="$1', tep_image('images/' . $product_info['products_image'], null, $width, $height, $product_info['products_id'])) : 'data-highres="'. 'images/' . $product_info['products_image'] . '"' . $product_info['products_id'])); ?>
  3. Thumbnails image resize addon

    KissIT Image Thumbnailer: https://apps.oscommerce.com/oTI8V&kissit-image-thumbnailer-bs
  4. 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
  5. found a more stable/better solution: foreach ($vals as $value) { $bits = preg_split("/=/" ,$value); $values[$bits[0]]= $bits[1]; } extract( $values, EXTR_OVERWRITE);
  6. 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
  7. 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
  8. 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
  9. 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. )
  10. 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
  11. KissIT Image Thumnailer

    @cupidare, sorry, only the formats mentionerd in the instructions: jpg, gif and png
  12. 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.
  13. 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');
  14. @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.
  15. 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.