Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password?

Search the Forum

Tips and Tricks HQ Forum » WP Affiliate Platform » WP Affiliate F.A.Q/Instructions

WP Affiliate Platform PHP4 Workaround

(3 posts) (2 voices)
  • Started 1 year ago by amin007
  • Latest reply from rocketkraft
  • Related Topics:
    1. WP eStore PHP4 Workaround
    2. Can I use the WP Affiliate Platform Plugin on a Standalone HTML page?
    3. Notices from wp-affiliate-platform
    4. Affiliate Platform with pre-sale process
    5. Changing h3 tags in WP Affiliate Platform

Tags:

  • PHP4 Workaround
  1. amin007
    Key Master

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

    http://www.tipsandtricks-hq.com/forum/topic/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 WP Affiliate 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-affiliate-platform/wp_affiliate_platform_menu.php on line xxx

    1: Open the "wp_affiliate_platform_menu.php" file from the "wp-affiliate-platform" directory and search for the following:

    ENT_COMPAT, "UTF-8"

    Once you find it replace it with the following (there should be two occurences):

    ENT_COMPAT

    2: Open the "index.php" file from the "affiliates" directory (this directory is inside the "wp-affiliate-platform" directory) and search for the following:

    ENT_COMPAT, "UTF-8"

    Once you find it replace it with the following:

    ENT_COMPAT

    Save and upload these files and that should do the trick.

    Posted 1 year ago #
  2. amin007
    Key Master

    If you get the following warning:

    Warning: uniqid() expects at least 1 parameter, 0 given in /home/datin29/public_html/wp-content/plugins/wp-affiliate-platform/wp_affiliate_platform_menu.php on line xxx

    Then change "uniqid();" from the "wp_affiliate_platform_menu.php" file to the following:

    uniqid('', true);

    Posted 1 year ago #
  3. rocketkraft
    Member

    I get the same error and can't find ENT_COMPAT, "UTF-8"

    anywhere in the "wp_affiliate_platform_menu.php" file plus that php file is showing as being inactive??? Any hints?
    Thanks
    Scott

    IGNORE- found it, and that fixed it ;-) My eyes are going buggy, sorry.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ Forum is proudly powered by bbPress

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin