Recent Topics

1 Feb 04, 2008 03:40    

My b2evolution Version: 2.4

Up until version 2.3 I was able to fix the [url=http://forums.b2evolution.net/viewtopic.php?t=13798]Saving Posts error[/url]:

scribbly wrote:

My b2evolution Version: 1.10.x

When trying to save a Draft Post, after a long wait I get:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

Then when browsing back to admin.php I get the dashboard with

   * Post not publicly published: skipping notifications...


repeated 101 times in the grey section, and:

    * Post has been updated.


repeated 101 times in the green section.

The post is saved correctly, but the code does not seem to be working correctly.

by editing _misc.funcs.php as described in that post:

¥åßßå wrote:

I have the same problem on a windows box, it basically goes into an infinite loop until the server bursts into tears :-/

You might be able to cure it by cracking open inc/_misc/_misc.funcs.php and changing this section of code ( approx 2356 ) :

	// <fp

	/* fp>why do we need this?
	   dh>because Location: redirects are supposed to be absolute.
	*/
	if( substr($redirect_to, 0, 1) == '/' )
	{ // relative URL, prepend current host:
		global $ReqHost;

		$redirect_to = $ReqHost.$redirect_to;
	}

¥

Now in 2.4 the header_redirect function has been removed.

Can someone please tell me how to re-fix this problem?

Thanks,
Scribbly

2 Feb 04, 2008 03:47

Looks like you can find the same bit in inc/_core/_template.funcs.php lines 80 to 88.

3 Feb 04, 2008 03:49

EdB wrote:

Looks like you can find the same bit in inc/_core/_template.funcs.php lines 80 to 88.

Thanks (and I thought I looked there... :oops: )


Form is loading...