Rocket Theme and 2.4

Rocket Theme and 2.4

by Emma Richardson -
Number of replies: 10
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

I am having a couple of issues with the Rocket theme in 2.4.  I have found with the last couple of upgrades, I have to remove the theme during the upgrade and then add in afterwards.  Otherwise, the upgrade throws an Error reading from database error.

Then, I have quickfindlist install.  While it is working, I get this endless bar showing in the block.  Can anyone give me a quick fix for this?  Or at least direct me to where to start looking?

On my course pages, I am getting the following Error:

Notice: Undefined variable: PAGE in /var/www/moodle/theme/rocket/renderers.php on line 185 Notice: Trying to get property of non-object in /var/www/moodle/theme/rocket/renderers.php on line 185 Notice: Trying to get property of non-object in /var/www/moodle/theme/rocket/renderers.php on line 185 Notice: Trying to get property of non-object in /var/www/moodle/theme/rocket/renderers.php on line 185 Notice: Undefined variable: formclose in /var/www/moodle/theme/rocket/renderers.php on line 187 Notice: Undefined variable: formopen in /var/www/moodle/theme/rocket/renderers.php on line 193

 

I think someone had said this was a Moodle core error - is that still the case or do I have something else going on here?  

 

 

Average of ratings: -
In reply to Emma Richardson

Re: Rocket Theme and 2.4

by Graham Clark -

Hi Emma

I'm getting the same error in Moodle 2.3.3 as per my recent post:

If this is a Moodle core error, what does this mean exactly? Thanks.

In reply to Graham Clark

Re: Rocket Theme and 2.4

by Mary Evans -

Hi Emma and Greham,

I'm not really sure what is causing this, but I am guessing it is in the way that secton of the renderer is sequenced. I'm just going to reorder a line or two to see if that has any inpact on the situation.

I'll get back to you later...or tomorrow depending on how long it takes.

Mary

In reply to Mary Evans

Re: Rocket Theme and 2.4

by Steven Geggie -

I'm also seeing an issue related to quizzes that utilize  "full screen pop-up with some javascript security".    When someone attempts the quiz, it just comes up with a blank screen.   When we change to any other theme, it works fine.   I'd really like to keep our rocket theme.     Is there a fix in the works?

In reply to Steven Geggie

Re: Rocket Theme and 2.4

by Mary Evans -

Looks like the theme is missing the secure page layout from ../theme/rocket/config.php

It looks like this...

    // The pagelayout used for safebrowser and securewindow.
    'secure' => array(
        'file' => 'general.php',
        'regions' => array('side-pre', 'side-post'),
        'defaultregion' => 'side-pre',
        'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologinlinks'=>true, 'nocourseheaderfooter'=>true),
    ),

Chekout ../theme/base/config.php for guidence as to where you need to add this as the positioning is important. It needs to be added just after the Report layout, but before the final ); so it looks like this...

    // The pagelayout used for reports.
    'report' => array(
        'file' => 'report.php',
        'regions' => array('side-pre'),
        'defaultregion' => 'side-pre',
    ),
    // The pagelayout used for safebrowser and securewindow.
    'secure' => array(
        'file' => 'general.php',
        'regions' => array('side-pre', 'side-post'),
        'defaultregion' => 'side-pre',
        'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologinlinks'=>true, 'nocourseheaderfooter'=>true),
    ),

);

Hopefully that should fix the problem.

Mary

In reply to Emma Richardson

Re: Rocket Theme and 2.4

by Mary Evans -

As I have just commented on Grahams post anout the same bug. It has been reported already. Check this out.

https://tracker.moodle.org/browse/CONTRIB-3763

In reply to Mary Evans

Re: Rocket Theme and 2.4

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Thanks Mary. Applied fixes mentioned in tracker and am having no more errors.

In reply to Emma Richardson

Re: Rocket Theme and 2.4

by Mary Evans -

Glad to here that. Thanks for letting me know. :

Cheers

In reply to Mary Evans

Re: Rocket Theme and 2.4

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Now having different errors.  On user login change page (after initial login with changeme password and on messaging page, I just get a blank page.  No errors coming up with debugging.  I was going to just undo my previous fixed but then realized that I lose enrolment page access when I do that.  Perhaps one fix at a time...

Emma

In reply to Emma Richardson

Re: Rocket Theme and 2.4

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Discovered that removing the Search reference causing some pages to just not load such as messaging and the password change screen.

In reply to Emma Richardson

Re: Rocket Theme and 2.4

by Julian Ridden -

This has been fixed in the newly released 2.5 version of this theme.

Julian