After Install is compleated i get this error page.
register_globals is On (warning, you should have this param in Off state, or your site will unsafe)';
$aErrors[] = (ini_get('safe_mode') == 0) ? '' : 'safe_mode is On, disable it';
//$aErrors[] = (ini_get('allow_url_fopen') == 0) ? 'Off (warning,
better keep this parameter in On to able register Dolphin' : '';
$aErrors[] = (version_compare(PHP_VERSION, '5.2.0', '<')) ? 'PHP version too old, please update to PHP 5.2.0 at least' : '';
$aErrors[] = (! extension_loaded( 'mbstring')) ? 'mbstring extension not installed. Warning! Dolphin cannot work without mbstring extension.' : '';
if (version_compare(phpversion(), "5.2", ">") == 1) {
$aErrors[] = (ini_get('allow_url_include') == 0) ? '' : 'allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)';
};
$aErrors = array_diff($aErrors, array('')); //delete empty
if (count($aErrors)) {
$sErrors = implode(" ", $aErrors);
echo << Please go to the Dolphin Troubleshooter and solve the problem.
EOF; exit; }
}
//check correct hostname
$aUrl = parse_url( $site['url'] );
if( isset($_SERVER['HTTP_HOST']) and 0 !=
strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host']) and 0 !=
strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host'] . ':80') )
{ header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}" );
exit;
}
// check if install folder exists
if ( !defined ('BX_SKIP_INSTALL_CHECK') && file_exists(
$dir['root'] . 'install' ) )
{ $ret = <<
Please, remove INSTALL directory from your server and reload this page to activate your community site.
NOTE: Once you remove this page you can safely install modules via Admin Panel.
EOJ;
echo $ret;
exit();
}
// set error reporting level
if (version_compare(phpversion(), "5.3.0", ">=") == 1)
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
else
error_reporting(E_ALL & ~E_NOTICE);
set_magic_quotes_runtime(0);
ini_set('magic_quotes_sybase', 0);
// set default encoding for multibyte functions
mb_internal_encoding('UTF-8');
mb_regex_encoding('UTF-8');
require_once(BX_DIRECTORY_PATH_INC . "security.inc.php");
require_once(BX_DIRECTORY_PATH_ROOT . "flash/modules/global/inc/header.inc.php");
require_once(BX_DIRECTORY_PATH_ROOT . "flash/modules/global/inc/content.inc.php");
require_once(BX_DIRECTORY_PATH_CLASSES . "BxDolService.php");
require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolAlerts.php');
$oZ = new BxDolAlerts('system', 'begin', 0);
$oZ->alert();
?> Warning: require_once(BX_DIRECTORY_PATH_INCdb.inc.php) [ function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\install\index.php on line 454Fatal error: require_once() [ function.require]: Failed opening required 'BX_DIRECTORY_PATH_INCdb.inc.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\install\index.php on line 454
I am using XAMPP on a 2003 server.
any help would be awsome.
|
You should have the register_globals Off in the php.ini file located in the root of your dolphin install.
Chris
Nothing to see here |
Also you need a newer php version. Compile this one with all the needed option you have marked in Red. Kids first |
Doh!!.. Didnt even see that. Thanks Killer! Nothing to see here |
Hy, I get same error page like bradlewis, but my php configuration seems to be correct. Using php version 5.3, mbstring installed, register_globals is Off also allow_url_include is Off in my xampp/php/php.ini file (on Windows XP).
Any suggestions on that?
M
|
Hy, I get same error page like bradlewis, but my php configuration seems to be correct. Using php version 5.3, mbstring installed, register_globals is Off also allow_url_include is Off in my xampp/php/php.ini file (on Windows XP).
Any suggestions on that?
M
back your php build down to 5.2.9 on xamp.
because xamp is built with 5.3, and 5.3 does not have xslt
read the red text areas of bradlewis's build and make sure you compile php with the things that are in red.
[EDIT] what its also not telling you is that you need to compile with mysqli
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
It does not look like anyone has noticed that the php option for short_open_tags needs to be turned on.
https://www.deanbassett.com |
Wait, so I cannot use PHP 5.3? I have too many other applications running right now configured to work with 5.3 to "downgrade." Is there not a workaround for this? |
Odd, I'm not having any issues whatsoever on a personal setup of XAMPP on my Linux workstation with PHP 5.3.X (like I'd remember the string version). BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
It does not look like anyone has noticed that the php option for short_open_tags needs to be turned on.
Hy,
that was it. Made a clean install with short_open_tags set to ON in php.ini and now it works. Will have other tests to see if all features work.
Best regards, M
|
It does not look like anyone has noticed that the php option for short_open_tags needs to be turned on.
Thank you! I totally missed that the 1st time I came through. Set the option to on and everything works great!
|