Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP eStore PHP4 Workaround

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore PHP4 Workaround

Tagged: PHP4 Workaround

  • This topic has 0 replies, 1 voice, and was last updated 14 years, 11 months ago by amin007.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • June 2, 2010 at 1:21 am #1294
    amin007
    Participant

    If your server is using a very old version of PHP then visit the following link first:

    What to do when my server is using a very old version of PHP?

    If for some mysterious reason your hosting provider resist upgrading PHP on your server then do the following tweaks to the eStore plugin to make it work on your server.

    This tweak will also address the following error that you may get on a PHP4 server:

    Warning: cannot yet handle MBCS in html_entity_decode()! in
    /example/some-folder/some-folder/wp-content/plugins/wp-cart-for-digital-products/eStore_misc_functions.php on line xxx

    Step 1. Open the “eStore_misc_function.php” file and search for the following text:

    html_entity_decode($ret_product->description, ENT_COMPAT,"UTF-8");

    Once you find it replace it with the following:

    html_entity_decode($ret_product->description, ENT_COMPAT);

    Step 2. Open the “eStore_product_management.php” file and search for the following text:

    htmlentities(stripslashes($_POST['productdesc']) , ENT_COMPAT, "UTF-8");

    Once you find it replace it with the following:

    htmlentities(stripslashes($_POST['productdesc']) , ENT_COMPAT);

    Make sure to search and replace it for all occurrences in the file.

  • Author
    Posts
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ