Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stephan Gebbers

Members
  • Posts

    206
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Stephan Gebbers

  1. i am using PDF Customer Invoice 1.6 for 2.3.4 EDGE with OsCommerce 2.3.4BS and would like to update the fpdf class from 1.6 to 1.8.1 has somebody been successful updating fpdf from 1.6 to 1.8.1 ? currently i get this error using fpdf 1.8.1 Fatal error: Uncaught exception 'Exception' with message 'FPDF error: Some data has already been output, can't send PDF file' in /var/www/vhosts/shopname/httpdocs/includes/modules/fpdf/fpdf.php:271 Stack trace: #0 /var/www/vhosts/shopname/httpdocs/includes/modules/fpdf/fpdf.php(1085): FPDF->Error('Some data has a...') #1 /var/www/vhosts/shopname/httpdocs/includes/modules/fpdf/fpdf.php(1013): FPDF->_checkoutput() #2 /var/www/vhosts/shopname/httpdocs/pdfinvoice.php(899): FPDF->Output('D', 'shopname_in...', true) #3 {main} thrown in /var/www/vhosts/shopname/httpdocs/includes/modules/fpdf/fpdf.php on line 271
  2. i have not testet this on 2.2, but i am testing around with The PayPal App (containing PayPal Express Checkout) on 2.3.4BS and it does redirect to the checkout_confirmation.php at the end. So you might check if you are using the standalone old version or the recent PayPal App. i 'm not sure if this PayPal App is tricky to install on 2.2 but the documentation contains legacy chapters for older Oscommerce versions. https://apps.oscommerce.com/fZMiN Regards, Stephan
  3. in the "/mobile/header.php" the whole catalog got not indexed because of noindex and nofollow metatags via <?php if (strpos($PHP_SELF,'checkout') || strpos($PHP_SELF,'shopping_cart') || strpos($PHP_SELF,'account') || strpos($PHP_SELF,'log') ) { ?> <meta name="googlebot" content="noindex, nofollow"> <meta name="robots" content="noindex, nofollow"> <?php } ?> i removed the part || strpos($PHP_SELF,'log') and hopefully get into the google index with my mobile pages now. was it intended to noindex and nofollow catalog_mb.php that way? Regards, Stephan
  4. Hi, is this the normal search engine behavior with mobile product and category pages submitted via sitemap? (the mobile pages dont get indexed by google) http://i.imgur.com/mg2D2OO.png i am using a canonical link on mobile page and desktop page pointing to the desktop page, where the desktop page shows an alternate link to the mobile page also. mobile pages are in a /mobile/ subfolder (so no seperate mobile subdomain) and robots meta tag on mobile and desktop page is <meta name="robots" content="index,follow,noodp,noydir">
  5. How could the jquery form_check.js.php (the one in the mobile directory) be modified to check if the street field contains a streetnumber? Regards, Stephan
  6. Ok, i changed it back from transparent png to jpg again. i guess i need to change the background color of the new products- and also bought-boxes in iOSC to white or something closer to the white image-background. anyway, thanks for the contribution!
  7. i started to change products image from jpg to transparent png, but i am not happy with the image quality. especially aliasing on skewed borders/edges. Is there a way to get good quality png thumbnails incl. transparency? Example of png thumb http://www.mspoints.de/itunes-code-deutschland-15eur-guthaben-p-144.html Example of jpg thumb http://www.mspoints.de/google-play-card-15eur-guthaben-code-p-214.html Regards, Stephan
  8. yep, i have added usu5 support and the mobile urls and redirects look good using the mobile site. i 've had the same problem with my files for google merchant center to create the mobile urls. i do it like that now. It's a workaround but it does the job. So i take the normal usu5 url via tep_href_link and replace the domain.com/ with domain.com/mobile/ and further use the replacement logic as seen in the redirect class. that creates correct mobile product urls for me now. // iOSC mobile products urls -- BOF $str_replace_from = array('/-p-/', '/-c-/', '/-m-/', '/-pr-/', '/-pri-/', '/-pi-/', '/-a-/', '/-au-/', '/-by-/', '/-f-/', '/-fc-/', '/-fri-/', '/-fra-/', '/-i-/', '/-links-/', '/-n-/', '/-nc-/', '/-nri-/', '/-nra-/', '/-pm-/', '/-po-/', '/-t-/'); $str_replace_to = array('-mp-', '-mc-', '-mm-', '-mpr-', '-mpri-', '-mpi-', '-ma-', '-mau-', '-mby-', '-mf-', '-mfc-', '-mfri-', '-mfra-', '-mi-', '-mlinks-', '-mn-', '-mnc-', '-mnri-', '-mnra-', '-mpm-', '-mpo-', '-mt-'); $produrl = tep_href_link( FILENAME_PRODUCT_INFO, 'products_id=' . (int)$row['products_id'], 'NONSSL', false ); $produrl_mobile = str_replace('domain.com/','domain.com/mobile/',$produrl); $produrl_mobile = preg_replace($str_replace_from, $str_replace_to, $produrl_mobile); // iOSC mobile products urls -- EOF same for the mobile categories urls // iOSC mobile category URLs -- BOF $str_replace_from = array('/-p-/', '/-c-/', '/-m-/', '/-pr-/', '/-pri-/', '/-pi-/', '/-a-/', '/-au-/', '/-by-/', '/-f-/', '/-fc-/', '/-fri-/', '/-fra-/', '/-i-/', '/-links-/', '/-n-/', '/-nc-/', '/-nri-/', '/-nra-/', '/-pm-/', '/-po-/', '/-t-/'); $str_replace_to = array('-mp-', '-mc-', '-mm-', '-mpr-', '-mpri-', '-mpi-', '-ma-', '-mau-', '-mby-', '-mf-', '-mfc-', '-mfri-', '-mfra-', '-mi-', '-mlinks-', '-mn-', '-mnc-', '-mnri-', '-mnra-', '-mpm-', '-mpo-', '-mt-'); $caturl = tep_href_link( FILENAME_DEFAULT, 'cPath=' . $detail['path'], 'NONSSL', false ); $caturl_mobile = str_replace('domain.com/','domain.com/mobile/',$caturl); $caturl_mobile = preg_replace($str_replace_from, $str_replace_to, $caturl_mobile); // iOSC mobile category URLs -- EOF i'm sure thats not how it's ment to be, but i have it working that way now. As i look at the code now, i guess i could have just added domain.com/ and domain.com/mobile/ in the replacement arrays :)
  9. i got the same problem now. have you been able to fix that? Regards, Stephan
  10. any idea why this happens? once logged in i get in the account module Undefined variable: customer_first_name in /var/www/vhosts/xxxxxxxxx/httpdocs/includes/modules/content/navbar/templates/cm_nb_account.php on line 16
  11. I always thought that my smallest oscThumb Thumbnails could be a bit sharper. I figured out how to do that now. If you want to add a bit more sharpness to your thumbnails your can add $PHPTHUMB_DEFAULTS['fltr'] = array('usm|95'); to your /phpThumb/phpThumb.config.php where the amount can be 1-255 (80 is default if you don't add this line).
  12. Am i wrong or do i have to set <meta name="robots" content="noindex"> in the <head> area of my popup_image.php? I had Disallow: /popup_image.php in my robots.txt before to avoid indexing the image popups, but it seems this will make no sense anymore.
  13. Ok, thanks. Thats better now. Well, Yahoo is sending the search query parameter string with plain spaces. Regards, Stephan
  14. $remove_array = array('OVRAW', 'OVADGRPID', 'OVCAMPGID', 'OVKEY', 'OVMTC', 'OVKWID', 'OVADID', 'utm_content', 'utm_term', 'utm_source', 'utm_medium', 'utm_campaign', 'action', 'gclid', 'currency','language','main_page','page','sort','ref','affiliate_banner_id','max'); I have "Ultimate seo urls 5 r141 stable" installed Currently i'm using a workaround.. In html_output.php, right before the definition of $remove_array $request_uri = preg_replace("([^a-zA-Z0-9äöüÄÖÜ\/\-\.\=\?\&\_])", "", $request_uri); Regards, Stephan PS: have you tested the string "xbox live points kaufen" with actual spaces instead of %20 too?
  15. Can you help me with this? It seems when there are %20 (spaces) or similar within the links, as in OVRAW etc. hxxp://www.website.com/index.php?utm_source=Yahoo&utm_medium=cpc&utm_term=xbox%20live%20points%20kaufen&utm_content=7777777777&utm_campaign=666666666&OVRAW=xbox%20live%20points%20kaufen&OVKEY=xbox%20live%20points%20kaufen&OVMTC=standard&OVADID=1111111111&OVKWID=22222222222&OVCAMPGID=44444444444&OVADGRPID=5555555555 this values will not be removed completely <link rel="canonical" href="http://www.website.com/index.php?%20live%20points%20kaufen%20live%20points%20kaufen%20live%20points%20kaufen" > Regards, Stephan
  16. i prefer security over nonstandard filenames :thumbsup:
  17. to bad, as it worked with those my-file.php filenames until now.. Seems i have to change those filenames
  18. Unfortunatly i have a problem yet with those kind of files http://www.mspoints.de/star-trek-online-gamecard-und-cd-key-code-sofort.php http://www.mspoints.de/battleforge-punkte.php etc With gzip turned on i get a content-encoding-error. With gzip turned off i get the page but "Warning: USU5 could not find a valid base filename, please inform the developer. in /home/mspoints_de/www/includes/application_top.php on line 151". Regards, Stephan
  19. Great Contribution. Worked right away without any installation problems. Is there a way to get tep_href_link working within the admin folder for particular scripts like froogle or other datafeeders? Regards, Stephan
  20. Over here it was the ship2pay Module. If you have this one installed, don't forget to change the shipping to payment assignments
  21. guess whats next.. After i signed the agreement and send it back to moneybookers they had some surprising news for me.. It's called "rolling reserve" and it means that they keep 10% of the last 6 months moneytransfers on moneybookers. Thats funny especially as they told me that they don't need to activate the rolling reserve for my account before i signed the agreement. Stephan
  22. I made the same experience.. No Chargebacks? Well thats not true.. Instead of No Chargeback it is 25EUR Chargeback fees. Well i thought i signed in as Merchant. At least i was paying the merchant fees. They kindly asked to sign the merhcant agreement to raise the moneybookers limits. No word of that this is necessary. Then they locked my account. So no more sending money to my bank account until i signed the agreement. So after all, PayPal is not that bad.. Stephan
  23. Just a hint for users with MS1 based Oscommerce Versions as me :) You need to add the tep_sanitize_string function to /catalog/includes/functions/general.php add right before the SEO URL Validation class function tep_sanitize_string($string) { $string = ereg_replace(' +', ' ', $string); return preg_replace("/[<>]/", '_', $string); } Stephan
  24. Hi Spaceboy, Can you give support for the modul? I have 2 problems. -the tax is not recalculated. So i get the same tax display with and without the payment charge. -charge display in checkout_payment does show the fixed charge only, not the percentage + the fixed charge. Stephan
  25. Well, first of all thanks for your reply lildog. i think part of the problem is to calculate a different discount for every single product. That is what i need cart content: product1/ products_id 873 -> $10 (25% discount $2.50) product2/ products_id 1487 -> $10 (20% discount $2.00) product3/ products_id 2852 -> $10 (15% discount $1.50) sub-total: $30 discounts : -$6.00 total: $24 when i get it right with your code, i would get 25% discount on cart total + 20% on cart total + 15% on cart total. subtotal: $30 discounts: ($7.50 + $6.00 + $4.50) - $18 total: $12
×
×
  • Create New...