Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by papalevies

  1. papalevies

    ULTIMATE Seo Urls 5 - by FWR Media

    To answer my own question the problem was not due to USURL5 but it was caused from a few UTF8 files WITH BOM that caused IE to throw the errors. I fixed it by ssh-ing to my webhost and running: find . -type f -exec sed '1s/^\xEF\xBB\xBF//' -i.bak {} \; -exec rm {}.bak \;
  2. papalevies

    ULTIMATE Seo Urls 5 - by FWR Media

    I use USURL5 from FWR, and if I enable it when i visit a category with Internet explorer all the styles and images are gone. The site works fine on all other browsers I have tested but IE11 throws errors about DOCTYPE missing, duplicate body tags and other ridiculous things. I also noticed that the images in IE get the src mystore.com/index.php/images/image.jpg instead of mystore.com/images/image.jpg. I am also having trouble logging in to the admin panel from IE, but that may be another issue.
  3. I just noticed that jquery is linked twice in mobile/includes/header.php, once on it's own and once in header_tags. As a result fancybox doesn't work. I reorganized by replacing the first link of jquery with echo $oscTemplate->getBlocks('header_tags'); basically I moved the code at the top because there are dependencies on jquery in the code that follows and now it's working. I only noticed because I was upgrading the jquery version on the site. I also noticed that the images don't resize and overflow their containers. That's easily fixable by adding another class for product images and using css: max-width: 100%; height: auto;
  4. papalevies

    [Addon} Theme Switcher

    Did anyone fix the line 186 error?
  5. I also noticed you use $HTTP_GET_VARS which is depricated. Please replace them with $_GET and sanitize them (and pretty much all variables starting with "$HTTP_"). Then again, all of osCommerce needs to do that.
  6. $request_type is also undefined in the function execute() in ht_canonical.php. Adding it to globals fixes it
  7. Oops... actually it isn't defined at all. MOBILE_SESSION is undefined too
  8. 1.In "mobile/includes/classes/mobile_redirect.php" line 60 is: if(strpos('/' . $_SERVER['SCRIPT_NAME'],$this->mobileDir . $this->mobileFile) > 0) There is no mobileFile variable in class mobileRedirect 2.In "includes/modules/header_tags/ht_alternate.php" line 48 is: if (isset($mobile_url) && file_exists(DIR_FS_MOBILE . basename($PHP_SELF))) { However $PHP_SELF is only defined in the function StripSessionID() but not in execute(). As a result, the variable is undefined
  9. papalevies

    Product listing

    I installed this contribution, and at first I noticed that it worked for my transparency gif but not for my jpeg images. I found that the reason is it needs both IMAGE_WIDTH and IMAGE_HEIGHT parameters in the database, while I had only set IMAGE_WIDTH. One suggestion, since I'll have to edit the source code before I can use it: Don't fill the rest of the image with a background (I know you can't have transparency with jpg), since the image may be used on different colored backgrounds. Pick the dimension that has the largest proportional difference and use that to scale the image proportionaly.
  10. This contribution (or some other kind of error handling) should ship with the standard version of oscommerce. Thank you FWR Media, it is extremely helpful
  11. Version 7 is looking so improved, great work. Has anyone figured out how to make it work with SEO URL 5 pro?
  12. I think I found a bug in v6 rev7: In mobile/login.php line 98: from echo '<span style="float:left;">' . tep_draw_button(IMAGE_BUTTON_FORGOT_PASS, 'mail-closed', tep_mobile_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL'), '') . '</span>' . '<span style="float:right;">' . tep_draw_button(IMAGE_BUTTON_LOGIN, 'key', null, '', 'SSL') . '</span></form>'; it should be echo '<span style="float:left;">' . tep_draw_button(IMAGE_BUTTON_FORGOT_PASS, 'mail-closed', tep_mobile_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL'), ''). '</span>' . '<span style="float:right;">' . tep_draw_button(IMAGE_BUTTON_LOGIN, 'key', null, ''). '</span></form>'; otherwise is throws an illegal string offset 'type' error
  13. Hello, I recently downloaded the latest paypal module and installed it but I have a problem with the paypal checkout: when a customer makes an order that includes multiples of one item, the module charges for only one unit of this item. For example lets say that a customer orders 2 x "item 1" which costs $1 each, so the order total is $2. The order appears correctly in the administrator panel and the total amount is calculated correctly. However when the payment is made using paypal standard the Transaction Details in my paypal profile show: 1 Qty of Item "2 item 1" and the total amount charged is $1 instead of two. Obviously the quantity variable is passed to paypal at the start of the product's name instead of the correct field. Can someone tell me how to fix this?
  14. papalevies

    Customer Loyalty Discount Scheme

    I think the problem is this module only displays the discount the customer receives, it doesn't actually change it, that's why by paying directly (via PayPal) charges the full amount. If I knew where exactly the order total is calculated, maybe I could change it. I have looked extensively but the code is just to big and complicated to go looking blindly for such a small thing.