|
|
What steps will reproduce the problem?
1. Install plugin in shared hosting environment, WordPress 2.7, try to get
to plugin pages.
What is the expected output? What do you see instead?
When creating submenu pages (are-paypal.php:233) referencing __FILE__ does
not work--it makes links to files that don't exist because the web site
tries to access a filesystem path instead of a publicly-viewable URL (ie
/home/crbcom/public_html/wp-content/plugins/are-paypal.php instead of
/wp-content/plugins/are-paypal.php).
What version of the product are you using? On what operating system?
Product version 1.5.3
Fedora release 7 (Moonshine)
Linux ip-208-109-199-213.ip.secureserver.net 2.6.9-023stab043.1-smp #1 SMP
Mon Mar 5 16:35:19 MSK 2007 i686 i686 i386 GNU/Linux
Please provide any additional information below.
Problem resolved by replacing __FILE__ with $_SERVER['PHP_SELF']
|