Hi again,
installation went well so far.
I have chosen the embedded version and included it with:
<!--#include virtual="index.php" -->
My indexpage is called "index.shtml" and is located in the same directory as the serendipity installation.
So far everything works, the blog is embedded in my site-layout and it looks great so far.
If I click on the link "comments" beneath each entry, the commentform shows up.
But as soon as I write a comment and hit "preview" or "submit" I get the following error:
405 Method Not Allowed
The requested method POST is not allowed for the URL /blog/index.shtml.
Everything else seems to work.
If I change the Index-page back to "index.php" everything works, however as soon as I click on "comments" it´s no longer embedded in my layout.
Thanks
Jorainbo
405 method not allowed on comments
hi...
already tried to rename your index.shtml to something like "index2.php" or "main.php" or similar? It could be that your webserver doesn't allow POST requests on shtml files.
already tried to rename your index.shtml to something like "index2.php" or "main.php" or similar? It could be that your webserver doesn't allow POST requests on shtml files.
Alexander Mieland, dma147
http://blog.linux-stats.org
http://blog.linux-stats.org
-
jorainbo
Yes, I tried. it kinda work, but I get the following error messages now on the page:dma147 wrote:hi...
already tried to rename your index.shtml to something like "index2.php" or "main.php" or similar? It could be that your webserver doesn't allow POST requests on shtml files.
Warning: Cannot modify header information - headers already sent by (output started at /home/www/blog/news.php:5) in /home/www/toto99/blog/index.php on line 19
Warning: Cannot modify header information - headers already sent by (output started at /home/www/blog/news.php:5) in /home/www/toto99/blog/index.php on line 20
then the blog-content which displays correct.
Then errors again:
Warning: Cannot modify header information - headers already sent by (output started at /home/www/blog/news.php:5) in /home/www/toto99/blog/include/functions_config.inc.php on line 235
Warning: Cannot modify header information - headers already sent by (output started at /home/www/blog/news.php:5) in /home/www/toto99/blog/index.php on line 25
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Do not use SSI virtual includes for Serendipity. Either use iframes or PHP includes. Your way of including makes trouble with serendipity sending headers; that is why yuo should use ob_start() in your scripts, and include the s9y framework before any other contnet is sent.
Best regards,
Garvin
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
jorainbo
I definately don´t want to use iframes, I decided to get rid of my frame-layouts and develop my pages in XHTML so iframes is not a choice.garvinhicking wrote:Do not use SSI virtual includes for Serendipity. Either use iframes or PHP includes. Your way of including makes trouble with serendipity sending headers; that is why yuo should use ob_start() in your scripts, and include the s9y framework before any other contnet is sent.
Best regards,
Garvin
Iframes also always make troubles with the scrollbars. SO I thought SSI Includes would be a good way, but anyway, I use PHP includes now, but I have these error messages, however I probably made some mistakes, I have just included the index.php and made the news.php my index-file (embedded option on). I will try to use ob_start() in my script.
Thanks for now.
Jorainbo