Giter Club home page Giter Club logo

iomad's Introduction

                                 .-..-.
   _____                         | || |
  /____/-.---_  .---.  .---.  .-.| || | .---.
  | |  _   _  |/  _  \/  _  \/  _  || |/  __ \
  * | | | | | || |_| || |_| || |_| || || |___/
    |_| |_| |_|\_____/\_____/\_____||_|\_____)

Moodle - the world's open source learning platform

Moodle <https://moodle.org> is a learning platform designed to provide
educators, administrators and learners with a single robust, secure and
integrated system to create personalised learning environments.

You can download Moodle <https://download.moodle.org> and run it on your own
web server, ask one of our Moodle Partners <https://moodle.com/partners/> to
assist you, or have a MoodleCloud site <https://moodle.com/cloud/> set up for
you.

Moodle is widely used around the world by universities, schools, companies and
all manner of organisations and individuals.

Moodle is provided freely as open source software, under the GNU General Public
License <https://moodledev.io/general/license>.

Moodle is written in PHP and JavaScript and uses an SQL database for storing
the data.

See <https://docs.moodle.org> for details of Moodle's many features.

iomad's People

Contributors

abgreeve avatar andrewnicols avatar andyjdavis avatar ankitagarwal avatar danmarsden avatar danpoltawski avatar huongnv13 avatar ilyatregubov avatar jamiepratt avatar jleyva avatar junpataleta avatar lameze avatar marinaglancy avatar mdjnelson avatar mickhawkins avatar moodler avatar mouneyrac avatar mudrd8mz avatar paulholden avatar rezaies avatar ryanwyllie avatar sammarshallou avatar sarjona avatar skodak avatar snake avatar stronk7 avatar timhunt avatar turf212 avatar vmdef avatar wildgirl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iomad's Issues

problem with approve access block on upgrade

Get notice -

Error writing to database

More information about this error

Debug info: Field 'parentcontextid' doesn't have a default value
INSERT INTO mdl_block_instances (blockname) VALUES(?)
[array (
0 => 'iomad_approve_access',
)]
Error code: dmlwriteexception
Stack trace:
line 444 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1080 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1122 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 38 of /blocks/iomad_approve_access/db/install.php: call to mysqli_native_moodle_database->insert_record()
line 839 of /lib/upgradelib.php: call to xmldb_block_iomad_approve_access_install()
line 397 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
line 1580 of /lib/upgradelib.php: call to upgrade_plugins()
line 431 of /admin/index.php: call to upgrade_noncore()

Block installs but is not put into dashboard.

Multiple SCORM items causing issues with scorm report

Did you remember to make the first column something unique in your call to get_records? Duplicate value '4' found in column 'id'.

Notice: Undefined offset: 3 in /var/www/iomad/iomad/local/report_scorm_overview/index.php on line 175 Notice: Undefined offset: 2 in /var/www/iomad/iomad/local/report_scorm_overview/index.php on line 175

Error given when the manager has no users.

When I click the button for showing attendees....

Error reading from database

More information about this error

Debug info: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to
use near ')' at line 3
SELECT userid AS id FROM mdl_trainingevent_users
WHERE trainingeventid=5
AND userid IN ()
[array (
)]
Error code: dmlreadexception
Stack trace:

line 423 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 1005 of /lib/dml/mysqli_native_moodle_database.php: call to
moodle_database->query_end()
line 676 of /mod/trainingevent/manageclass.php: call to
mysqli_native_moodle_database->get_records_sql()

Veiwing completion report in debug gives an error.

Notice: Trying to get property of non-object in /var/www/iomad/iomad/local/iomad/lib/company.php on line 457 Notice: Trying to get property of non-object in /var/www/iomad/iomad/local/report_completion/index.php on line 159

Company Delete

I have been create company, manage departments, assign department users...but can´t find the option to delete a company.

Unassigned user getting an error when logging in.

If a user is not assigned to a company and logs into the site they get the following error.

error/There has been a configuration error, please contact the site administrator

More information about this error

Debug info:
Error code: There has been a configuration error, please contact the site administrator
$a contents:
Stack trace:
line 463 of /lib/setuplib.php: moodle_exception thrown
line 42 of /local/iomad/lib/iomad.php: call to print_error()
line 920 of /lib/coursecatlib.php: call to iomad::get_my_companyid()
line 1476 of /lib/coursecatlib.php: call to coursecat::get_course_records()
line 2096 of /course/renderer.php: call to coursecat->get_courses()
line 230 of /index.php: call to core_course_renderer->frontpage_available_courses()

Missing capabilities lang strings

Invalid get_string() identifier: 'trainingevent:addinstance' or component 'mod_trainingevent'. Perhaps you are missing $string['trainingevent:addinstance'] = ''; in mod/trainingevent/lang/en/trainingevent.php?

Invalid get_string() identifier: 'iomad_approve_access:addinstance' or component 'block_iomad_approve_access'. Perhaps you are missing $string['iomad_approve_access:addinstance'] = ''; in /var/www/iomad/iomad/blocks/iomad_approve_access/lang/en/block_iomad_approve_access.php?

Invalid get_string() identifier: 'iomad_approve_access:approve' or component 'block_iomad_approve_access'. Perhaps you are missing $string['iomad_approve_access:approve'] = ''; in /var/www/iomad/iomad/blocks/iomad_approve_access/lang/en/block_iomad_approve_access.php?

Invalid get_string() identifier: 'iomad_approve_access:myaddinstance' or component 'block_iomad_approve_access'. Perhaps you are missing $string['iomad_approve_access:myaddinstance'] = ''; in /var/www/iomad/iomad/blocks/iomad_approve_access/lang/en/block_iomad_approve_access.php?

Training event mod_form validation not compatible.

Strict Standards: Declaration of mod_trainingevent_mod_form::validation() should be compatible with that of moodleform_mod::validation() in /var/www/iomad/iomad/mod/trainingevent/mod_form.php on line 32

Error when logged in as a standard user and using the navigation

Notice: Undefined variable: USER in /var/www/iomad/iomad/lib/navigationlib.php on line 1394 Notice: Trying to get property of non-object in /var/www/iomad/iomad/lib/navigationlib.php on line 1394 Notice: Trying to get property of non-object in /var/www/iomad/iomad/lib/navigationlib.php on line 1397 Notice: Trying to get property of non-object in /var/www/iomad/iomad/lib/navigationlib.php on line 1403

Going to dashboard after creating a user gives an error.

Debug info: Unknown column 'cc.approvaltype' in 'on clause'
SELECT beae.* FROM mdl_block_iomad_approve_access beae
RIGHT JOIN mdl_trainingevent cc ON cc.id=beae.activityid
AND cc.approvaltype in (1,3)
WHERE beae.companyid=? AND beae.manager_ok = 0
AND beae.userid != ?
AND beae.userid
IN (3)
[array (
0 => '1',
1 => '2',
)]
Error code: dmlreadexception
Stack trace:
line 423 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 1005 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 68 of /blocks/iomad_approve_access/lib.php: call to mysqli_native_moodle_database->get_records_sql()
line 48 of /blocks/iomad_approve_access/block_iomad_approve_access.php: call to approve_enrol_has_users()
line 292 of /blocks/moodleblock.class.php: call to block_iomad_approve_access->get_content()
line 238 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 951 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1003 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 355 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
line 26 of /theme/iomad/layout/dashboard.php: call to core_renderer->standard_head_html()
line 860 of /lib/outputrenderers.php: call to include()
line 790 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line ? of unknownfile: call to core_renderer->header()
line 1589 of /lib/setuplib.php: call to call_user_func_array()
line 212 of /local/iomad/lib/blockpage.php: call to bootstrap_renderer->__call()
line 212 of /local/iomad/lib/blockpage.php: call to bootstrap_renderer->header()
line 58 of /local/iomad_dashboard/index.php: call to blockpage->display_header()

Creating a user gives a standards error

When creating a user get the following error

Strict Standards: Creating default object from empty value in /var/www/iomad/iomad/local/iomad/lib/user.php on line 300

Editing topic 1 as a teacher produces this error

However, we have now found that the course edit functions are fubar'd.
I'll email the login details for the site, but the situation is now as follows:
Created a company manager (teacher)
Logged in as teacher
Created course
Go to course, enable editing
Select edit topic one... after a wait of about a minute, a huge amount of debug code is output to the browser

Summary of Topic 1
Array ( [OUTPUT] => core_renderer Object ( [contenttype:protected] => text/html; charset=utf-8 [metarefreshtag:protected] => [unique_end_html_token:protected] => %%ENDHTML-beHroJsLu1%% [unique_performance_info_token:protected] => %%PERFORMANCEINFO-beHroJsLu1%% [unique_main_content_token:protected] => [MAIN CONTENT GOES HERE - beHroJsLu1] [opencontainers:protected] => xhtml_container_stack Object ( [opencontainers:protected] => Array ( [0] => stdClass Object ( [type] => header/footer [closehtml] =>

You are logged in as Teachers McWhisky (Logout)

hmp
%%PERFORMANCEINFO-beHroJsLu1%% .
.
%%ENDHTML-beHroJsLu1%% ) ) [log:protected] => Array ( ) [isdebugging:protected] => ) [page:protected] => moodle_page Object ( [_state:protected] => 2 [_course:protected] => stdClass Object ( [id] => 3 [category] => 3 [sortorder] => 10001 [fullname] => Health Management Plus [shortname] => hmp [idnumber] => [summary] => [summaryformat] => 1 [forma etc etc

Training event does not have standard capability

On course page with editing turned on.
The module trainingevent does not define the standard capability mod/trainingevent:addinstance
line 2044 of /course/lib.php: call to debugging()
line 1136 of /course/lib.php: call to course_allowed_module()
line 373 of /course/renderer.php: call to get_module_metadata()
line 726 of /course/format/renderer.php: call to core_course_renderer->course_section_add_cm_control()
line 56 of /course/format/topics/format.php: call to format_section_renderer_base->print_multiple_section_page()
line 287 of /course/view.php: call to require()

Notices on installation during 'System' part

These notices appear...

( ! ) Notice: Undefined index: iomad_approve_access in /Library/WebServer/Documents/iomad25/lib/pluginlib.php on line 3027
Call Stack

Time Memory Function Location

1 0.0014 384552 {main}( ) ../index.php:0
2 5.3849 28617000 install_core( ) ../index.php:210
3 21.6557 29442144 admin_apply_default_settings( ) ../upgradelib.php:1496
4 21.6557 29442504 admin_get_root( ) ../adminlib.php:6463
5 26.6903 31598912 require( '/Library/WebServer/Documents/iomad25/admin/settings/plugins.php' ) ../adminlib.php:6443
6 26.9389 34594184 plugininfo_block->load_settings( ) ../plugins.php:36

( ! ) Notice: Trying to get property of non-object in /Library/WebServer/Documents/iomad25/lib/pluginlib.php on line 3027
Call Stack

Time Memory Function Location

1 0.0014 384552 {main}( ) ../index.php:0
2 5.3849 28617000 install_core( ) ../index.php:210
3 21.6557 29442144 admin_apply_default_settings( ) ../upgradelib.php:1496
4 21.6557 29442504 admin_get_root( ) ../adminlib.php:6463
5 26.6903 31598912 require( '/Library/WebServer/Documents/iomad25/admin/settings/plugins.php' ) ../adminlib.php:6443
6 26.9389 34594184 plugininfo_block->load_settings( ) ../plugins.php:36

Sending emails to advertise training event.

Notice: Trying to get property of non-object in /var/www/iomad/iomad/local/iomad/lib/company.php on line 660 Notice: Trying to get property of non-object in /var/www/iomad/iomad/local/iomad/lib/company.php on line 660
You should really redirect before you start page output
line 741 of /lib/outputrenderers.php: call to debugging()
line 2577 of /lib/weblib.php: call to core_renderer->redirect_message()
line 513 of /mod/trainingevent/manageclass.php: call to redirect()
Emails have been sent

Forms missing setType()

Various forms are missing the setType() method which is shown in the debugging notifications

Error adding company on clean iomad install

After adding a first company to Iomad, with a logo the dashboard doesnt load anymore and throws the following error:

( ! ) Warning: require_once(/opt/moodle/iomad/local/perficio/lib/company.php): failed to open stream: No such file or directory in /opt/moodle/iomad/blocks/iomad_approve_access/lib.php on line 32

I think line 32 and 33 of the aforementioned file should read:

    require_once($CFG->dirroot.'/local/iomad/lib/company.php');
    require_once($CFG->dirroot.'/local/iomad/lib/user.php');

Unable to create course

When trying to create a course, via the IOMAD dashboard, the operation fails with Coding error detected, it must be fixed by a programmer: invalid enrol instance!

Looking at the server log, PHP reports:

[24-Mar-2014 06:08:01 America/New_York] Default exception handler: Coding error
detected, it must be fixed by a programmer: invalid enrol instance! Debug:
Error code: codingerror

  • line 1261 of /lib/enrollib.php: coding_exception thrown
  • line 203 of /local/iomad/lib/user.php: call to enrol_plugin->enrol_user()
  • line 285 of /local/iomad/lib/company.php: call to company_user::enrol()
  • line 253 of /blocks/iomad_company_admin/company_course_create_form.php: call to company->add_course()

The ‘manual’ enrolment plugin is enabled, and the default role for that enrolment is ‘student’.

However, we have tested and the bug is not replicated on the IOMAD demo site. The code on our IOMAD evaluation site was pulled from the IOMAD git repo this morning, and the bug still exists.

PHP version:
PHP 5.4.15-1~lucid+1 (cli) (built: May 12 2013 15:48:50)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Company Themes

Just installed IOMAD Moodle 2.5.4+ (Build: 20140117).

Configure some company and define some different themes for each one of them, still after that when login is a user for that company it remains the main theme defined in the admin account. It´s only me?

Upload of users vi CSV file to company doesn't work properly

Selected a company

User Management > Upload User

If I enrol them on a course and then go to edit user there are non. If I go to users in Moodle users they are there.

If I go to course management > users enrolment there are no users to pick

If when doing the upload user I enrol them on a course then course management > users enrolments
when I select the course the uploaded users were assigned to it shows there are enrolments but does not list them

Error on training event access by a user.

When a user tried to access the training event.
http://ubuntuserver/iomad/iomad/mod/trainingevent/manageclass.php?id=1

Coding error detected, it must be fixed by a programmer: required_param() requires $parname and $type to be specified (parameter: id)
More information about this error
Debug info:
Error code: codingerror
Stack trace:
line 525 of /lib/moodlelib.php: coding_exception thrown
line 31 of /mod/trainingevent/manageclass.php: call to required_param()

Deprecated function

/var/www/iomad/iomad/mod/trainingevent/mod_form.php on line 32
textlib_get_instance() is deprecated. Please use static calling textlib::functioname() instead.

Deprecated call in company edit form

mark_context_dirty() is deprecated, please use $context->mark_dirty() instead.
line 4310 of /lib/deprecatedlib.php: call to debugging()
line 386 of /blocks/iomad_company_admin/company_edit_form.php: call to mark_context_dirty()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.