A required parameter (section) was missing

A required parameter (section) was missing

by Christian Cuzzoni -
Number of replies: 7

Hi, I've installed a brand new installation in my ubuntu server that is behind a firewall and got his ACL setted up. I'm in the pool of ip that can manage and administrate the server via ssh.

At the end of the installation I receive this message:

A required parameter (section) was missing

If I try to go to the index.php page of the site I receive a blank page. What's wrong? If you need further informations just let me know. I need to fix but I admit to not be exactly a super user of Moodle, since this is my first intallation on a firewalled server. 

I never had such problems with my previous server that wasn't protected by fireweall.

Thank in advance for everyone's willing to help.

Kind regards,

 

Chris

Average of ratings: -
In reply to Christian Cuzzoni

Re: A required parameter (section) was missing

by Christian Cuzzoni -

I add this as a follow message:

Debug info:
Error code: missingparam

Stack trace:

  • line 476 of /lib/setuplib.php: moodle_exception thrown
  • line 527 of /lib/moodlelib.php: call to print_error()
  • line 6 of /enrol/admin/settings.php: call to required_param()
  • line 3128 of /lib/pluginlib.php: call to include()
  • line 82 of /admin/settings/plugins.php: call to plugininfo_enrol->load_settings()
  • line 6264 of /lib/adminlib.php: call to require()
  • line 6284 of /lib/adminlib.php: call to admin_get_root()
  • line 1445 of /lib/upgradelib.php: call to admin_apply_
In reply to Christian Cuzzoni

Re: A required parameter (section) was missing

by Aaron Martin -

Hello Christian,

Did you ever find a solution to this problem? I am having an issue with the same variable as you.

I configured moodle for all Microsoft technologies on my local machine, then moved it to my webserver with just slight modifications to the config file.

I am guessing it is a setting on the server like request filtering but I haven't made much progress.

Thanks in advance.


In reply to Christian Cuzzoni

Re: A required parameter (section) was missing

by Aaron Martin -

Just to add a little, I have also echo'ed the variables to the screen when they are called by any function that uses them and I get the value I expect every time.

In reply to Christian Cuzzoni

Re: A required parameter (section) was missing

by Aaron Martin -

I don't know if you are still monitoring this post, but I checked the php error log file and it pointed me to the post size. My problem was that php could not post back more than 256bytes of data. Simply put my computer couldn't send the variable back to the server.

If this is your problem you can fix it by increasing the postsize setting in your php.ini file.

In reply to Aaron Martin

Re: A required parameter (section) was missing

by Rosa GF -

Hello

I am having this problem. Did you find a solution? Thanks smile

In reply to Rosa GF

Re: A required parameter (section) was missing

by Rosa GF -
After trying, the solution was to change:
  • upload_tmp_dir = "/var/moodledata/temp" in php.ini
  • mod_security = 0 in Apache
In reply to Rosa GF

Re: A required parameter (section) was missing

by Rosa GF -
Also Varnish was giving us problems with the sessions because it will log out the user when uploading a file, so for the moment we deactivate it for the site.