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

Warning: include error message

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Warning: include error message

  • This topic has 13 replies, 4 voices, and was last updated 13 years, 8 months ago by wzp.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • November 4, 2010 at 5:19 am #2122
    van
    Member

    Warning: include_once() [function.include]: Failed opening ‘/affiliates/lang/eng.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/mysite/public_html/wp-content/plugins/wp-affiliate-platform/wp_affiliate_platform1.php on line 36

    I moved the contents of the affiliates folder to a new /affiliates folder in the root. Then I adjusted the misc_func.php to reflect ../wp-lead.php

    I double checked and the mysite.com/affiliates/lang/eng.php is definitely there.

    Any idea?

    November 4, 2010 at 12:57 pm #26071
    wzp
    Moderator

    Instead of the “server’s roor-root” directory, how about trying the “/home/mysite/public_html document root” directory? In other words, it looks like you are trying to access a file that is located outside the web server’s document directory tree.

    August 17, 2011 at 11:45 pm #26072
    sazz3000
    Member

    Hello WZP, I’m having the same problem, please can you explain: /home/mysite/public_html document root” directory? so i can fix the problem myself? Thanks

    August 18, 2011 at 12:52 am #26073
    wzp
    Moderator

    There are 2 “root” directories… the server’s SYSTEM root, and the server’s DOCUMENT root. You don’t want to use the SYSTEM “/” root directory, you want the DOCUMENT directory; the one in which wp-content and wp-admin live.

    August 18, 2011 at 2:41 am #26074
    sazz3000
    Member

    i moved the affiliate to /home/mysite/public_html/adv/ however I’m getting this error below:

    Warning: include_once(affiliates/lang/eng.php) [function.include-once]: failed to open stream: No such file or directory in /home/mysite/public_html/adv/wp-content/plugins/wp-affiliate-platform/wp_affiliate_platform1.php on line 28

    please help

    Thanks

    August 18, 2011 at 11:17 pm #26075
    admin
    Keymaster

    Why are you moving the affiliates folder?

    August 18, 2011 at 11:41 pm #26076
    sazz3000
    Member

    because i want to change the link to something very simple like http://www.mysite.com/adv/affiliates my word press is in tall in folder called adv i also change ../../../../wp-load.php to ../wp-load.php in the misc_func.php and I’m getting the error:

    Warning: include_once(affiliates/lang/eng.php) [function.include-once]: failed to open stream: No such file or directory in /home/mysite/public_html/adv/wp-content/plugins/wp-affiliate-platform/wp_affiliate_platform1.php on line 28

    Thanks

    August 20, 2011 at 9:09 am #26077
    sazz3000
    Member

    any help please?

    August 20, 2011 at 11:41 am #26078
    wzp
    Moderator

    Is this what you are looking for?

    http://www.tipsandtricks-hq.com/wordpress-affiliate/how-to-changecustomize-the-url-of-the-affiliate-view-42

    August 20, 2011 at 8:34 pm #26079
    sazz3000
    Member

    Yes that was what I did and getting the error:

    Warning: include_once(affiliates/lang/eng.php) [function.include-once]: failed to open stream: No such file or directory in /home/mysite/public_html/adv/wp-content/plugins/wp-affiliate-platform/wp_affiliate_platform1.php on line 28

    Im Still getting the error

    August 20, 2011 at 10:01 pm #26080
    wzp
    Moderator

    You did a “copy” and not a “move?”

    August 20, 2011 at 10:39 pm #26081
    admin
    Keymaster

    Please use option 2 from this documentation, it will be easier for you (the method you followed requires advanced URL structure knowledge… there is a warning on that page about this):

    http://www.tipsandtricks-hq.com/wordpress-affiliate/setting-up-the-affiliate-viewarea-315

    August 25, 2011 at 8:20 am #26082
    sazz3000
    Member

    hello any help?

    August 25, 2011 at 12:26 pm #26083
    wzp
    Moderator

    Did you understand the last 2 pieces of advice we gave you? In the case of the directory, you were asked if you COPIED, instead of MOVED the directory, per the referenced instructions. In the second (easier) alternative, it was recommended that you simply use the affiliate view short code, instead of trying to alter the URL.

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 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