General help

 
 
I don't realy look like this.Honest!
No valid arguments supplied or incorrect server configuration when running a course.
 

I've recently installed moodle Moodle 2.5+ (Build: 20130621) on 1and1 and get the error "No valid arguments supplied or incorrect server configuration"

when running a course.

It goes through the motions of opening but give the error just before it opens.

 
Average of ratings: -
I don't realy look like this.Honest!
Re: No valid arguments supplied or incorrect server configuration when running a course.
 

I've loged a call with 1and1 and the general answer is they don't support moodle.

 
Average of ratings: -
Gmads
Re: No valid arguments supplied or incorrect server configuration when running a course.
Group Particularly helpful MoodlersGroup Testers

Hi James,

The error is displayed, when opening (entering into) a course, or when opening (using) a resource or an activity in a course?

This error message seems to be related to the Use slash arguments:

http://docs.moodle.org/25/en/HTTP

and special characters in file names and/or with the SCORM activity.

Some possible pointers:

https://moodle.org/mod/forum/discuss.php?d=190335

As you are with 1 & 1, you might also want to take a look at:

https://moodle.org/mod/forum/discuss.php?d=199054

For more info, look through the search result page.

 
Average of ratings: -
I don't realy look like this.Honest!
Re: No valid arguments supplied or incorrect server configuration when running a course.
 

Thanks Guillermo.

That looks like the fix I'll give it a go.

and post back.

 

 
Average of ratings: -
Picture of Ian Cockram
Re: No valid arguments supplied or incorrect server configuration when running a course.
 

Any luck James? Or does anyone else have an idea how to solve this problem?

I am also having the same problem as it seems and really need to fix it. I am also with 1&1.

Currently my 'server' > 'http' settings has the slash arguments unchecked.

 
Average of ratings: -
Picture of Ian Cockram
Re: No valid arguments supplied or incorrect server configuration when running a course.
 

Wow, five minutes later and I have solved the problem with the help of David in another thread:

Re: Can't allow slash arguments to use SCORM packages - Fixed!
by David Delgado - Saturday, 24 March 2012, 6:03 AM
 

Fixed. I just had to create a php.ini file in the moodle directory with this content:

cgi.fix_pathinfo = 0

It was a know bug when using PHP as CGI.

 
Average of ratings: -
Gmads
Re: No valid arguments supplied or incorrect server configuration when running a course.
Group Particularly helpful MoodlersGroup Testers

Yes, that info is at the third post of the thread I referenced above:

As you are with 1 & 1, you might also want to take a look at:

https://moodle.org/mod/forum/discuss.php?d=199054

It sometimes makes one wonder...

 
Average of ratings: -
Picture of Gurdain Rayatt
Re: No valid arguments supplied or incorrect server configuration when running a course.
 

Hopefully I can get some help

Also with 1&1 shared on Moodle 2.6

SCORM not loading - have got slash setting unchecked (otherwise the site looks broken)

Tried adding cgi fix to php.ini in moodle folder

Tried the acceptpath in php.ini and .htaccess

What's weird is SCORM worked fine on 1&1 when we were using Moodle version 1.9....

I recently ran a full upgrade (1.9 > 2.2 > 2.5 > 2.6)

I have no problems hosting this on my machine and two other machines - its 1&1 where it stops working...

Turned on debugging and I get:

No valid arguments supplied or incorrect server configuration

Debug info:
Error code: invalidargorconf
Stack trace:
  • line 463 of /lib/setuplib.php: moodle_exception thrown
  • line 3844 of /lib/filelib.php: call to print_error()
  • line 37 of /pluginfile.php: call to file_pluginfile()
 
Average of ratings: -