Newbie: Integrate in CMS...
Posted by lindstrom
|
Re: Newbie: Integrate in CMS... December 14, 2006 02:52PM |
Registered: 18 years ago Posts: 16 |
|
Re: Newbie: Integrate in CMS... December 15, 2006 04:06AM |
Registered: 24 years ago Posts: 1,076 |
Quote
lindstrom
Sorry, but I don´t understand where the error is located.
Line 238 in login.php is:
setcookie( "phorum_tmp_cookie", "this will be destroyed once logged in", 0, $PHORUM["session_path"], $PHORUM["session_domain"] );
Please try to give a solution which can be understood by idiots ;-)
Error is in your own code, you start to output something (a space is enough) and when Phorum tries to set a cookie it gives an error (you can't output anything to browser before setting a cookie or making a redirect for example.)
So check that there isn't anything in your php file before the opening <?php or that you don't echo anything before the cookie call in phorums login.php (as Thomas' message implied in the linked thread)
---
-=[ Panu ]=-
|
Re: Newbie: Integrate in CMS... December 15, 2006 04:31AM |
Admin Registered: 23 years ago Posts: 9,240 |
|
Re: Newbie: Integrate in CMS... December 15, 2006 08:44AM |
Registered: 18 years ago Posts: 16 |
Thanks for your replies. I wondering about the error because I didn´t change anything. I just installed Phorum, then the portable solution and last I included the phorum.php in my cms-template. I will check the login.php whether there is something wrong...
If not, can you explain the "ob_start" command, please?
The thing is I don´t need a login, because I want to offer posting without registering before. Perhaps I can deactivate the login and my problem is also solved. Is this possible?
Edited 1 time(s). Last edit at 12/15/2006 08:46AM by lindstrom.
If not, can you explain the "ob_start" command, please?
The thing is I don´t need a login, because I want to offer posting without registering before. Perhaps I can deactivate the login and my problem is also solved. Is this possible?
Edited 1 time(s). Last edit at 12/15/2006 08:46AM by lindstrom.
|
Re: Newbie: Integrate in CMS... December 15, 2006 12:06PM |
Registered: 20 years ago Posts: 340 |
|
Re: Newbie: Integrate in CMS... December 15, 2006 02:01PM |
Registered: 18 years ago Posts: 16 |
|
Re: Newbie: Integrate in CMS... December 16, 2006 07:10AM |
Registered: 18 years ago Posts: 16 |
Ok, I looked in the login.php and there is no space or something. The login.php is exactly as I downloaded it from here.
After that I thought the problem is my template in which I included Phorum. So I deleted all and now it looks like this:
<html>
<head>
<we:charset defined="ISO-8859-1">ISO-8859-1</we:charset>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="conthead">
</td>
</tr>
<tr>
<td class="conttbl3">
<? include ("/kunden/83050_33184/webseiten/projekte/forum/phorum.php"); ?> </td>
</tr>
<tr>
<td></td>
</tr>
</table>
<br></td>
</tr>
</table>
</body>
</html>
But the same error message comes again, when I click on login. I tried to answer to the test posting and the same message appears but for this time in common.php on line 862.
I am confused because the forum itself works fine but I don´t know what occurs these error messages...
After that I thought the problem is my template in which I included Phorum. So I deleted all and now it looks like this:
<html>
<head>
<we:charset defined="ISO-8859-1">ISO-8859-1</we:charset>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="conthead">
</td>
</tr>
<tr>
<td class="conttbl3">
<? include ("/kunden/83050_33184/webseiten/projekte/forum/phorum.php"); ?> </td>
</tr>
<tr>
<td></td>
</tr>
</table>
<br></td>
</tr>
</table>
</body>
</html>
But the same error message comes again, when I click on login. I tried to answer to the test posting and the same message appears but for this time in common.php on line 862.
I am confused because the forum itself works fine but I don´t know what occurs these error messages...
|
Re: Newbie: Integrate in CMS... December 18, 2006 04:03AM |
Registered: 24 years ago Posts: 1,076 |
|
Re: Newbie: Integrate in CMS... December 18, 2006 05:08AM |
Registered: 18 years ago Posts: 16 |
|
Re: Newbie: Integrate in CMS... December 19, 2006 06:49AM |
Registered: 18 years ago Posts: 16 |
Sorry, only registered users may post in this forum.

