Jump to content
Latest News: (loading..)

FWR Media

♥Ambassador
  • Content count

    6,718
  • Joined

  • Last visited

  • Days Won

    46

Everything posted by FWR Media

  1. FWR Media

    KissIT Image Thumnailer

    @@newburns I can't see an example. But .. KissIT does what you tell it to do .. you put in a width and height into tep_image and that is the size it will create.
  2. FWR Media

    Sage Pay Direct Module Error

    Tbh you are obviously offering commercial services .. and to be blunt .. they should be using me ( or other capables ) not you. Sorry and all that.
  3. FWR Media

    Ultimate Seo Urls 5 Pro

    We need to find why the standard osC wrapper doesn't return . .so let's try the osC original validator 132 $new_url = htmlspecialchars_decode( tep_href_link( Usu_Main::i()->getVar( 'filename' ), Usu_Main::i()->getVar( 'request_querystring' ) ) ); Add BELOW ( log $return ) $return = $new_url . '<br />' . Usu_Main::i()->hrefLink( Usu_Main::i()->getVar( 'filename' ), Usu_Main::i()->getVar( 'request_querystring' ) );
  4. FWR Media

    Ultimate Seo Urls 5 Pro

    Ok another test. 1) Turn of gzip compression, if on. 2) at the top of method validate() put: - // TEMPORARY TEST $old_reporting_level = error_reporting(); error_reporting( E_ALL | E_STRICT ); ob_start(); Immediately above the following: - if ( false !== Usu_Main::i()->getVar( 'page_not_found' ) ) { Add // TEMPORARY TEST $any_output = ob_get_contents(); ob_end_clean(); error_reporting( $old_reporting_level ); Log the contents of $any_output ( using a failure access type ).
  5. FWR Media

    Ultimate Seo Urls 5 Pro

    The confusing thing here is that tep_href_link() is a standard osCommerce wrapper We know products_info.php is in place and we know that products_id=1 is in place. Therefore the following MUST produce a link ( certainly not return null ) tep_href_link( 'product_info.php', 'products_id=1' )
  6. FWR Media

    Ultimate Seo Urls 5 Pro

    Could you send me by email your includes/configure.php please. ( no need to edit I'm safe :) ) admin at [my forum name no spaces] dot co dot uk Have you got live HTTP headers extension installed in firefox? the two instances must be a 301 redirect.
  7. FWR Media

    Ultimate Seo Urls 5 Pro

    Validator.php line 132 $new_url = htmlspecialchars_decode( tep_href_link( Usu_Main::i()->getVar( 'filename' ), Usu_Main::i()->getVar( 'request_querystring' ) ) ); Add above it some code to output to log three things: - 1) Usu_Main::i()->getVar( 'filename' ); 2) Usu_Main::i()->getVar( 'request_querystring' ); 3) tep_href_link( Usu_Main::i()->getVar( 'filename' ), Usu_Main::i()->getVar( 'request_querystring' ) )
  8. FWR Media

    v2.4 Cleanup and Minimum PHP Requirement

    I think 5.3 is the only sensible conclusion that you could come to .. it is stable .. it's not bleeding edge in any way .. it's readily available on all hosts and .. let's face it anything less would be offering insecurity due to lack of support for the PHP version ( 5.2 unsorported since August 2011 ). It's also fitting I think for the final version to, at last, lose support for ancient versions, backwards compatibility in PHP used to be good thing of course .. not now.
  9. FWR Media

    Ultimate Seo Urls 5 Pro

    @@walmslei Okay now on one of those "external sources" point it at pleatco-pma30-2002-p-32.html and print to log the contents of $_SERVER pls. ( just put [REPLACED] where you comment out any sensitive data ).
  10. FWR Media

    Ultimate Seo Urls 5 Pro

    @@walmslei In both cases you have shown only the original request .. I'd like to see Usu_Main::i()->getVar( 'request_compare_new' ) as a comparison.
  11. FWR Media

    KissIT Image Thumnailer

    @@vampirehunter Javascript off has no effect as KissIT makes no use of javascript. ( not that it matters as no shoppers who actually expect to buy anything will have javascript off ). There are no known issues currently ( although I will be looking at transparencies in the future ). Other than those already mentioned in this support thread: - See: http://forums.oscommerce.com/topic/388022-kissit-image-thumnailer/page__view__findpost__p__1646044
  12. FWR Media

    Ultimate Seo Urls 5 Pro

    @@walmslei Strange problem. Please try removing all .htaccess rules except for those of USU5 temporarily and re test. The only time USU5 issues a 404 header is when no link text was found for the url in the page module which then sets the variable page_not_found to true, this subsequently triggers the header to be generated in Usu_Validator.
  13. FWR Media

    Ultimate Seo Urls 5 Pro

    You would need to modify the files in: - catalog/includes/modules/ultimate_seo_urls5/page_modules/ you would also need to modify the RewriteRules in .htaccess.
  14. FWR Media

    KissIT Image Thumnailer

    Yup http://addons.oscommerce.com/info/8495 Read please note: at the bottom. Example: - tep_image(DIR_WS_IMAGES . $image, $products['products_name'], PRODUCT_IMAGE_WIDTH, '') Obviously bad code as it doesn't supply the tep_href_link() wrapper with a height.
  15. FWR Media

    Desperate for help - Checkout Problems

    @@JeffroDH Whoever did the customisation caused this .. get them back to fix it .. free of charge of course. To my mind this is just the world gone mad! Human beings prefer a little info at a time .. that is the proven formula and probably why osCommerce is designed as it is. One page checkout is a large page full of info to fill out .. history made us change to small snippets and one page checkout just beggars the lessons of history. Ajax snippets on a single page are fine, but this doesn't change the fact that it is "in fact" several pages as before but loads quicker.
  16. FWR Media

    STS Makes Website Performance Slow

    After further examination that page needs a lot of skilled help to load at a decent speed. Your site loading makes a ridiculous 112 requests 2MB! Browsers generally can only handle 6 requests at a time, which is why it is recommened to use CDN. If you use a CDN then this may go up to 12 .. several CDN even more. Then there's the loading of images after the DOM has loaded, there would be loads of "loading" images but at least the page would show up. When the 6 requests are used up currently everything else is blocked from loading temporarily. Compression doesn't seem to be working correctly ( chunked transfer-encoding maybe? ) The images are not scaled ( huge problem with so many ) Combine and compress CSS/JS Minify HTML. So on and so forth ...
  17. FWR Media

    STS Makes Website Performance Slow

    Try commenting out the code that calls: - seals.websiteprotection.com .. seems to have a problem. Generally it's a bad idea to load stuff offsite as if they go down you go down ( dependent on how it is loaded ). If you have to it's best to load these things after the page has loaded.
  18. FWR Media

    STS Makes Website Performance Slow

    @@djdeuce For a start add the debugger script in my sig KissER that will help you narrow this down.
  19. FWR Media

    STS Makes Website Performance Slow

    In my eperience STS creates a 100% slowdown ( twice as slow ). I wouldn't touch it with a barge pole.
  20. FWR Media

    KissIT Image Thumnailer

    @@ce7 Well my correction wasn't quite right but unless you have set quality in html_output.php to 100 then it isn't the problem. I'll give a better solution anyway: - Find ( line 144 ) $quality = is_null ( $quality ) ? 0 : $quality; Change to:- $quality = !is_numeric ( $quality ) ? 7 : floor ( $quality / 10 ); if ( $quality < 0 ) { $quality = 0; } elseif ( $quality > 9 ) { $quality = 9; } Now as to your problem, please empty the thumbs directory so it can rebuild the thumbs.
  21. @@newburns Not sure what you mean .. the majority of PHP development I do is commercial. The one's in my sig are the one's to use, older stuff is not of the same quality.
  22. @@PHPGenie If you are going to post here about it, and link to it .. it should be uploaded here as a contribution [the rules].
  23. FWR Media

    ULTIMATE Seo Urls 5 - by FWR Media

    @@marcot I see that you are in at the code level Marco :)
  24. FWR Media

    Case for a filtered directory iterator

    Point taken :blink:
  25. Concept: Ability to iterate directories using complex allow / filter. Comment: Iterating directories is not very "sexy" in the great scheme of things but I needed this myself for other projects so thought I'd put it forward. Types: Return directories or files Allow filter types: allow - Returns all files exactly matching the filter ( e.g. file account_edit.php or directory admin ) allow_extn - Returns all files that have the extensions in the filters array ( e.g. array( '.png', '.gif' ) allow_pcre - Returns all files matching the filters array of patterns e.g. array( '^checkout([a-z0-9_]+)\.php$' ) ) Filter filter types: filter - Returns all files which do not exactly match the filter. filter_extn - Returns all files except those that have their extensions in the filters array. filter_pcre - Returns all files which do not match the filters array of patterns Public Interface API & examples of real tests: www ( dot ) fwrdev ( dot ) co ( dot ) uk/cases/case_filtered_directory_iterator.html
×