Everything was OK... now errors
Everything was OK... now errors
Hi
I am in desperate need of help, my site design was finished a week ago and when I have come back to it now it is showing erros, but nothing has changed.
http://www.naughtycharlotte.com
Warning: main(/home/virtual/site1/fst/var/www/html/include/inc_front/content.article.inc.php): failed to open stream: No such file or directory in /var/www/html/include/inc_front/content.func.inc.php on line 186
Warning: main(): Failed opening '/home/virtual/site1/fst/var/www/html/include/inc_front/content.article.inc.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/include/inc_front/content.func.inc.php on line 186
The files do exist and the permissions are set as they were when it was working a week ago.
Any ideas?
Thanx
I am in desperate need of help, my site design was finished a week ago and when I have come back to it now it is showing erros, but nothing has changed.
http://www.naughtycharlotte.com
Warning: main(/home/virtual/site1/fst/var/www/html/include/inc_front/content.article.inc.php): failed to open stream: No such file or directory in /var/www/html/include/inc_front/content.func.inc.php on line 186
Warning: main(): Failed opening '/home/virtual/site1/fst/var/www/html/include/inc_front/content.article.inc.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/include/inc_front/content.func.inc.php on line 186
The files do exist and the permissions are set as they were when it was working a week ago.
Any ideas?
Thanx
-
Pappnase
nope... this is the thing just went to see it today and errors...
which is kind of a pain as i have been showing people the site... and obviously not realising the errors...
the thing thats foxing me is why the errors have appeared...
what would i need to change to get it working again...
thanks
james
which is kind of a pain as i have been showing people the site... and obviously not realising the errors...
the thing thats foxing me is why the errors have appeared...
what would i need to change to get it working again...
thanks
james
-
Pappnase
Re: Everything was OK... now errors
please check your conf.inc.phpnaabu wrote: Warning: main(/home/virtual/site1/fst/var/www/html/include/inc_front/content.article.inc.php): failed to open stream: No such file or directory in /var/www/html/include/inc_front/content.func.inc.php on line 186
Warning: main(): Failed opening '/home/virtual/site1/fst/var/www/html/include/inc_front/content.article.inc.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/include/inc_front/content.func.inc.php on line 186
your document_root.php says the following!
Code: Select all
phpwcms DOCUMENT_ROOT test
This file has to be placed in your web root - do not
put it into any subdir of your webspace
1) your default $_SERVER['DOCUMENT_ROOT']: /var/www/html
2) real DOCUMENT_ROOT based on this file : /var/www/html
If (1) and (2) not equal then add following
line at the end of your conf.inc.php but before ending "?>":
$_SERVER['DOCUMENT_ROOT'] = '/var/www/html';
Check if this is corresponding with the subdir
in which phpwcms is installed:
$phpwcms['root'] = "";
If so - everything is fine too, also if this is empty.
Maybe some leading/ending slash "/" is there.
That's no problem here, but remove leading or
ending slashes. Do never use the backslash ""
in paths on Windows - this may fail.- Oliver Georgi
- Site Admin
- Posts: 9936
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
-
Pappnase
hello oliOliver Georgi wrote:maybe your provider has changed something.
Should not be neccessary to set $_SERVER['DOCUMENT_ROOT'] for your install.
Oliver
thanks for you add to my thread! that was what i mean! cos before he was at another server and now the domain is on its own space! so i think he has in the conf.inc.php the old document_root settings