Dolphin 7 installation problems

Hi,

Everything with the install goes great. After the install finished it get the following error:

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 ( !defined ('BX_SKIP_INSTALL_CHECK') && file_exists( $dir['root'] . 'install' ) ) { $ret = <<

Dolphin Installed
Please, remove INSTALL directory from your server and reload this page to activate your community site.
EOJ; echo $ret; exit(); } // set error reporting level 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_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"); ?>
Warning: require_once(BX_DIRECTORY_PATH_INCdb.inc.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\Dolphin-v.7.0.r10890\install\index.php on line 458

Fatal error: require_once() [function.require]: Failed opening required 'BX_DIRECTORY_PATH_INCdb.inc.php' (include_path='.;C:\php5\pear') in C:\wamp\www\Dolphin-v.7.0.r10890\install\index.php on line 458

Please note thatI have check this twice and found taht in fact

safe_mode is OFF

PHP version too old, update server please - current have installed version 5.2.9

mbstring extension is installed

get_magic_quotes_gpc is On

XsltProcessor is On

Can anyone expalin how to fix this. I current am running Wampserver 2 on my home computer and have
install and have tested older versions of Dolphin with no problems. The Wampserver is using the latest stable
versions of Apache, Mysql and PHP. I have made the necessary changes to my apache config file and my
php.ini, to insure that the proper requirements are met. I also ran a phpinfo and everything seems correct.

Any help would be greatly appreciated.


Lloyd.



Quote · 12 Jun 2009

Just found out something interesting, but still does not help with my problem.

In some off the php scripts, the person how wrote these php scripts, used the short version of the open tag

(ie. <? instead of <?php).

This would cause a problem if the php.ini file did not have the short tag set to On.

Quote · 12 Jun 2009

Problem Solved

Quote · 14 Jun 2009

Can you tell what you have done to solve your problem??
so others with the same problem can learn...

Thanks

Kids first
Quote · 14 Jun 2009

You SHOULD follow all dolphin requirements and not skip it. This is strongly recommended due security and common functional.

Quote · 15 Jun 2009

There are a number of things that can go quite wrong in the installation of what's available for download. It installed quite okay on my local Vista/XAMPP machine, but installing on a Linux VPS was a whole other horse... The current snapshot ended up having a ton of files missing, so I recommend the tested(?) version for download.


To fix the dependencies
(alerted on the first screen), you will need to recompile PHP to support mb_functions() (multibyte support), XSLT and a number of other things. If you're on cPanel / WHM, this is how it looks like (under Easy Apache, Apache and PHP are conjointly recompiled). Recompiling can take its fair share of time.


File permissions
is another big chunk of issues. Since Dolphin doesn't supply a TAR file with permissions ready, unzipping and uploading from a Windows machine just gives default permissions (0644 / 0755) to files and folders. Some of the requirements are frankly cryptic, and by far the easiest way to get them right is over SSH.


To get the current permissions shell CHMOD together, copy the error messages (when you click "Next") into your favorite editor and collect the commands together under the right CHMOD permission sets. N.B. some of the "execute" errors will only go away if you make them writeable. (And do not, in any case, just make everything writeable — public-writable and executable PHP script files are about the insecurest thing you can imagine.)


Moogrify and ImageMagick
are actually not required (as far as I understand) if you have GD2 installed, even if they seem like errors when you reach the page asking for the paths.


All in all, took me a fair hour and a half of battle to get it installed. How the admin panel works at the moment is again another issue, but this is about installation. It had better become a bit easier for the final release! (And some of the same issues riddle D6 too.) For one, you could provide an automated FTP fixer -- PHP has plenty of FTP functions, just have the user input his FTP details and fix the permissions automatically. Shouldn't be too hard to map your permission grid into FTP commands, since they are mapped for checking in any case.

Quote · 16 Jun 2009

My guess is that your particular error inherits from the fact that many Dolphin files jump in and out of PHP and have segments of HTML mixed in, rather than fetching the HTML elements from a separate file or variable, and keeping PHP files in PHP mode from the start to the end. There's probably a corrupt or missing <?PHP opening tag somewhere, or exactly the short tag you noticed. Change line 71 of install/index.php to start with a full opening tag and you should be fine.


There are also some issues with images displaying correctly, both in the Admin panel and the user front-end. Initially I assumed this to be a base_href issue of some sort related to the fact that my test server runs over /localhost/ intranet in a folder instead of a real domain, but the issues persisted on Linux + proper domain, too. Not the same issues actually, a different set of what displayed and what didn't. Can't be bothered to see why that happens, but someone may want to look into that.

Quote · 16 Jun 2009

Hi Friends,

I was also getting the same error while installing D7B7 on a windows server i.e.

Fatal error: require_once() [function.require]: Failed opening required 'BX_DIRECTORY_PATH_INCdb.inc.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\dolphin\install\index.php on line 447

I checked line 71  and 447 of install/index.php and it does not have any php tags anymore so there's nothing to fix there..

Line 447 is:

require_once( BX_DIRECTORY_PATH_INC . 'db.inc.php' );

I manually placed the path i.e.

require_once( 'C:/xampp/htdocs/dolphin/inc/db.inc.php' );

and then it worked but now it's complaining about this:

Permissions Reversal
Next directories have inappropriate permissions:
inc;
Now, when Dolphin completed installation, you should change permissions for some files to keep your site secure. Please, change permissions as specified in the chart below. Helpful info about permissions is available here.
Directories Current Level Desired Level
inc Writable Non-writable

I am on an XP machine and not sure how to make that 'inc' diirectory writable, any help?

Thanks

P.S: For time being, I am skipping that step

Quote · 12 Oct 2009

i had such problem on linux system... but this:

This would cause a problem if the php.ini file did not have the short tag set to On.

helped me... i turned it on, and all became ok

Quote · 5 Nov 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.