Non-core contributed modules

Blank screen on install

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Cannot Reproduce
  • Affects Version/s: 2.1
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    Plugin version 2011031900
    Moodle 2.1.1+ (Build: 20110803)
    Linux running Apache/2.2.16 (Debian)
    PHP Version 5.3.5-0
    Suhosin Extension 0.9.32.1
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_21_STABLE

Description

I'm getting a blank screen when trying to access a new install of the PHPMyAdmin module (module version 2011031900).

URL is http://mymoodleurl/local/phpmyadmin/

It's a brand new install of Moodle 2.1.1+ (Build: 20110803) which is running fine. The PHPMyAdmin module appeared to install correctly and 'success' message was seen after install.

Debug info is switched on but not getting any messages at that url.

Activity

Hide
Bill Burgos added a comment -

Hi,

I get the same on two installations:

2.1.1+ (Build: 20110831)
2.1.1+ (Build: 20110907)

Show
Bill Burgos added a comment - Hi, I get the same on two installations: 2.1.1+ (Build: 20110831) 2.1.1+ (Build: 20110907)
Hide
Petr Škoda (skodak) added a comment -

Hello,
this is probably caused by older config.php, could you please try to replace the beginning with:

unset($CFG);
global $CFG;
$CFG = new stdClass();
Show
Petr Škoda (skodak) added a comment - Hello, this is probably caused by older config.php, could you please try to replace the beginning with:
unset($CFG);
global $CFG;
$CFG = new stdClass();
Hide
Bill Burgos added a comment -

Hello Petr,

All three lines are now in config.php. The only one that was missing was:

global $CFG;

I put that in and I still get a blank screen.

If you need any other information, let me know.

Bill

Show
Bill Burgos added a comment - Hello Petr, All three lines are now in config.php. The only one that was missing was: global $CFG; I put that in and I still get a blank screen. If you need any other information, let me know. Bill
Hide
Brian Schmidt added a comment -

I am in the same situation. I replaced the beginning of the file with the 3 lines suggested above, but still have a blank page when trying to access it.

I am on Moodle 2.1.2+ (Build: 20111118)

Show
Brian Schmidt added a comment - I am in the same situation. I replaced the beginning of the file with the 3 lines suggested above, but still have a blank page when trying to access it. I am on Moodle 2.1.2+ (Build: 20111118)
Hide
Petr Škoda (skodak) added a comment -

Hello,

I have tried it a few times in the meantime, it works for me in all Moodle 2.x versions, the only necessary tweak was the new CFG setup in config.php (see example in config-dist.php if necessary).

I am not maintaining this plugin any more, hopefully somebody else steps up and updates the package and uploads it to the new plugins database at moodle.org/plugins. Alternatively you may try http://moodle.org/plugins/view.php?plugin=local_adminer

Petr

Show
Petr Škoda (skodak) added a comment - Hello, I have tried it a few times in the meantime, it works for me in all Moodle 2.x versions, the only necessary tweak was the new CFG setup in config.php (see example in config-dist.php if necessary). I am not maintaining this plugin any more, hopefully somebody else steps up and updates the package and uploads it to the new plugins database at moodle.org/plugins. Alternatively you may try http://moodle.org/plugins/view.php?plugin=local_adminer Petr
Hide
Karim Waljee added a comment -

I had the same issue. I placed the code in and then I renamed the file from "config.inc.php" to "config.php" and everything loads fine.

Show
Karim Waljee added a comment - I had the same issue. I placed the code in and then I renamed the file from "config.inc.php" to "config.php" and everything loads fine.
Hide
Karim Waljee added a comment -

I should have mentioned that I am on "2.0.3".

Thanks.

Show
Karim Waljee added a comment - I should have mentioned that I am on "2.0.3". Thanks.

People

Vote (3)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: