Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


sapguy last won the day on July 17 2017

sapguy had the most liked content!

Profile Information

Recent Profile Visitors

8,571 profile views
  1. sapguy

    CSS forced reload

    <?php $randomnumber = rand(1, 99999); echo '<link rel="stylesheet" type="text/css" href="stylesheet.css?v='.$randomnumber.'">'; ?> This will do it
  2. sapguy

    Apache2 MPM modules

    The basis of my question is a steadily upgraded 2.2rca (Ubuntu 20.04, PHP 7.2, Apache 2.4.x) currently running using the default prefork MPM (Multi-Process-Module) module. MPM is what allows us to have more than one concurrent user at a time. The prefork MPM module uses one thread for each and every process and is considered "thread safe". This takes a lot of memory as one thread consumes quite a bit of RAM, in the 3-4MB range for each thread. The worker MPM module allows multiple child processes within one thread, this will allow for a great number of additional concurrent users compared to prefork in terms of RAM consumption. Event MPM, similar to worker, I'll just leave it at that. So I just started doing my research going from prefork --> worker and I through I'd check in here if anyone has any thoughts or experience around this. I realize each installation/configuration is different, of course. What it comes down to, from what I understand is whether or not OSC is thread safe or won't break in threading. Anyone know how to even proceed to test for this? Thanks in advance!
  3. sapguy

    New Payflow requirement: TLS 1.2 & HTTP/1.1

    Looks like it is pushed out again. https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1914 "UPDATEWhile we are allowing for these security updates to be made after June 30, 2017, we continue to recommend that you prioritize the changes and updated protocols specified by the PCI Council so you are best positioned to protect your customers from security and fraud-related issues." https://blog.pcisecuritystandards.org/migrating-from-ssl-and-early-tls "The Payment Card Industry Security Standards Council (PCI SSC) is extending the migration completion date to 30 June 2018 for transitioning from SSL and TLS 1.0 to a secure version of TLS (currently v1.1 or higher)."
  4. sapguy

    Header Tags SEO

    Thanks for a great contribution! I've tried to search the forum prior to posting this question. Is there a way to add the page number to the title tag for product listings where there are more than one page worth of products? I'm trying to avoid duplicate title tags. Currently, the title tags are all "Manufacturer XYZ" for the following URLs for product listing (for a selected manufacturer): /manufacturer_xyz.html?page=1 /manufacturer_xyz.html?page=2 /manufacturer_xyz.html?page=3 I'm on v3.1.7. Thanks!
  5. sapguy

    fast easy checkout

    I'm also having problems with FEC and Discount Coupons. They seem incompatible out of the box and I'm trying to reinstate the functionality of my coupons. I see that checkout_payment.php is bypassed in the filenames.php file (I think after FEC mod). I've moved the contents for the discount contribution to the checkout_shipping file to make the input portion execute. It does "pick up", but nothing else executes or recomputes the total value of the order. I seem to be getting 'coupon_code' registered through the input box but in the checkout_confirmation.php file all the three following checks fail: if (isset($_POST['coupon_code']) && !empty($_POST['coupon_code']) && (!tep_session_is_registered('coupon_code')) ) { If anyone made this stuff work together, please throw a hint in this direction :)