FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Blank screen when posting to newsgroups
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Blank screen when posting to newsgroups [message #24805] Sun, 15 May 2005 12:40 Go to next message
icarus is currently offline  icarus   Germany
Messages: 52
Registered: May 2005
Karma: 0
Member

Hi!

I updated to 2.6.13 RC2. Then I wanted to post a message in a group that is synced with a newsgroup. Every time I want to post a message I only get an blank screen:
<html><body></body></html>

The message is posted to the forum but not to the newsgroup.

It makes no difference if a activate the option to approve messages before posting.

I thought it could be a problem with the update. So I cleaned everything up. I deleted the tables, I deleted all folders. Then I reinstalled it. There was no difference.

I remembered that I had this problem already when manually applying two fixes that were related to a quote problem. So I guess the problem lies in these two files that were changed with these fixes.

Bye!

Michael
Re: Blank screen when posting to newsgroups [message #24819 is a reply to message #24805] Mon, 16 May 2005 15:28 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Are there any messages like SQL errors inside the forum's error log file?

FUDforum Core Developer
Re: Blank screen when posting to newsgroups [message #24828 is a reply to message #24819] Mon, 16 May 2005 16:51 Go to previous messageGo to next message
icarus is currently offline  icarus   Germany
Messages: 52
Registered: May 2005
Karma: 0
Member

Hi!

No, there are no related log entries Sad

As I said before I had the same problem when applying some patches. It were the patches 3477 and 3479.

That means the problem lies in either the file "install/forum_data/include/email_msg_format.inc" or "install/forum_data/src/imsg_edt.inc.t"

Bye!

Michael
Re: Blank screen when posting to newsgroups [message #24830 is a reply to message #24828] Mon, 16 May 2005 16:58 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Do you have PHP error logging enabled, perhaps PHP errors out resulting in this problem?

FUDforum Core Developer
Re: Blank screen when posting to newsgroups [message #24832 is a reply to message #24830] Mon, 16 May 2005 17:19 Go to previous messageGo to next message
icarus is currently offline  icarus   Germany
Messages: 52
Registered: May 2005
Karma: 0
Member

Ilia schrieb am Mo, 16 Mai 2005 18:58

Do you have PHP error logging enabled, perhaps PHP errors out resulting in this problem?


I haven't changed anything. Where should I change what?

Bye!

Michael
Re: Blank screen when posting to newsgroups [message #24833 is a reply to message #24832] Mon, 16 May 2005 17:30 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Inside forum's main directory there is a file called .htaccess, modify it with the following new lines:

php_flag display_errors 1
php_value error_reporting 4097


FUDforum Core Developer
Re: Blank screen when posting to newsgroups [message #24835 is a reply to message #24833] Mon, 16 May 2005 17:47 Go to previous messageGo to next message
icarus is currently offline  icarus   Germany
Messages: 52
Registered: May 2005
Karma: 0
Member

Ilia schrieb am Mo, 16 Mai 2005 19:30

Inside forum's main directory there is a file called .htaccess, modify it with the following new lines:

php_flag display_errors 1
php_value error_reporting 4097


Sorry, that doesn't change anything Sad Still a blank screen.

Update: If you tell me what files are involved when posting a message then I can do some debugging to see where the problem lies.

Bye!

Michael

[Updated on: Mon, 16 May 2005 18:02]

Report message to a moderator

Re: Blank screen when posting to newsgroups [message #24836 is a reply to message #24835] Mon, 16 May 2005 18:15 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Well the compiled posting template is post.php and it uses include/email_msg_format.inc for the plain text conversion.

From what you've described it sounds like some sort of a scripting error is happening.


FUDforum Core Developer
Re: Blank screen when posting to newsgroups [message #24839 is a reply to message #24836] Mon, 16 May 2005 18:52 Go to previous messageGo to next message
icarus is currently offline  icarus   Germany
Messages: 52
Registered: May 2005
Karma: 0
Member

Hi!

The problem is somewhere else:

if (!@is_resource($this->fs)) {
  $this->error = "Unable to establish connection to $this->server on port $this->port failed\nWith Error #$errno : $errstr\n"; 
  return false;
}


The error message (that isn't printed) is:
Zitat:

Unable to establish connection to *** on port 119 failed With Error # :


Bye!

Michael
Re: Blank screen when posting to newsgroups [message #24840 is a reply to message #24839] Mon, 16 May 2005 19:03 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Here is the patch for that problem, it should exit on message posting.
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=3533


FUDforum Core Developer
Re: Blank screen when posting to newsgroups [message #24841 is a reply to message #24805] Mon, 16 May 2005 19:28 Go to previous messageGo to next message
icarus is currently offline  icarus   Germany
Messages: 52
Registered: May 2005
Karma: 0
Member

Now it isn't blank anymore, but the error_log is full with:

Zitat:

Failed to recieve proper response to POST command, NNTP server replied:
Posting Failed, NNTP Server Said:
Unable to establish connection to *** on port 119 failed
With Error # :


Just another question: Where does the script connect to the newsgroup? I searched in "nntp.inc" for "port" and "server" but haven't found anything.

I guess the problem lies within the part that does the connection to the newsserver.

Bye!

Michael

[Updated on: Mon, 16 May 2005 19:52]

Report message to a moderator

Re: Blank screen when posting to newsgroups [message #24842 is a reply to message #24841] Mon, 16 May 2005 20:53 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The connection settings come from the values you've specified inside NNTP admin control panel.

FUDforum Core Developer
Re: Blank screen when posting to newsgroups [message #24843 is a reply to message #24842] Mon, 16 May 2005 20:58 Go to previous message
icarus is currently offline  icarus   Germany
Messages: 52
Registered: May 2005
Karma: 0
Member

Ilia schrieb am Mo, 16 Mai 2005 22:53

The connection settings come from the values you've specified inside NNTP admin control panel.


Oops ... It seems to be that accidently I deleted one line of source code ...

Update: I restored the file and now get the following messages:
Zitat:


Failed to recieve proper response to POST command, NNTP server replied:
Posting Failed, NNTP Server Said:
Unable to establish connection to **** on port 119 failed
With Error #115 : Operation now in progress
Failed to recieve proper response to POST command, NNTP server replied:
Posting Failed, NNTP Server Said:



Bye!

Michael

[Updated on: Mon, 16 May 2005 21:08]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Unused template causing compiler error
Next Topic: Problems locking/unlocking files
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 22:52:02 GMT 2024

Total time taken to generate the page: 0.03474 seconds