not reading defaults.php

not reading defaults.php

par Ronald Vyhmeister,
Nombre de réponses : 6

I've had all kinds of grief, since I can't use the slashes, and I can't get the correct value read from lib/defaults.php.  I have repeatedly set it to 0, and it insists it is 1.  I have even tried to manually set $CFG->slasharguments==0; to no avail...

I'm getting around it now by just commenting out the lines in the if statements...  I am running apache 2.0 with Php 4.3.3 with GC 2.0 or above...

Any suggestions are appreciated.

Moyenne des évaluations  -
En réponse à Ronald Vyhmeister

Re: not reading defaults.php

par Martin Dougiamas,
Avatar Core developers Avatar Documentation writers Avatar Moodle HQ Avatar Particularly helpful Moodlers Avatar Plugin developers Avatar Testers
Those methods won't work - just use the GUI sourire ... there is a setting for slasharguments in Admin -> Configuration -> Variables
En réponse à Martin Dougiamas

Re: not reading defaults.php

par Ronald Vyhmeister,
<P>That did work, after finally finding the option... It was not the easiest to find :-(</P>
<P>At the same time, it would be interesting to know how to identify what systems will and won't work with the slash (/).&nbsp; What does it take?&nbsp; I like the caching idea...</P>
<P>Ron</P>
En réponse à Ronald Vyhmeister

Re: not reading defaults.php

par Martin Dougiamas,
Avatar Core developers Avatar Documentation writers Avatar Moodle HQ Avatar Particularly helpful Moodlers Avatar Plugin developers Avatar Testers
Almost every system (including your Apache 2) should work - see the FAQ: http://moodle.org/doc/?frame=faq.html&sub=filenotfound

(Also, if you are using the Richtext editor to post here don't change the format to "plain text", because all the HTML tags are displayed in full. Just leave the setting as HTML.)
En réponse à Martin Dougiamas

Re: not reading defaults.php

par Ronald Vyhmeister,

I have tried the solutions there, putting it both in the httpd.conf and the .htaccess in the moodle home directory, but to no avail...

Given I'm working on a relatively low-speed link, the ability of people off-campus to cache the result is quite important to us.

Thanks,

Ron

En réponse à Ronald Vyhmeister

Re: not reading defaults.php

par Martin Dougiamas,
Avatar Core developers Avatar Documentation writers Avatar Moodle HQ Avatar Particularly helpful Moodlers Avatar Plugin developers Avatar Testers
Did you restart Apache after making the changes to httpd.conf? What OS are you using?