Getting an install error. Any suggestions?

I got the following error when I tried to do my install.  Any suggestions on what I should be looking at?

Warning: require_once(/home/content/m/a/n/mandom74/html/inc/design.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/m/a/n/xxx/html/oas/index.php on line 39

Fatal error: require_once() [function.require]: Failed opening required '/home/content/m/a/n/mandom74/html/inc/design.inc.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/m/a/n/xxx/html/oas/index.php on line 39

Quote · 10 Mar 2009

Look at your paths.  Your having /home/content/a/a/n/xxx/html/oas/index.php refer back to /home/content/m/a/n/xxx/html/inc/design.inc.php  This is incorrect, your path for the inc/design.inc.php should be:

 

/home/content/m/a/n/xxx/html/oas/inc/design.inc.php

 

Notice that your are missing a directory level when it's trying to call inc/design.inc.php Somehow you have errored out the path, check it and it should work.  This is why you don't bury dolphin in a deep directory like this.  Just stick it at /home/content/html/dolphin_install and it will all work much better if you can do that.

Quote · 11 Mar 2009

Thanks for the reply.  completely missed that.  But I'm not sure what I should change.  I've messed about with it a bit and it keeps putting the inc next to the html.

here's the code from the index file.  Can you tell me what I need to change?  I am looking into moving this to the root directory but I'm not sure yet if that will work or not so I need to find a work-around if it won't.

Thanks for your help!

if ( !file_exists( "inc/header.inc.php" ) )
{
// this is dynamic page -  send headers to do not cache this page
$now = gmdate('D, d M Y H:i:s') . ' GMT';
header("Expires: $now");
header("Last-Modified: $now");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");

echo "It seems to be script is <b>not</b> installed.<br />\n";
if ( file_exists( "install/index.php" ) ) {
echo "Please, wait. Redirecting you to installation form...<br />\n";
echo "<script language=\"Javascript\">location.href = 'install/index.php';</script>\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();

Quote · 11 Mar 2009

Change this:

 

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

To read

require_once( BX_DIRECTORY_PATH_INC . 'oas/design.inc.php' );

or

require_once( BX_DIRECTORY_PATH_INC . '/oas/inc/design.inc.php' );


Can't promise it will work, but that is line 39 of your index.php page and it should fix your problem, but since I don't have the problem I can promise it. But one of the 2 should work for you.  Keep in mind, you will have other issues with this as inc/design.inc.php is called all over the place when it comes to dolphin pages, but it just might work for you.  If it errors in other places you'll have to do the same thing.

Next solution, try re-installing the whole thing at the /html/dolphin_install and dump the OAS directory if you can completely for your site.

 

 

And Yes, a move of this to the root directory will work.  I strongly suggest a path of:

 

/home/content/public_html/dolphin_install

 

as the install path if you can do it and kill all the other directories being called here.

Quote · 11 Mar 2009

Meh, still didn't work.  I'd already tried the first one.  It's still putting the inc next to the html.  Oh well, I have an email into my hosting company (what I wouldn't give for a phone that works!) about switching some things around so that this site would be the root.  I'll see what I hear back and if I don't like it I guess I'll be host hunting. :)

Thanks again for all of your help, I really appreciate it!

Quote · 11 Mar 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.