Recent Topics

1 Oct 05, 2011 20:47    

After upgrading to 4.1.1 I cannot open the General tab in Global settings. If I click on the tab, it opens the tab I was previously in. For example if I had the Regional tab open and I click on General, I still have the Regional tab open.

3 Oct 06, 2011 04:51

I confirm, it's a bug

4 Oct 06, 2011 05:43

The problem is internal. The link on the general tab is referring to the tab with the parameter "settings", where other places it uses "gensettings". If you can't get to the general tab, alter the parameter to "gensettings" and the tab will appear.

5 Oct 06, 2011 11:15

That works although in is not a formal fix.
Thanks

6 Oct 06, 2011 16:19

That was definately not a formal fix - in fact, if you try and save changes to that tab you will not have any luck. I gave that information in hopes it would help in tracking down a fix.

7 Oct 07, 2011 02:21

ok, sorry about this bug.

Indeed ctrl=gensettings is correct.

If you want to fix the menu, go to inc/_core/__core.init.php and around line 914 make this change:

'href' => $dispatcher.'?ctrl=settings',
							'entries' => array(
								'general' => array(
									'text' => T_('General'),
									'href' => '?ctrl=gensettings' ),

note the second instance of ctrl=settings should be changed to ctrl=gensettings (not the first one).

This, of course, will be fixed in the next release.

8 Oct 07, 2011 03:20

That fixes the menu glitch (thank you), but hitting save on that tab still produces an error page.

9 Oct 07, 2011 04:11

Yes, sam2kb told me. So here's the fix for that:

Go to /inc/settings/views/_general.form.php and change the code like this around line 52:

$Form->begin_form( 'fform', T_('General Settings'),
	// enable all form elements on submit (so values get sent):
	array( 'onsubmit'=>'var es=this.elements; for( var i=0; i < es.length; i++ ) { es[i].disabled=false; };' ) );

$Form->add_crumb( 'globalsettings' );
$Form->hidden( 'ctrl', 'gensettings' );
$Form->hidden( 'action', 'update' );

// --------------------------------------------

Please let me know how that goes.

10 Oct 07, 2011 04:20

That did the trick. Thank you very much.

12 Oct 23, 2011 02:18

I've updated the two files but I still get the error message:

An unexpected error has occurred!

If this error persists, please report it to the administrator.

Go back to home page
Additional information about this error:
The requested controller [general] does not exist.

Any more files we can modify to fix this?

13 Oct 26, 2011 04:46

Version 4.1.2 will be out shortly.


Form is loading...