Wednesday, May 4, 2011

Solutions for Dolphin "allow_url_include is On"

Pros:
Hosting provider: http://www.hostmonster.com
php version :5.2.9



When install, pop up the error / warning message,
"allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe) "
Please go to the 
Dolphin Troubleshooter 
and solve the problem.



earlier trials:
I browsed the web and i got someinfo saying as check the php.ini and make "allow_url_include == Off" and I did that. but still I had the same problem, Even I have check the .htaccess file which is in domain root folder, but still no success.

So I edited the install/index.php file and I made "'allow_url_include' == 1" instead of "'allow_url_include' == 0". 
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if (version_compare(phpversion(), "5.2", ">") == 1) {
$aErrors[] = (ini_get('allow_url_include') == 1) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';
}; 
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
and It showed the same Error

"allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe) "
Please go to the 
Dolphin Troubleshooter 
and solve the problem



Final Solution:
Stop this error by editing the file inc/header.inc.php
with commenting the following commands:

if (version_compare(phpversion(), "5.2", ">") == 1) {
$aErrors[] = (ini_get('allow_url_include') == 1) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';
};

No comments:

Post a Comment