Quote from: banzai at Apr 21, 2014, 11:37 PMcheck/delete the .htaccess file in manager folder
Thank you for quick reply. I tried to delete .htaccess but I still get 500 internal error when I try to access "www.mysite.com/manager" on GoDaddy.
found the problem
I found the problem in "manager/includes/accesscontrol.inc.php". It is the is_file function around line#137.
Here is the code:
elseif(is_file(MODX_BASE_PATH . $target)) {
$target = MODX_BASE_PATH . $target;
$login_tpl = file_get_contents($target);
}
-> MODX_BASE_PATH = G:/PleskVhosts/mysite.com/httpdocs/
-> $target = G:/PleskVhosts/mysite.com/httpdocs/manager/media/style/common/login.tpl
-> MODX_BASE_PATH . $target = G:/PleskVhosts/mysite.com/httpdocs/G:/PleskVhosts/mysite.com/httpdocs/manager/media/style/common/login.tpl
So you can see this function -> "is_file(MODX_BASE_PATH . $target)" will throw an error.
GoDaddy has php5.4 and it throws 500 internal error when executes is_file function above.
My host (not GoDaddy) has php5.3.3 and it won't throw 500 internal error. It executes next sentence.
So I am wondering, can I set PHP error level in GoDaddy? Maybe error_reporting might help but I don't know how to set and what value to be set.
Still need some help
Apple
[ed. note: apple_freelancer last edited this post 10 years ago.]