Solved

Moodle Issues

Posted on 2011-09-20
6
365 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Since I am currently running into this issue right now as I type this, I though I would share my experiences with moving a ModX Revolution site from one server to another.  It is not an easy task, but can be accomplished rather easily. The first …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

19 Experts available now in Live!

Get 1:1 Help Now