Tuesday , October 24 2017
Home / LMS / Solve : Moodle webpage redirect loop or not redirecting properly to fresh installation

Solve : Moodle webpage redirect loop or not redirecting properly to fresh installation

While creating a video tutorial of how to install Moodle in local computer I came across with an error of moodle fresh install not redirecting properly to fresh install.

Solution of how to fix redirect link point to  : http://localhost:8080/moodle-301/admin/index.php?sessionstarted=1&lang=en or admin/index.php?sessionstarted=1&lang=en

 

Solution # 1 : that solve my issue

  1. Locate your localdirectory folder and it’s in my case example : www/moodle-301/
  2. Got to Admin folder
  3. Click and open to the editor the : index.php
  4. search : index.php?sessionstarted=1&lang=$CFG->lang
  5. or redirect(“index.php?sessionstarted=1&lang=$CFG->lang”);
  6. in the line add to put it in comment : // redirect(“index.php?sessionstarted=1&lang=$CFG->lang”);
  7. Save the file
  8. Go to your > moodledata folder
  9. access > Sessions
  10. Delete all the file
  11. Now try to access your webpage new installed moodle

Solution # 2 (not solve my problem but might be your solution)

  1. un-install java or minimize java security
  2. clear cache of your browser
  3. restart your browser
  4. then do the steps number 8 to 11

Solution # 3

  1. Exit Skype
  2. or check the port # of your skype

 

Check Also

Solve : Increase Maximum file upload in Moodle

This tutorial will guide you how to increase the size upload or how to upload …

Leave a Reply

Your email address will not be published. Required fields are marked *

*