cancel
Showing results for 
Search instead for 
Did you mean: 

allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)

mArgaret1967
Member

allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)

 

Please turn this off for my site gamersparadise.org.uk or i will be unable to install my forum script. thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

mArgaret1967
Member
Problem solved by editing install.php file.

View solution in original post

6 REPLIES 6

dave
Guru
Which forum is it that you are trying to install? If it is phpBB then you can safely ignore this warning as it will work correctly.

mArgaret1967
Member
thanks but its boonex dolphin 7 beta 2 cms with forum and i cant get by it.

dave
Guru
You will need to request this through the proper support channels, but I suspect the answer will be NO due to it being shared hosting and any changes that are made to the php configuration will affect all customers.

mArgaret1967
Member
Problem solved by editing install.php file.

lapheng
Member

Hi,

Can you please share what you edited in install.php to make it work?

allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)

I would very much appreciate your help.

Thanks in advance.

Shurtugal
Member

I know this is a huge bump but this can be used for future reference

 

you find this line its not to far down from the start of the file.

 

if (version_compare(phpversion(), "5.2", ">") == 1) {
        $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>';

 

change it to this

 

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>';