Blank Front page when 'Turn Editing On' is enabled

Blank Front page when 'Turn Editing On' is enabled

por Adrian Chan -
Número de respuestas: 4

When I turn editing on front page with Admin role, almost everything disappear except the Moodle header. Those content will become normal again after log out and in.

OS: OpenSuSE 11.2, Moodle 1.9.10 installed via YaST

On the other hand, the 'turn editing on' functions properly when getting in a course, course category, block and etc...

We have installed another Moodle 1.9.10 on Windows flatform, and no problem at all.

This issue is independent to browser since IE, FF and Chrome have the same result.

When turn on server debugging to 'DEVELOPS', nothing is found cause all are disappear except header.

 

Whats the problem? Any help is appreciated.

Promedio de valuaciones (ratings): -
En respuesta a Adrian Chan

Re: Blank Front page when 'Turn Editing On' is enabled

por Andrew Davis -

So even when youre in developer mode (http://docs.moodle.org/en/Debugging#How_to_turn_on_debugging) you're not getting an error displayed?

En respuesta a Andrew Davis

Re: Blank Front page when 'Turn Editing On' is enabled

por Adrian Chan -

Yes, exactly. No any message even in 'DEVELOPER' server debugging mode. Be reminded that this issue occurs in front page only. In the page of course, block and activities, no any problem with 'Turn editing on' function. For example, when I edit one course and click front page button, all page items are disappeared except Moodle header. What I can do is just log out and in. Or just click back button in browser to go back to course editing page. Going forth, there is just Moodle header left. This means I can't edit the front page in any way.

Any suggestion to fix it?  Even I don't know how to trace it.

En respuesta a Adrian Chan

Re: Blank Front page when 'Turn Editing On' is enabled

por Adrian Chan -

This issue is resolved by several days try and error.

The cause is the config referencing inside index.php:

    require_once('config.php');			//Success
//  require_once('/etc/moodle/config.php');	//Fail, default setting via YaST
//  include '/etc/moodle/config.php';		//Fail