ATutor

Learning Management Tools







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


Errors


  • 2006-05-04 17:10:18

    Errors

    Hi.

    Like stated in an other post, I'm new to ATutor. I've installed it own my testing server, and now I'm getting all these errors;
    [quote]
    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 223

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 223

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 223

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 223

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 223

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 217

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in ***\ATutor\include\classes\Module\Module.class.php on line 223

    Warning: Cannot modify header information - headers already sent by (output started at ***\ATutor\include\classes\Module\Module.class.php:217) in ***\ATutor\login.php on line 158

    Warning: Cannot modify header information - headers already sent by (output started at ***\ATutor\include\classes\Module\Module.class.php:217) in ***\ATutor\include\header.inc.php on line 17

    Warning: Cannot modify header information - headers already sent by (output started at ***\ATutor\include\classes\Module\Module.class.php:217) in ***\ATutor\include\classes\Language\Language.class.php on line 123
    [/quote]

    I'm using the newest version of ATutor with PHP 5.1.2 on Apache 2.0.x. During installation, everything validates correct and no errors pop up. Also, I'm using a Windows XP installation with Firefix as browser. I haven't altered any settings, because I simply can't reach them.

    What to do?

    yours, Martijn

  • 2006-05-04 17:49:30

    Re: Errors

    Use the Search tool to find "array_merge_recursive"

  • 2006-05-04 18:08:29

    Re: Errors

    modify the lines 217 and 223 like this
    217--->$_pages = array_merge_recursive((array)$_pages, $this->_pages);


    223->$_stacks = array_merge((array)$_stacks, $this->_stacks);

  • 2006-05-04 18:09:51

    Re: Errors

    sorry modify this file--->Atutor/include/classes/Module/Module.class.php


    bye

  • 2006-05-05 03:42:11

    Re: Errors

    Thanks sianoremece, it works now.

    yours, Martijn

  • 2006-05-05 09:06:20

    Re: Errors

    you're welcome


    Orlando

  • 2006-07-02 02:30:20

    Re: Errors

    because i had the same error i just like to say thanks for the explanation, sianaremece...