Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Technical Support    Forum Support  ›  internal server error after posting
Users Browsing Forum
Yahoo! Bot and 1 Guests

internal server error after posting  This thread currently has 227 views. Print
1 Pages 1 Recommend Thread
Pit
April 4, 2008, 9:57am Report to Moderator Report to Moderator
E-Blah Member
Posts: 10
Posts Per Day: 0.03
Time Online: 5 hours 18 minutes
Hi,

i use eblah version 10.3.5 on a Linux machine (Debian/stable, Apache 2.2.6, Perl 5.8.8)
This morning i upgraded from version 10.3.3 to version 10.3.5 and now the redirects after
- posting
- deleting a post
- editing a post (but only "full edit", "easy edit" works fine)
do not work any more. But only the redirects! The actions (save/delete) are done properly.

error.log says: Premature end of script headers: Blah.pl

For debug i inserted in Blah.pl (at the beginning):
print "Content-type:text/plain\n\n";
to see what is the output of the script and i see that the output of the Script is nothing at all (where IMO it should be some "Location: ..." output).

The redirects after saving in the Admin Center work properly, also the redirects after sending a private message.

I tried all three available "Redirect Type" Settings in the Admin Center/Settings/Basic Preferences. They all don't work for me.

Please give me some advice how to solve my problem, thank you in advance. I'm familiar to Perl, so you may come up with some hints concerning the source code..

kind regards
Pit
Logged Offline
Private Message Private message
Justin
April 4, 2008, 4:32pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Do you have Tagging enabled?


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 1 - 6
Pit
April 4, 2008, 6:43pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 10
Posts Per Day: 0.03
Time Online: 5 hours 18 minutes
No, tagging is not enabled.
Logged Offline
Private Message Private message Reply: 2 - 6
Justin
April 4, 2008, 10:32pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Hmm, that's the only thing I remember changing that could cause that.

Try downloading the Serialize modules required for the Tag feature, and see if the problem goes away.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 3 - 6
Pit
April 5, 2008, 9:50am Report to Moderator Report to Moderator
E-Blah Member
Posts: 10
Posts Per Day: 0.03
Time Online: 5 hours 18 minutes
Quoted from Justin
Hmm, that's the only thing I remember changing that could cause that.

Try downloading the Serialize modules required for the Tag feature, and see if the problem goes away.


i haven't done this yet, but i noticed something different (for explanation, it is a forum for a computer gaming clan):
In my forum there are
1. one board accessible for everyone (including guests)
2. some boards accessible by all forum users ("public area")
3. some boards accessible only by a certain group of users ("Clan Member's area")

The error appears only in the public available boards (points 1+2).
There is no error (neither with posting nor deleting) in the Member's area (point 3).


If I make a post in area 1 or 2 then my own post is still "unread" by me, if i make a post in area 3 then my post is "read" by me. But i guess this is only an effect of the not-working redirect.
Logged Offline
Private Message Private message Reply: 4 - 6
Pit
April 7, 2008, 10:23am Report to Moderator Report to Moderator
E-Blah Member
Posts: 10
Posts Per Day: 0.03
Time Online: 5 hours 18 minutes
Workaround found.

The error appeared on all boards which were included in portal news. I excluded all boards from the portal news and the error is gone.
Logged Offline
Private Message Private message Reply: 5 - 6
Justin
April 9, 2008, 11:16pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Remove the following from Post.pl:

Code
	if($newsboards{$URL{'b'}}) {
		CoreLoad('Portal');
		Shownews('1','html'); # Runs the news, and saves it to ./templates/news.html
		Shownews('1','xml');  # Runs the news, and saves it to ./templates/news.rss
	}


Then try posting on those boards again.  If that causes the problem, then it's with the portal.  Specifically, with the Shownews sub, which shouldn't be much of an issue (or hasn't been to this point).  If you could narrow it down to where the code is, I can fix it for future releases.  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 6 - 6
1 Pages 1 Recommend Thread
Print

E-Blah Community    Technical Support    Forum Support  ›  internal server error after posting