• Resolved settoloki

    (@settoloki)


    I found an issue on installation when using “add new affiliate” and other internal links.

    It turns out that the server could not pull $_SERVER[‘HTTP_HOST’] because of the server configuration.

    I updated the plugin and added the following:
    under /affiliates/affiliates.php on the last empty line of the file
    if(!$_SERVER['HTTP_HOST']) $_SERVER['HTTP_HOST'] = $_SERVER['SERVER_NAME'];

    This is a very sloppy ix, though works for me.

    https://wordpress.org/plugins/affiliates/

Viewing 1 replies (of 1 total)
  • Plugin Author itthinx

    (@itthinx)

    Hi,

    Thanks for posting your solution to this, could you please let me know which server configuration you have? I’d be interested to include it if necessary …

Viewing 1 replies (of 1 total)
  • The topic ‘Page Not Found’ is closed to new replies.