Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Moodle Issues

Posted on 2011-09-20
6
Medium Priority
?
398 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

636 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