Title...

roobik posted 3rd of March 2008 in Community Voice. 7 comments.
hi I get this erorr afther installation !

Warning: require_once(/usr/local/apache/htdocs/~hamaynk/ray/modules/global/inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/hamaynk/public_html/inc/header.inc.php on line 161

Fatal error: require_once() [function.require]: Failed opening required '/usr/local/apache/htdocs/~hamaynk/ray/modules/global/inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamaynk/public_html/inc/header.inc.php on line 161

How i can fix this ?!

Regards
 
Comments
·Oldest
·Top
Please login to post a comment.
praveenkv1988
Open the file inc/header.inc.php

There will be some thing called

$site['dir']= '/usr/local/apache/htdocs/~hamaynk/';

Replace it with

$site['dir']= '/home/hamaynk/public_html/';

This will fix your problem.
thanks !
but i get the new errors now in admin i get this

Warning: include(/usr/local/apache/htdocs/~hamaynk/inc/header.inc.php) [function.include]: failed to open stream: No such file or directory in /home/hamaynk/public_html/ray/modules/global/inc/header.inc.php on line 10

Warning: include() [function.include]: Failed opening '/usr/local/apache/htdocs/~hamaynk/inc/header.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamaynk/public_html/ray/modules/global/inc/header.inc.php see more on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/hamaynk/public_html/ray/modules/global/inc/header.inc.php:10) in /home/hamaynk/public_html/inc/design.inc.php on line 863

Warning: Cannot modify header information - headers already sent by (output started at /home/hamaynk/public_html/ray/modules/global/inc/header.inc.php:10) in /home/hamaynk/public_html/inc/design.inc.php on line 864

Warning: Cannot modify header information - headers already sent by (output started at /home/hamaynk/public_html/ray/modules/global/inc/header.inc.php:10) in /home/hamaynk/public_html/inc/design.inc.php on line 865

Warning: Cannot modify header information - headers already sent by (output started at /home/hamaynk/public_html/ray/modules/global/inc/header.inc.php:10) in /home/hamaynk/public_html/inc/design.inc.php on line 866

and in home front page at top

Warning: include(/usr/local/apache/htdocs/~hamaynk/inc/header.inc.php) [function.include]: failed to open stream: No such file or directory in /home/hamaynk/public_html/ray/modules/global/inc/header.inc.php on line 10

Warning: include() [function.include]: Failed opening '/usr/local/apache/htdocs/~hamaynk/inc/header.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hamaynk/public_html/ray/modules/global/inc/header.inc.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/hamaynk/public_html/ray/modules/global/inc/header.inc.php:10) in /home/hamaynk/public_html/inc/design.inc.php on line 667
nuccca
is Dolphin installated in the root directory?
okweb
Open the file inc/header.inc.php and check this:

$dir['root'] = '/home/hamaynk/public_html/';

I think this was what praveenkv1988 contemplated
And hide or delete this line $site['dir']
okweb
Dont forgot to check this file also

ray/modules/global/inc/header.inc.php

include("/home/hamaynk/public_html/inc/header.inc.php");
redheadventures
$sRootPath = $dir['root'];
$sRootURL = $site['url'];
$sRayHomeDir = "ray/";

this was copied from my ray/modules/global/inc/header.inc.php file, it looks like I have no direction to my info and I have the same errors.

Warning: require_once(/home/content/r/e/d/redheadventure/html/ray/modules/global/inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/r/e/d/redheadventure/html/fancydates/inc/header.inc.php on line 172

Fatal see more error: require_once() [function.require]: Failed opening required '/home/content/r/e/d/redheadventure/html/ray/modules/global/inc/header.inc.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/r/e/d/redheadventure/html/fancydates/inc/header.inc.php on line 172
 
 
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.
PET:0.06599497795105