Recent Topics

1 Dec 30, 2014 05:32    

Just installed version 5.2.0 to test and was setting up remote publishing. After entering all of the fields, clicked save and was presented with an error. This is the error:

Additional information about this error:

Parameter «eblog_default_category» is required!
Backtrace:

bad_request_die( "Parameter «eblog_default_category» is required!" )
File: /[...]/testblog/inc/_core/_param.funcs.php on line 120
param( "eblog_default_category", "integer", true )
File: /[...]/testblog/inc/settings/remotepublish.ctrl.php on line 66
require( "/home/wcsmail/public_html/testblog/inc/settings/remotepublish.ctrl.php" )
File: /[...]/testblog/admin.php on line 250

Ignored last: 1

I did have a default category listed, tried a few different ones, but nothing worked. Any thoughts?

2 Jan 01, 2015 11:04

I have exactly the same issue:

<code>
Backtrace:

bad_request_die( "Parameter &laquo;eblog_default_category&raquo; is required!" )
File: /[...]/b/inc/_core/_param.funcs.php on line 120
param( "eblog_default_category", "integer", true )
File: /[...]/b/inc/settings/remotepublish.ctrl.php on line 66
require( "/home/mitup2/public_html/b/inc/settings/remotepublish.ctrl.php" )
File: /[...]/b/admin.php on line 250
</code>

3 Jan 02, 2015 08:26

I have this issue as well:

Additional information about this error:
Parameter «eblog_default_category» is required!
Backtrace:

bad_request_die( "Parameter &laquo;eblog_default_category&raquo; is required!" )
File: /zzz/public_html/blog/inc/_core/_param.funcs.php on line 120
param( "eblog_default_category", "integer", true )
File: /zzz/public_html/blog/inc/settings/remotepublish.ctrl.php on line 66
require( "/zzz/public_html/blog/inc/settings/remotepublish.ctrl.php" )
File: /zzz/public_html/blog/admin.php on line 250

Ignored last: 1

Mine is an upgrade of an old site that only had the default blogs. It still only has default blogs, until I get this fixed.

Thanks for your help on this.

Brian

4 Jan 06, 2015 12:16

There is a little typo in the code that is producing this error. A fix will be included in the next release, but you can apply it by your own if you want to use this feature right now.

Go to the file inc/settings/views/_eblog.form.php and find this line:


$Form->text_input( 'eblog__default_category', $Settings->get('eblog_default_category'), 5,

Note: it might be around line 109 in version 5.2.0.

The first appearance of "eblog__default_category" has an extra underscore ( _ ), so get rid of that character. The resultant line must look like this:


$Form->text_input( 'eblog_default_category', $Settings->get('eblog_default_category'), 5,

Regards!

5 Jan 06, 2015 12:50

Thanks,

This works a treat. Now to sort out secure IMAP authentication with my mail server.

Brian

6 Jan 06, 2015 15:30

Thank you for the fix. That took care of the problem.


Form is loading...