dotSilver Dating Partnership Network
Partner Home - Partner Sign-Up - Software - FAQ
Forum: Forums - Reply - Registration - Search

dotSilver Network Partner Support Forum / Dating Software Technical Support / Trouble Getting Site to come up After Configuration
Author Message
spin1060
Member

Posted: 22 Jul 2005 19:41:45


Ok, This seems to be a common problem! More than 10 minute install!!

*********************

My settings:

$_home_dir = '/home/specialfriendfinder/public_html/search/';
ALSO TRIED
= '/home/specialfriendfinder/search/';

$_site_ID = 'xx';
$_layout_name = 'dp';
$_color_theme = 'main';
$_bizname = 'Special Friend Finder';
$_brand = 'SFF';
$_mail_support = 'admin@specialfriendfinder.com';
$_mail_links = 'links@specialfriendfinder.com';
$_mail_info = 'info@specialfriendfinder.com';
$_mail_ads = 'ads@specialfriendfinder.com';

$_site_full = 'http://search.specialfriendfinder.com/';

********************
My hosting:

Linex operating system
Apache version 1.3.33 (unix)
PHP Version 4.3.10

********************

My error messages:

Warning: main(/home/specialfriendfinder/public_html/search/inc/design-share.inc .php): failed to open stream: No such file or directory in /home/special/public_html/search/index.php on line 4

Fatal error: main(): Failed opening required '/home/specialfriendfinder/public_html/search/inc/design-share.inc.php ' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/special/public_html/search/index.php on line 4

********************

Yes, I have the correct CMOD settings in the folders that need to have 777!

My mental state: FRUSTRATED!!!!! Help anyone?!?!

raybman
Member

Posted: 23 Jul 2005 00:45:43 - Edited by: raybman


I had a similar problem at first.
I found that in one of the php files somehow, perhaps through my code editor, added a RETURN space at the end of the page. A RETURN space just before the ending ?

I found that PHP will crash with a small mistake like this. In my situation, I do not remember which file I had to edit, but it was whichever one was included in the error message.

In your case, I would check design-share.inc.php

Hope this helps.
Ray

.silver
Admin

Posted: 23 Jul 2005 01:30:16 - Edited by: Admin


Try to do like this in header.inc.php:

$rev_home_dir = substr( strchr( strrev( $_SERVER['SCRIPT_FILENAME'] ), '/' ), 1 );
$_home_dir = strrev( $rev_home_dir ).'/';

$_site_ID = 'xx';
$_layout_name = 'dp';


... etc.

Anonymous


Posted: 25 Jul 2005 08:42:26


Hey Raybman,

I corrected the extra return in the code of header.inc.php but without success.

Also to Admin....

Do I change the "$_SERVER" and the "SCRIPT_FILENAME" to something else in my header.inc.php?

.silver
Admin

Posted: 25 Jul 2005 23:00:04


No you should add line
$rev_home_dir = substr( strchr( strrev( $_SERVER['SCRIPT_FILENAME'] ), '/' ), 1 );
before $home_dir,
and replace $_home_dir = '/home/specialfriendfinder/public_html/search/';
to $_home_dir = strrev( $rev_home_dir ).'/';

spin1060
Member

Posted: 26 Jul 2005 09:00:44


Ok Admin, Thanks! But now I get:

Parse error: parse error, unexpected ';' in /home/special/public_html/search/inc/header.inc.php on line 5

.silver
Admin

Posted: 28 Jul 2005 01:16:47 - Edited by: Admin


It seems that the sign ; on the 5th line in the file header.inc.php is unnecessary.

Forum posts are closed
 » Name  » Password 
 


Powered by miniBB 2.0 RC2b © 2001-2009