My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 24: File not found when trying to get to plugin pages
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by eslindsey, Dec 16, 2008
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']
Comment 1 by aurimas.norkevicius, Jan 29, 2009
I have teste it on shared server environment and everything is ok without any
changes. Could you send me file with your changes in it so I could compare to mine ...
Sign in to add a comment

Hosted by Google Code