I keep getting this email from cron:
<font color="red">allow_url_include is On (warning, you should
have this param in Off state, or your site will unsafe)</font>
<br /> Please go to the <br /> <a href="http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter">Dolphin Troubleshooter</a> <br /> and solve the problem.
|
If you have a php.ini file in the root of your Dolphin, add this to it:
allow_url_include=Off
If you are on a shared host, you may have to ask them to turn it off for you.
Nothing to see here |
this is what i have found in the php file:
;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; ;;;;;;;;;;;;;;;;;;
; Whether to allow the treatment of URLs (like http:// or ftp://) as files. allow_url_fopen = Off allow_url_include = Off
around line 493
|
line 493? Wow, thats a big php.ini file. Nothing to see here |
i will be glad to let you see it. I am a noob at this, it could explain a lot of errors. |
|
in the root of your dolphin, there should be a .htaccess file, you can try putting this in there if it doesn't already exist
<IfModule mod_php4.c> php_flag register_globals Off </IfModule> <IfModule mod_php5.c> php_flag allow_url_include Off php_flag register_globals Off allow_url_include Off </IfModule>
Nothing to see here |
no luck there. it is set up correctly in the php.ini file. |
I have this same problem and so do a couple others iv noticed, with this error im guessing you cant upload videos ether. |
|
Oops that solution is no good i posted its actully.
you open inc/header.inc.php and comment mentioned line
change:
$aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';
to:
// $aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>'; |
.htaccess php settings do not work for php binary, try to set all settings using php.ini file.
Also sometimes php binary is not using the same php.ini file as php which open your web pages.
To force php binary to use particular php.ini file use the following cron job:
* * * * * cd /your-path-to-dolphin/periodic; /your-path-to-php-binary/php -q -c /your-path-to-php-ini-file/php.ini cron.php
Do not forget to change these with your real values:
your-path-to-dolphin
your-path-to-php-binary
your-path-to-php-ini-file
Rules → http://www.boonex.com/terms |
did you my fix work for you? |
Commenting out the line by adding // is not a "solution". We need to determine why this is still happening. Videojme, if you are still getting this error, please let us know.
Chris
Nothing to see here |