can't able to disable maintenance mode

can't able to disable maintenance mode

by nilesh k -
Number of replies: 5

Hello,

I am using moodle 2.6

I have migrate my site on new linux server.

While in migration the site was in maintenance mode.

After migration I use following method to disable maintenance mode.

1. I edit config.php & add following code at end of line.

$CFG->maintenance_enabled=0;

2. then also I deactivate the maintenance mode by changing the variable named maintenance_enabled to “0” in the “mdl_config table“.  using database.

But nothing is happened & only blank screen come when I try to usig

http://[site Name]/login/index.php.

Please help to solved this issue.

Thanks,





Average of ratings: -
In reply to nilesh k

Re: can't able to disable maintenance mode

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

A blank screen doesn't mean you are stuck in maintenance mode. It means something is broken / wrong. 

Enable Debugging (you'll need to do it by copying debugging lines from config-dist.php to config.php). Recreate the blank page. Any messages? Anything in the web server error log?

In reply to Howard Miller

Re: can't able to disable maintenance mode

by nilesh k -
Hi,

When I used following link. It showing proper maintenance mode page.

http://[site Name]/

But when I try to login using http://[site Name]/login/index.php.

It showing only blank page.

I used above config.php & database method to disable moodle maintenance mode.

But nothing in happened.

So, Please tell me how to solve maintenance mode issue.

Attachment Maintenance-page.jpg
In reply to nilesh k

Re: can't able to disable maintenance mode

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

You should probably not ignore what I suggested you do...   (and what Emma suggested)

AND... that doesn't look like a Moodle page to me (although it could be, depending what theme you have)

In reply to Howard Miller

Re: can't able to disable maintenance mode

by nilesh k -

Thanks for Suggestion & Help.

The 'ICONV' PHP module was missing due to which the login page was not working. After installing the module by server administrator log in issue resolved.

Now I can easily login using http://[site Name]/login/index.php link.

window


Once again Thanks for Help. smile

Average of ratings: Useful (1)
In reply to nilesh k

Re: can't able to disable maintenance mode

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

Maintenance mode has nothing to do with a blank screen.  That is probably either a php incompatibility (check your php version) or a cache issue which can be resolved by deleting the cache and localcache folders from your Moodledata folder.