Unable to edit moodle frontpage on moodle 2.6.4 as site admin

Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Anthony Connor -
Number of replies: 12

Hi,

i am uable to edit the frontpage on our moodle site. The actions button (cog wheel icon) is greyed out, also the docking doesn't work (the block dissapears and then re-appears after a refresh). The actions button is working for all other users including the site admin on all other appropriate pages.

I looked through the User roles permissions and couldn't see any setting in relation to frontpage access. With developer level debugging on no errors are displayed, also no events are registered in the apache logs. 

I thought the issue might be related to the them but the same issue is occuring when i tested using a different theme.

When I right click on the actions button itself and copy the URL i get http://myURL/?redirect=0# whereas it should be something like http://myURL/?redirect=0&sesskey=835UfgDJDrj&bui_editid=5.


Just wondering if anybody has seen an issue like this before or has any pointers on how to resolve.

Cheers,

Anthony


Attachment Capture.PNG
Average of ratings: -
In reply to Anthony Connor

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Mathieu Pelletier -

Hello Anthony,

Are you using the multilang filter on any of your frontpage blocks?  There is a bug in moodle, depending on your version, that breaks the nested menus when the multilang filter is in use.  The only way to fix this problem on the frontpage is to delete the affected blocks from the database.

In reply to Mathieu Pelletier

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Anthony Connor -

Hi Mathieu,


Thank you for your suggestion. The multilang content filter is disabled in Plugins -> Filters at site level so the filter isn't in use on our site.

I only have the standard blocks on the frontpage: Administration, Calendar, Navigation. Also when i select a new type of block on the Add a Block drop down nothing happens.


In reply to Anthony Connor

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Helen Thomas -

Hi Anthony,


I am experiencing the same issue. Did you get to the bottom of the problem?

In reply to Helen Thomas

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Anthony Connor -

Hi Helen,

I'm sorry to hear you have the same issue, its been a pain for our site.

Unfortunately I have still been unable to resolve this issue. I installed another test site on the same LAMP server, i installed the same theme we are using in our live site, but on this test site I was able to edit the frontpage as an admin. that rules out the underlying LAMP stack and our custom theme. So that points me to an issue with a value in a table in the database.

I created new users on the live site and assigned them the site admin role but the same issue still exists, so it isn't related to a particular user account on moodle or with the role settings.

Sorry I couldnt be of more help. If i do come across anything I will post it here.


Regards,

Anthony

In reply to Anthony Connor

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Helen Thomas -

Thank you Anthony for getting back to me.


The problem only has just started for us which is very strange and our custom theme has been in use for nearly 2 years? 

I will do some further digging and update any findings here too.


Helen.

In reply to Helen Thomas

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

What was the last thing you added to your front page before it stopped letting you edit it? Is it publicly viewable?

In reply to Mary Cooch

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Helen Thomas -

My issue is slightly different - The block action buttons on Default Home Page and Default Profile Page were greyed out preventing the administration of these pages. However the same blocks were editable on other pages within our Moodle site.

Our Block Editing Menu displayed a drop down menu to help reduce screen content. I just removed this setting (so all editing icons display) and they are now are active. Not a solution, but a work around for now.

We have not made any changes to our site that may have caused this issue (that we can think of at least!) - although this is a logical explanation. It does seem strange that the issue only occurs on the 2 pages?

(We are Moodle 2.7, PHP 5.5, Unbuntu 12.04 LTS )


In reply to Helen Thomas

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Anthony Connor -

Hi Mary,

The last change made to the frontpage was the addition of the Course Metalink block, this was made a few weeks prior to the issue surfacing and so the two events were never connected. The frontpage cannot be edited so the metalink block cannot be removed from the front end. The block itself was installed at the request of another staff member but rarely used so i made the decision to uninstalled the metalink block. The frontpage can now be edited again! There must be something in that particular block that didn't install correctly or that didn't integrate with the frontpage.

Thanks for pointing me in the right direction Mary! 

Although you might not have a Metalink block install on your site Helen, it might be worth reviewing all changes made on the frontpage. It might something as simple as a block added that reduced the functionality on the frontpage.

Anthony 

In reply to Helen Thomas

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Donna Smith -

How did you remove the setting? We are having the same problem after upgrading to 2.9.

In reply to Donna Smith

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Anthony Connor -

Hi Donna,


It was a block that i had installed and was added to the frontpage during the install process that caused the problem on our site, I had to uninstall it and straight away i was able to edit the frontpage as normal again.

If you are experiencing the same issue with 2.9 i would guess something installed on the frontpage is causing the problem. It might be worth removing any non default blocks one at a time from the frontpage and see if this corrects the issue. 


Regards,

Anthony

In reply to Anthony Connor

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Donna - one thought might be that you have MDL-50446

In reply to Mary Cooch

Re: Unable to edit moodle frontpage on moodle 2.6.4 as site admin

by Donna Smith -

Thanks, Mary! That was the problem. I had a url opening in a new window under the Main Menu block. Deleted it and all is well.