If your Boonex Dolphin site is only showing a bunch of code similar to the following:
not installed.
\n"; if ( file_exists( "install/index.php" ) ) { echo "Please, wait. Redirecting you to installation form...
\n"; echo "\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 . 'quotes.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();
This is most likely cause by the php "Short Open Tags" settings.
For php to properly parse the file you will need to have "Short Open Tags" set to on.
If your host runs php through cgi open php.ini, find and change:
short_open_tag = Off
To:
short_open_tag = On
If you do not have a php.ini ask your host or create one.
If your host has php setup as a module, then you can add the following command to your main .htaccess file instead (yoursite.com/.htaccess)
php_flag short_open_tag on
If you open up assorted php files with a text editor you will notice some start with:
<?
And others start with:
<? php
The ones with only <? are short tags while the ones that start with <? php are long tags.
If you do not have "Short Open Tags" enabled then the pages such as index.php that start with <? will return this error. They are expecting <? php. Since it would be missing the rest of the code it will be output as text rather than parsed through the php engine.
So if you are seeing something similar to the example given above it is most likely due to "Short Open Tags" are off on your server.
Most servers are enabled and is the more popular at the time of this posting.
In the upcoming php 6 it sounds like "Short Open Tags" will no longer even be an option in php. The long form will be the standard. There are a number of arguments at the present time about this, but unless the php team changes something there will be no more short tags. This would potentially cause a number of issues for sites that require "Short Open Tags". So we will have to wait and see what the final outcome is in php 6.
You can also check your php.ini settings in Dolphin 6.1x by logging into your Admin Panel, and then enter into the address bar: http://www.yoursite.com/admin/php.ini
This will return the details of your hosts php configuration.
Scroll down until you find:
short_open_tag
Ideally it should say on as pictured here in this screen shot: