Solved

Moodle Issues

Posted on 2011-09-20
6
366 Views
Last Modified: 2012-05-12
I have a Moodle site that seems to hang after login.  I have transfered the site to 3 different servers including different hosting companies and still have the same issue.

It seems to be a database related issue.  Any suggestions would be appreciated.
0
Comment
Question by:dansagg
  • 3
  • 2
6 Comments
 
LVL 24

Expert Comment

by:johanntagle
ID: 36571646
What makes you suspect it is a database related issue?  Anyway try to observe the logs (apache, mysql, etc) as you try to log in.  Suggest you also try to replicate the setup in a local environment.
0
 
LVL 2

Expert Comment

by:Roy
ID: 36571906
when you say that you have tried it from 3 different server with different hosting companies deos that mean that you have deployed the Moodle on all 3 or you were trying to access the same Moodle instance with different server.
there are few things you can check:

1. when you login what happens next,, page tries to load and load but never reaches to the "My Moodle" or Home page?
2. does it showing any error in the apache, mysql or in the wbepage itself.
3. You can verify if you are able to login to MySQL DB from your web server using the username, password mentioned in "config.php" under moodle folder.
4. you can also enable "Debugging" to see the errors. you can directly access the debugging page via "http://yourmoodleserver.com/admin/setting.php?section=debugging. Debuging can be enabled via "config.php" as well. you can add these 2 line in config.php to enable debuging.
    $CFG->debug = 2047;
    $CFG->debugdisplay = 1;
We might be able to help more if we can see the erros it is throwing. hope this helps
0
 

Author Comment

by:dansagg
ID: 36574631

1.  It takes a really long time to get to the Home page (if it ever gets there)

4. I have enabled debugging and below is what I get:


parent does not exist!
line 875 of /lib/adminlib.php: call to debugging()
line 22 of /admin/settings/misc.php: call to admin_category->add()
line 5706 of /lib/adminlib.php: call to require()
line 2722 of /lib/navigationlib.php: call to admin_get_root()
line 2630 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 583 of /lib/pagelib.php: call to settings_navigation->initialise()
line 599 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 132 of /blocks/settings/block_settings.php: call to moodle_page->__get()
line 280 of /blocks/moodleblock.class.php: call to block_settings->get_content()
line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 895 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 947 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 342 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 9 of /theme/formal_white/layout/frontpage.php: call to block_manager->region_has_content()
line 650 of /lib/outputrenderers.php: call to include()
line 608 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line ? of unknownfile: call to core_renderer->header()
line 1245 of /lib/setuplib.php: call to call_user_func_array()
line 89 of /index.php: call to bootstrap_renderer->__call()
line 89 of /index.php: call to bootstrap_renderer->header()
parent does not exist!
line 875 of /lib/adminlib.php: call to debugging()
line 25 of /admin/settings/misc.php: call to admin_category->add()
line 5706 of /lib/adminlib.php: call to require()
line 2722 of /lib/navigationlib.php: call to admin_get_root()
line 2630 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 583 of /lib/pagelib.php: call to settings_navigation->initialise()
line 599 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 132 of /blocks/settings/block_settings.php: call to moodle_page->__get()
line 280 of /blocks/moodleblock.class.php: call to block_settings->get_content()
line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 895 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 947 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 342 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 9 of /theme/formal_white/layout/frontpage.php: call to block_manager->region_has_content()
line 650 of /lib/outputrenderers.php: call to include()
line 608 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line ? of unknownfile: call to core_renderer->header()
line 1245 of /lib/setuplib.php: call to call_user_func_array()
line 89 of /index.php: call to bootstrap_renderer->__call()
line 89 of /index.php: call to bootstrap_renderer->header()
parent does not exist!
line 875 of /lib/adminlib.php: call to debugging()
line 29 of /admin/settings/misc.php: call to admin_category->add()
line 5706 of /lib/adminlib.php: call to require()
line 2722 of /lib/navigationlib.php: call to admin_get_root()
line 2630 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 583 of /lib/pagelib.php: call to settings_navigation->initialise()
line 599 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 132 of /blocks/settings/block_settings.php: call to moodle_page->__get()
line 280 of /blocks/moodleblock.class.php: call to block_settings->get_content()
line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 895 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 947 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 342 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 9 of /theme/formal_white/layout/frontpage.php: call to block_manager->region_has_content()
line 650 of /lib/outputrenderers.php: call to include()
line 608 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line ? of unknownfile: call to core_renderer->header()
line 1245 of /lib/setuplib.php: call to call_user_func_array()
line 89 of /index.php: call to bootstrap_renderer->__call()
line 89 of /index.php: call to bootstrap_renderer->header()
parent does not exist!
line 875 of /lib/adminlib.php: call to debugging()
line 30 of /admin/settings/misc.php: call to admin_category->add()
line 5706 of /lib/adminlib.php: call to require()
line 2722 of /lib/navigationlib.php: call to admin_get_root()
line 2630 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 583 of /lib/pagelib.php: call to settings_navigation->initialise()
line 599 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 132 of /blocks/settings/block_settings.php: call to moodle_page->__get()
line 280 of /blocks/moodleblock.class.php: call to block_settings->get_content()
line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 895 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 947 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 342 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 9 of /theme/formal_white/layout/frontpage.php: call to block_manager->region_has_content()
line 650 of /lib/outputrenderers.php: call to include()
line 608 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line ? of unknownfile: call to core_renderer->header()
line 1245 of /lib/setuplib.php: call to call_user_func_array()
line 89 of /index.php: call to bootstrap_renderer->__call()
line 89 of /index.php: call to bootstrap_renderer->header()
parent does not exist!
line 875 of /lib/adminlib.php: call to debugging()
line 31 of /admin/settings/misc.php: call to admin_category->add()
line 5706 of /lib/adminlib.php: call to require()
line 2722 of /lib/navigationlib.php: call to admin_get_root()
line 2630 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 583 of /lib/pagelib.php: call to settings_navigation->initialise()
line 599 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 132 of /blocks/settings/block_settings.php: call to moodle_page->__get()
line 280 of /blocks/moodleblock.class.php: call to block_settings->get_content()
line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 895 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 947 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 342 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 9 of /theme/formal_white/layout/frontpage.php: call to block_manager->region_has_content()
line 650 of /lib/outputrenderers.php: call to include()
line 608 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line ? of unknownfile: call to core_renderer->header()
line 1245 of /lib/setuplib.php: call to call_user_func_array()
line 89 of /index.php: call to bootstrap_renderer->__call()
line 89 of /index.php: call to bootstrap_renderer->header()
parent does not exist!
line 875 of /lib/adminlib.php: call to debugging()
line 32 of /admin/settings/misc.php: call to admin_category->add()
line 5706 of /lib/adminlib.php: call to require()
line 2722 of /lib/navigationlib.php: call to admin_get_root()
line 2630 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 583 of /lib/pagelib.php: call to settings_navigation->initialise()
line 599 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 132 of /blocks/settings/block_settings.php: call to moodle_page->__get()
line 280 of /blocks/moodleblock.class.php: call to block_settings->get_content()
line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 895 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 947 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 342 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 9 of /theme/formal_white/layout/frontpage.php: call to block_manager->region_has_content()
line 650 of /lib/outputrenderers.php: call to include()
line 608 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line ? of unknownfile: call to core_renderer->header()
line 1245 of /lib/setuplib.php: call to call_user_func_array()
line 89 of /index.php: call to bootstrap_renderer->__call()
line 89 of /index.php: call to bootstrap_renderer->header()
parent does not exist!
line 875 of /lib/adminlib.php: call to debugging()
line 33 of /admin/settings/misc.php: call to admin_category->add()
line 5706 of /lib/adminlib.php: call to require()
line 2722 of /lib/navigationlib.php: call to admin_get_root()
line 2630 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 583 of /lib/pagelib.php: call to settings_navigation->initialise()
line 599 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 132 of /blocks/settings/block_settings.php: call to moodle_page->__get()
line 280 of /blocks/moodleblock.class.php: call to block_settings->get_content()
line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 895 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 947 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 342 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 9 of /theme/formal_white/layout/frontpage.php: call to block_manager->region_has_content()
line 650 of /lib/outputrenderers.php: call to include()
line 608 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line ? of unknownfile: call to core_renderer->header()
line 1245 of /lib/setuplib.php: call to call_user_func_array()
line 89 of /index.php: call to bootstrap_renderer->__call()
line 89 of /index.php: call to bootstrap_renderer->header()
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 2

Expert Comment

by:Roy
ID: 36578668
Can you please mention the following:

1. Moodle version
2. OS and Version
3. DB Type and Version
4. I hope you are able to connect to DB from your Moodle Server.
5. Did you upgrade to the version or this is a new installation ?

I would suggest you to upgrade or if New installation then install Moodle 2.1. Build (20117101). This is latest stable version which I am using in our production environment.

Also I searched and found that something related to this has been reported to Moodle with affected version Moodle 2.0:

http://tracker.moodle.org/browse/MDL-17817?page=com.atlassian.streams.streams-jira-plugin%3Aactivity-stream-issue-tab#issue-tabs

Please let me know the findings.
0
 

Accepted Solution

by:
dansagg earned 0 total points
ID: 36584749
I switched to new hosting company and things run normal
0
 

Author Closing Comment

by:dansagg
ID: 36708157
Switching worked so I'm sticking with it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Php  POSTGRES  "  IN SIDE "  " 4 59
MYSQL/PHP inserting 1969-12-31 instead of NULL 12 46
SQL inner join confusion 15 42
MySQL Grouping 2 22
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now