ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Error with SetEnv


  • 2015-02-17 08:12:21

    Error with SetEnv

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -Linux 2.6.32-531.29.2.lve1.3.11.1.el6.x86_64
    ATutor version - 2.1.1
    Patch #s applied -
    ATutor theme name -
    PHP version -5.4.36
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -FireFox
    ...and anything else relevant -

    Hi - our LMS has been hanging or very slow on occasion. On checking error logs, we have a lot similar to the below:

    /home/mycourse/public_html/ATutor/mods/_standard/flowplayer/.htaccess: Invalid command 'SetEnv', perhaps misspelled or defined by a module not included in the server configuration, referer: http://*********.co.uk/ATutor/mods/_core/editor/edit_content_folder.php?cid=421

    I checked with our host and they say 'SetEnv' is not available on the server. Is there a solution to this?
    Would creating a cache folder help - if so, is it just a matter of creating a folder on the server and naming it in preferences? and what about the Apache mod_rewrite setting? Is that relevant?

    Thanks for any suggestions
    Jim

  • 2015-02-17 09:05:43

    Re: Error with 'SetEnv'

    Try this:
    http://stackoverflow.com/questions/5764469/zend-setenv-in-htaccess-not-working

  • 2015-02-17 11:33:15

    Re: Error with 'SetEnv'

    Thanks for responding Greg...but now I realise how little I know. It might just as well be written in Chinese. I'm a point and click person with a 'bit' of knowledge. Is there a way to make this simple?
    Cheers
    Jim

  • 2015-02-17 11:43:29

    Re: Error with 'SetEnv'

    Unfortunately it is a server setting, that would probably need your sysadmin to adjust.

    I'm not sure what the consequence might be, but you could try commenting out the offending line in the .htaccess file and see if that helps (adding # to the start of the line). Once you do that, check any embedded videos to see if they still play properly.

    It's a Flowplayer issue, so if it continues to be a problem, you could try the Flowplayer community, and see if they have suggestions.

    https://flowplayer.org/

  • 2015-02-17 12:01:29

    Re: Error with 'SetEnv'

    Hi greg
    Sorted !

    Did as you suggested, logged into LMS, opened a course and then checked the logs - no further errors. We don't have any videos in the courses, so hopefully, shouldn't be an issue.

    Thanks for your excellent help once again.:)
    Cheers
    Jim