Learning Management Tools

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

MySQL errors when viewing install modules page

  • 2015-01-28 07:49:20

    MySQL errors when viewing install modules page


    I was looking at the various modules that can be installed and I found errors at the top of the page

    Warning: array_keys() expects parameter 1 to be array, null given in /home/davidche/public_html/courses/mods/_core/modules/classes/Module.class.php on line 116

    Warning: Invalid argument supplied for foreach() in /home/davidche/public_html/courses/mods/_core/modules/classes/Module.class.php on line 117

    then below the install modules boxes there was this error repeated about 30 times

    Warning: in_array() expects parameter 2 to be array, string given in /home/davidche/public_html/courses/themes/default/admin/modules/install_modules.tmpl.php on line 134

    changing the theme to ATutor Classic did not remove the errors

    I believe this is a php version error because I have installed the same download on two different hosts, bluehost and siteground.

    These errors do not appear in the bluehost install but do appear in the siteground install.

    Yet both installs gave all green arrows when installing them.

    The default php version for siteground is 5.3.29 and can go to 5.5.17

    while the default php version for bluehost is 5.4

    I thank you in advance for your response

  • 2015-01-28 08:27:03

    Re: MySQL errors when viewing install modules page


    I had to patch the files the last 007 was to remove a number of errors that had plagued ATutor 2.2

    No More MySQL error messages.

    Thank You

    Jim Barnes