ATutor

Learning Management Tools







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


Group problem


  • 2006-10-16 07:13:43

    Group problem

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

    Things to describe:
    operating system -linux
    version of ATutor -1.5.3
    versions of php -php5
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -firefox
    and anything else relevant -

    Hi,
    Thanks for a great lcms.

    My problem;
    When i try to enter a group, after successfully created one, this error appear:


    Warning: implode() [function.implode]: Bad arguments. in /home/grisen/public_html/ATutor/groups.php on line 25


    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/grisen/public_html/ATutor/groups.php on line 31

    This error also show up when i try to enter file storage. Everything else seem to work fine.

    Maybe itś something with chmod??

    Thanks in advance

  • 2006-10-16 09:05:31

    Re: Group problem

    I'm unable to reproduce this problem. We'll need more details. step-by-step.

    Are you able to reproduce the problem on the demo site?
    http://www.atutor.ca/atutor/demo.php

    You should try version 1.5.3.2.

  • 2006-10-17 07:29:46

    Re: Group problem

    Hi again, the problem still apears. I cant reproduce it on the demo site. eg it works fine there.

    In my attachment there is a picture showing the error after one click on the links button.

    Thanks for taking time for me..

  • 2006-10-17 08:32:54

    Re: Group problem

    I would suggest reinstalling.

    If difficult to help if we don't know anything about the system ATutor is running on. Details please....

  • 2006-10-17 10:56:38

    Re: Group problem

    ATutor Version: 1.5.3.2 (build r6554 - 2006-08-01 13:15:50)
    Operating System: Linux 2.6.9-42.0.3.EL #1 Fri Oct 6 05:59:54 CDT 2006 i686
    Web Server: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
    PHP Version: 4.4.3
    MySQL Version: 4.1.21-standard
    ?Optional URL: http://72.29.92.243/~grisen/ATutor2/


    Hi again!
    Reinstalld ATutor (fresh, new install) and same problem apperars...i really have no idea...:(
    Something on serverside?

    Thanks anyway

  • 2006-10-18 05:17:39

    Re: Group problem

    And if i try to Mange Links:

    Warning: implode() [function.implode]: Bad arguments. in /home/grisen/public_html/ATutor/include/lib/links.inc.php on line 84

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/grisen/public_html/ATutor/include/lib/links.inc.php on line 118

    Warning: Cannot modify header information - headers already sent by (output started at /home/grisen/public_html/ATutor/include/lib/links.inc.php:84) in /home/grisen/public_html/ATutor/include/header.inc.php on line 17

    Warning: Cannot modify header information - headers already sent by (output started at /home/grisen/public_html/ATutor/include/lib/links.inc.php:84) in /home/grisen/public_html/ATutor/include/classes/Language/Language.class.php on line 123

  • 2006-10-18 10:08:31

    Re: Group problem

    Please try a nightly build from here: http://atutor.ca/atutor/builds/ATutor-snap_2006_10_18.tar.gz

  • 2006-10-20 04:54:09

    Re: Group problem

    Im sorry, it doesnt help with that nightly build. The strange error comes up...
    There should be more people out there having the same problem?

    Apreciate all kind of tips!

    regards

  • 2006-10-20 11:02:59

    Re: Group problem

    Did you re-install ATutor using the nightly build?

    Are you using a language other than English?

    Does this error appear as an instructor or as a student?

  • 2006-10-23 04:32:56

    Re:Implode problem

    Hi again!

    1. Yes, i re-installed ATutor using the nightly build.

    2. I only used English while testing this nightly build.

    3. This error (implode ....) appear both as instructor and as student.

    Im lost...

  • 2006-10-23 15:20:27

    Re:Implode problem

    ..when i change line 95 in links/index.php like this:
    from:
    //get links
    $groups = implode(',', $_SESSION['groups']);

    to:

    //get links
    $groups = ($_SESSION['groups']);

    it works, but yes, i know, thats not the way to solve it correct..

  • 2006-10-23 15:30:24

    register globals

    do you have register globals enabled?

  • 2006-10-24 06:26:27

    Re: register globals

    Are there any students registered for the class? If so yu go to manage groups. Then using the members link you find the students you want in the group and add them using the button meunu.

  • 2006-10-24 09:12:28

    Re: register globals

    register_argc_argv On On
    report_memleaks On On
    safe_mode Off Off
    [b]register_globals On On [/b]

    ..so they are enabled and set to ON...

  • 2006-10-24 11:08:26

    Re: register globals

    Try disabling register globals and letting us know if that fixes the problem.

  • 2006-10-24 16:40:14

    Re: register globals

    When i have register_globals off in .htaccess, i get internal server error.

    I have my site on a host and can not change in php.ini.

    Suggestions?

  • 2006-10-24 16:43:54

    Re: register globals

    when i have register_globals off in .htaccess i get internal server error..

    as i have my site on a host i cant modify php.ini..

    suggestions?

  • 2006-10-26 11:33:54

    Re: register globals

    Hi once again,
    It think the problem is solved.

    ATutor works om my local linux slackware, without errors so far.
    Here is register globals off by default.

    So now i wonder how to turn them off at my host. I tried to put a line in .htaccess, but get Internal server error...

    Someone has an idea?

    Thanks in advance

  • 2006-10-26 14:59:34

    Re: register globals

    You should probably ask your host to do that for you.

  • 2006-10-27 06:53:36

    Re: register globals

    Hi again,

    I think i have solved the problem getting register globals off.
    The host provider has register globals on as default, and recommend me to put a php.ini -file with "register globals off" in all folders using the register script. The errors disapeared !

    So i hope this is a good way to solve the problem..

    /Thank you