View previous topic :: View next topic |
Author |
Message |
anadema
Joined: 13 Apr 2003 Posts: 2
|
Posted: Sun Apr 13, 2003 3:36 pm Post subject: "Page Not Found" when I want to send any comments! |
|
|
Hello!
Everything works fine with b2 for the moment.
But I have this problem when I try to send any comments :
When I click OK,
I've got a "Page Not Found" message. Seems not to be able to load b2comments.post.php !
And yet, this file has been perfectly uploaded as the others that are required by this file.
Anyway, comments are saved and readable!
Strange, have you encountered this, before ?
Thanx. |
|
Back to top |
|
 |
anadema
Joined: 13 Apr 2003 Posts: 2
|
Posted: Sun Apr 13, 2003 6:01 pm Post subject: |
|
|
So, I've finally found a solution, searching & searching here on this board.
So here is the solution for future users :
Some other people had my problem :
http://www.tidakada.com/board/viewtopic.php?t=888
A solution to get round this problem is here :
(at the end of these posts)
http://www.tidakada.com/board/viewtopic.php?t=1854
To resume :
macshack wrote: | roofdog,
Look at this tread:
http://tidakada.com/board/viewtopic.php?p=8118#8118
This code goes near the end of the file b2comments.post.php at about line 130 (just prior to setting $location). The code builds a page that the user can then click the link and get back to where they should be. It's a kludge, but it's better than the 404 page
Code: |
?> <!-- escape to html -->
<html>
<head>
<!-- headstuff.... -->
</head>
<body>
Thanks for posting your comment, click
<a href="<?php echo $HTTP_POST_VARS['redirect_to'] .$querystring_start.'p'. $querystring_equal.$comment_post_ID.$querystring_separator.'c'. $querystring_equal.'1'; ?>">here</a> to return to the comments page<br />
</body>
</html>
<?php /* escape back to php */
exit;
|
Michael e |
|
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1274 Location: Oregon
|
Posted: Sun Apr 13, 2003 6:05 pm Post subject: |
|
|
If comments are being saved into your database, it means that the file "comments.post.php" is being loaded properly. I don't know why you are getting that error, though. Perhaps you are hosted by Lycos? People seem to have a problem with it when they are hosted by Lycos. _________________ Michael P.
 |
|
Back to top |
|
 |
|