I'm pretty good with linux/php and other stuff. I've checked the openshort and everything in the requirements about the php.ini and they are all like they should be ... one thing open short shows up as
- short_open_tag = On
it didnt work that way or
short_open_tag = On
that way.
anyway what i get at the /url/index.php is
not installed.
\n";
if ( file_exists( "install/index.php" ) ) {
echo "Please, wait. Redirecting you to installation form...
\n";
echo "
location.href = 'install/index.php';
\n";
}
exit;
}
require_once( 'inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'admin.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'db.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'prof.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'members.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'news.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'membership_levels.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'tags.inc.php' );
require_once( BX_DIRECTORY_PATH_ROOT . "templates/tmpl_{$tmpl}/scripts/BxTemplVotingView.php" );
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolArticles.php' );
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolClassifieds.php' );
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolEvents.php' );
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolBlogs.php' );
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolGroups.php' );
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolPageView.php' );
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolSharedMedia.php' );
require( BX_DIRECTORY_PATH_ROOT . "templates/base/scripts/BxBaseIndex.php" );
require( BX_DIRECTORY_PATH_ROOT . "templates/tmpl_{$tmpl}/scripts/BxTemplIndex.php" );
check_logged();
$_page['name_index'] = 1;
$_page['header'] = $site['title'];
$_page['header_text'] = $site['title'];
$_page['css_name'] = 'index.css';
$oIPV = new BxTemplIndexPageView();
$_ni = $_page['name_index'];
$_page_cont[$_ni]['promo_code'] = getPromoCode();
$_page_cont[$_ni]['page_main_code'] = $oIPV -> getCode();
// add email to notify emails list
if ( $_POST['subscribe'] && $_POST['subscribe_submit'] )
AddNotifyEmail($_POST['subscribe']);
PageCode();
if i go to the /url/admin/phpinfo.php i get
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[] = (((int)phpversion()) < 4) ? 'PHP version too old, update server please' : '';
$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[] = (get_magic_quotes_gpc()) ? '' : 'get_magic_quotes_gpc is Off, enable it';
if (((int)phpversion()) >= 5) { //PHP v5
$aErrors[] = (class_exists('XsltProcessor')) ? '' : 'XsltProcessor is Off, you should install XsltProcessor';
} else { //PHP v4
$aErrors[] = (function_exists('domxml_xslt_stylesheet_file')) ? '' : 'XsltProcessor is Off, you should install XsltProcessor';
$aErrors[] = (function_exists('xslt_create')) ? '' : 'XsltProcessor is Off, you should install XsltProcessor';
}
$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 $_SERVER['HTTP_HOST'] != $aUrl['host'] and $_SERVER['HTTP_HOST'] != $aUrl['host'] . ':80' )
{
header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}" );
exit;
}
// check if install folder exists
if ( file_exists( $dir['root'] . 'install' ) )
{
$ret = <<