allow_url_include is On (error message)

Hey everyone,

 

I have been trying to install Dolphin (ver 6.1.6) and have been getting this error 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.

 

I am unable to find any info in the 'Dolphin Troubleshooter' and I have been trying numerous suggestions made on another thread, but nothing seems to work. I have made the php.ini file and placed it it the root directory, the Install directory and main directories and I still get the same message.

 

The website is http://www.clubwildside.com My hosting company is HostMonster.com; using Linux Operating Stystem (L.A.M.P) and MySQL Database...

 

 

My Server Stats: Apache version 2.2.13 (Unix)

PHP version 5.2.9

MySQL version 5.0.81-community-log

Architecture x86_64 Operating system Linux

Path to PERL /usr/bin/perl

Kernel version 2.6.28-10.7.intel .E1000E.BHsmp

 

 

The .htaccess file has the following values:

 

php_flag register_globals Off

php_flag allow_url_include Off

php_flag register_globals Off

 

 

The Following is from the error log file:

[03-Sep-2009 16:23:11] PHP Warning: require_once(inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/timfishe/public_html/clubwildside/profile.php on line 21 [03-Sep-2009 16:23:11] PHP Fatal error: require_once() [function.require]: Failed opening required 'inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/timfishe/public_html/clubwildside/profile.php on line 21

 

 

Just for the record I did learn that the file from the Error Log; 'header.inc.php' in the 'inc' directory isn't available until the program is actually installed...

 

Any help/ideas to fix the issue will be greatly appreciated...

 

 

Thanks, Ken

Quote · 3 Sep 2009

Hey all,

 

Actually I figured it out...

 

I made a backup of the .htaccess file:

 

Original .htaccess file:

Options -MultiViews

<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
  </IfModule>

Modified .htaccess file (added: allow_url_include Off) to lower line:

 

Options -MultiViews

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

Now the INSTALL appears to be working...

 

Ken

Quote · 4 Sep 2009

hello, I got this same error.  I'm try to install dolphine 7b8 on my host account and get this error.   however I just change this line in the install/index.php page than I can see the dolphin install page.

 

original line:

$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 to:

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

 

so, I want to know I'm change 0 to 1 it's good or bad?

 

thanks.

Quote · 29 Oct 2009

never mind, I figure out why this error was show up every time I go to Install, Admin Cpanel, and index page....etc...

 

because my main php.ini was enable allow_url_include  is on by default.  so I have to create another php.ini to my dophin site to make it work.

 

thank you.

 

Boonex alway Good and nice work.

 

Quote · 30 Oct 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.