Page 1 of 1

layout.php error/warning

Posted: Sat Jun 26, 2004 3:37 am
by Herby007
I just installed Serendipity 0.6-pl3 and almost all things works fine.

But there is an warning message at the frontpage of the blog (not in the control panel):

Code: Select all

Warning: main(serendipity_config.inc.php): failed to open stream: No such file or directory in G:\xampp\htdocs\seren2\serendipity\templates\blue\layout.php on line 11

Warning: main(): Failed opening 'serendipity_config.inc.php' for inclusion (include_path='G:/xampp/htdocs/seren2/serendipity/:G:/xampp/htdocs/seren2/serendipity/bundled-libs/:.;G:\xampp\php\pear\') in G:\xampp\htdocs\seren2\serendipity\templates\blue\layout.php on line 11
But with the theme "Newspaper Blog" all things works fine. And if I copy the layout.php of this theme to the others, they works fine also and there is no warning/error-message (but I have not the correct design for this themes, shadows and so on).

Me too

Posted: Sun Aug 15, 2004 4:21 pm
by Ribban
Yeah I got the same problem :( All other styles except the "New Paper" style shows me this error msg.

Code: Select all

Warning: main(serendipity_config.inc.php): failed to open stream: No such file or directory in C:\Program\Abyss Web Server\htdocs\blog\templates\default\layout.php on line 11

Warning: main(): Failed opening 'serendipity_config.inc.php' for inclusion (include_path='C:\Program\Abyss Web Server\htdocs/blog/:C:\Program\Abyss Web Server\htdocs/blog/bundled-libs/:.;c:\php4\pear') in C:\Program\Abyss Web Server\htdocs\blog\templates\default\layout.php on line 11
What can I do? I don’t want to use that New Paper style…

Posted: Sun Aug 15, 2004 10:07 pm
by tomsommer
You both seem to be running windows.
Does C:\Program\Abyss Web Server\htdocs\blog\templates\default\layout.php even exist?

Posted: Sun Aug 15, 2004 10:16 pm
by Ribban
hehe yes it does exist, :D But it seems to work for me now :lol:
I don't know how :D :D
My friend fixed that for me hehe

Posted: Mon Aug 16, 2004 2:17 pm
by lank
Warning: main(/home/lank/public_html/serendipity_cv/templates/default/layout.php): failed to open stream: No such file or directory in /home/lank/public_html/weblog/serendipity_genpage.inc.php on line 44

Warning: main(): Failed opening '/home/lank/public_html/serendipity_cv/templates/default/layout.php' for inclusion (include_path='/home/lank/public_html/serendipity_cv/:/home/lank/public_html/serendipity_cv/bundled-libs/:.:/usr/lib/php:/usr/local/lib/php') in /home/lank/public_html/weblog/serendipity_genpage.inc.php on line 44