header.inc.php on line 172
what it does mean? how can i fix it?
Fatal error: main() [function.require]: Failed opening required '......./public_html/cgi-sys/php4ray/modules/global/inc/header.inc.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in ...../public_html/inc/header.inc.php on line 172
I had the same problem when I installed dolphin6 , this error comes from .htaccess whis is in admin folder , delete it and you will see your index.php to be displayed and your website will be ok in the internet , also re_upload plugins folder if something is wrong again .
see my site www.algerie-mariageconseil.com
i think i make mistake when change permissions.
first, dolphin tell to change permissions for back up, change, etc to 777. ok, next.
than, dolphin tell to change periodic/cmd.php and 3 other files. change to 777.
paths, database, configuration, and cronjobs, ok.
theres is permission reversal. i change periodic and inc to 755. another 4 file also change to 755.
the result is ...
Warning: main(..../public_html/cgi-sys/php4ray/modules/global/inc/header.inc.php) see more
Warning: require_once(/usr/local/apache/htdocs/~lamafial/site/ray/modules/global/inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/lamafial/public_html/site/inc/header.inc.php on line 172
Fatal error: require_once() [function.require]: Failed opening required '/usr/local/apache/htdocs/~lamafial/site/ray/modules/global/inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') see more
in root/dir/usr/inc/header.inc.php
change line 56 from:
$dir['root'] = "/home/arydenbck/thagrid.com/cgi-system/php.cgi";
to:
$dir['root'] = "/home/arydenbck/thagrid.com/";
chop off everything after .com/ and it works fine.
Warning: require_once(dolphin/ray/modules/global/inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in dolphin/inc/header.inc.php on line 172
Fatal error: require_once() [function.require]: Failed opening required 'dolphin/ray/modules/global/inc/header.inc.php' (include_path='.:/usr/local/php5/lib/php') in dolphin/inc/header.inc.php on line 172
The file (header.inc.php) is not installed as checked on server and also the file is not in the downloaded folder inc/.
Has this file been ommited on purpose?
Is there a fix for this?
Warning: main(/home/osaka/public_html/~secretsi/ray/modules/global/inc/header.inc.php) [function.main]: failed to open stream: No such file or directory in /home/secretsi/public_html/inc/header.inc.php on line 172
Fatal error: main() [function.require]: Failed opening required '/home/osaka/public_html/~secretsi/ray/modules/global/inc/header.inc.php' see more
Warning: require_once( ray/modules/global/inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/apurboc/public_html/inc/header.inc.php on line 175
Warning: require_once(home/apurboc/public_html/ ray/modules/global/inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/apurboc/public_html/inc/header.inc.php on line 172
Fatal error: require_once() [function.require]: Failed opening required 'home/apurboc/public_html/ ray/modules/global/inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/apurboc/public_html/inc/header.inc.php on line 172
Warning: require_once(/var/chroot/home/content/p/i/v/pivisions/html/DEVELOPMENT/Dolphin/install/index.php/DEVELOPMENT/Dolphin/ray/modules/global/inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/p/i/v/pivisions/html/DEVELOPMENT/Dolphin/inc/header.inc.php on line 173
Fatal see more
Just open the /dolphin/inc/header.inc.php and find the $dir['root'] variable. See its contents!!
In my case the directory was set wrong.
It was "//peskovnik/Dolphin6/" instead of being "/domains/lahkonoc.net/public_html/peskovnik/Dolphin6/". So just enter your full absolute path and it should work just fine.
It worked for me.
Fatal error: require_once() [function.require]: Failed opening required '/usr/local/apache/htdocs/~meetokla/iindie/ray/modules/global/inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/meetokla/public_html/iindie/inc/header.inc.php see more
I noticed some improvement as I commented out (in the files mentioned) instructions referring to Ray's IM. The site came back up but there were still lots of error messages.
To solve it, I did a new install in a different sub domain. Went into inc/header.inc.php and asked it to point to my previous installation database, rather than see more
Warning: require_once(inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/samiroz/public_html/mycommunity/profile.php on line 21
Fatal error: require_once() [function.require]: Failed opening required 'inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/samiroz/public_html/mycommunity/profile.php on line 21
Warning: require_once(/home/content/g/m/d/gmdistributors/html/ray/modules/global/inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/g/m/d/gmdistributors/html/matchdate/inc/header.inc.php on line 193
Fatal error: require_once() [function.require]: Failed opening required '/home/content/g/m/d/gmdistributors/html/ray/modules/global/inc/header.inc.php' see more
Dolphin creates header.inc.php so you have to download it and edit the file on your computer.
Find the line that says:
$dir['root'] = "BAD PATH"
notice that the path here is from the first path of your error that is "require once () [..] ( BAD PATH)
BAD PATH is the one that is currently in your file replace it with the one that follow in (last line of the error message so as an example from above message replace:
/home/content/g/m/d/gmdistributors/html/ray/modules/global/
with
/home/content/g/m/d/gmdistributors/html/matchdate/
the see more
++++++Just open the /dolphin/inc/header.inc.php and find the $dir['root'] variable. See its contents!!
In my case the directory was set wrong.
It was "//peskovnik/Dolphin6/" instead of being "/domains/lahkonoc.net/public_html/peskovnik/Dolphin6/". So just enter your full absolute path and it should work just fine.+++++
BY: leonpanjtar
Had a similar problem and found a solution.
+++++++
Just open the /dolphin/inc/header.inc.php and find the $dir['root'] variable. See its contents!!
In my case the directory was set wrong.
It was "//peskovnik/Dolphin6/" instead of being "/domains/lahkonoc.net/public_html/peskovnik/Dolphin6/". So just enter your full absolute path and it should work just fine.
It worked for me to.
BY: leonpanjtar