allow_url_include

Hi Everyone!

Can you please tell me what is the page the say this

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.

The reason im asking for this sometime my hosting is updating and when i go to my site i get that message so i don't want my member or visitor to see that page I want my members or visitor to see the underconstruction site page so they know the site is updating

Thank's a lot

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 28 Jun 2010

I believe it's the header.inc.php file under the ./inc/ directory.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 28 Jun 2010

I got it bro so how I can make to read my underconstruction  page

Thank's

I believe it's the header.inc.php file under the ./inc/ directory.

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 28 Jun 2010

I got it bro so how I can make to read my underconstruction  page

Thank's

I believe it's the header.inc.php file under the ./inc/ directory.

Just set a redirect in the .htaccess file to the under construction page (or edit the header.inc.php file and set the domain information to point to the under construction page (he he)).

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 28 Jun 2010

Yea but where I add the page so will be redirect to the o nthe construction page

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

$aErrors = array_diff($aErrors, array('')); //delete empty
if (count($aErrors)) {
$sErrors = implode(" <br /> ", $aErrors);
echo <<<EOF
{$sErrors} <br />
Please go to the <br />
<a href="http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter">Dolphin Troubleshooter</a> <br />
and solve the problem.
EOF;
exit;
}
}

I got it bro so how I can make to read my underconstruction  page

Thank's

I believe it's the header.inc.php file under the ./inc/ directory.

Just set a redirect in the .htaccess file to the under construction page (or edit the header.inc.php file and set the domain information to point to the under construction page (he he)).

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 28 Jun 2010

Yea but where I add the page so will be redirect to the o nthe construction page

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

$aErrors = array_diff($aErrors, array('')); //delete empty
if (count($aErrors)) {
$sErrors = implode(" <br /> ", $aErrors);
echo <<<EOF
{$sErrors} <br />
Please go to the <br />
<a href="http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter">Dolphin Troubleshooter</a> <br />
and solve the problem.
EOF;
exit;
}
}

I got it bro so how I can make to read my underconstruction  page

Thank's

I believe it's the header.inc.php file under the ./inc/ directory.

Just set a redirect in the .htaccess file to the under construction page (or edit the header.inc.php file and set the domain information to point to the under construction page (he he)).

Just create the under construction page (simple HTML is all that's needed) and make a redirect in the .htaccess file at the top, or make that little edit to the header.inc.php file I mentioned (which may or may not work). I'm not sure what'd you need to do to have the script display something in lue of that message besides editing it directly.

Edit: Ah, yes, you want it to display in the event this happens, not because of any maintenance work happening right now. I'm not sure what code you'd need to add, but you can just change that text at the top to something like "we are under maintenance, etc." and replace the link with "we will be back shortly."

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 28 Jun 2010
 
 
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.