iomad / iomad Goto Github PK
View Code? Open in Web Editor NEWIomad
License: GNU General Public License v3.0
Iomad
License: GNU General Public License v3.0
.-..-. _____ | || | /____/-.---_ .---. .---. .-.| || | .---. | | _ _ |/ _ \/ _ \/ _ || |/ __ \ * | | | | | || |_| || |_| || |_| || || |___/ |_| |_| |_|\_____/\_____/\_____||_|\_____) 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.
a few of the iomad admin and report pages are giving a $PAGE notice when accessed by and admin with no company selected.
The activity edit menu wasn't present when inside it with admin rights. There was no icon.
moved manageclass.php to view.php, updated icon, updated lib.php to reflect some required changes.
Using eldms_ instead of iomad_. Hang over from old system.
User requesting approval to attend a training event
Fatal error: Call to undefined method company::get_my_managers() in /var/www/iomad26test/mod/trainingevent/view.php on line 150
Need to have the following
block/iomad_reports:view
local_report_attendance:view
local_report_completion:view
local_report_users:view
local_report_scorm_overview:view
It should have the option to go back to the dashboard.
“book another user to this event”
Firstly this shows even when event is in the past.
getting error required param eventid missing when clicking search. Also no users are being listed.
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.
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
line 525 of /lib/moodlelib.php: coding_exception thrown
line 41 of /mod/trainingevent/searchusers.php: call to required_param()
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()
When applying Iomad code to a Moodle site, the unassigned courses are not being displayed in the Assign courses to company pages as they already exist in the IOmad_courses table.
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
I have been create company, manage departments, assign department users...but can´t find the option to delete a company.
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()
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?
Notice: Undefined property: stdClass::$cmidnumber in ...iomad25/course/modlib.php on line 185
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
Selecting an Open shared course in the Iomad completion report is not displaying users.
The custom logo feature in the Iomad theme is broken. A link to the file is generated but it seems to be wrong.
Fatal error: Class 'company_user' not found in /var/www/iomad26test/local/iomad/lib/iomad.php on line 40
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
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()
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
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
Displaying some odd page.
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()
Adding courses to company page lists unassigned courses twice.
These notices appear...
( ! ) Notice: Undefined index: iomad_approve_access in /Library/WebServer/Documents/iomad25/lib/pluginlib.php on line 3027
Call Stack
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
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
e.g. http://demo.iomad.org/blocks/iomad_company_admin/iomad_courses_form.php
Main content white panel width should grow to fit all content or should allow scrolling.
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
Various forms are missing the setType() method which is shown in the debugging notifications
No company theme is being set for a user on creation or assignment to a company.
Add user page
Where is cancel button supposed to go – when I tried it after adding a user it went to add user page
"Imagine it quite easy for someone to accidentally move someone to a different training session not realizing it auto-executes when they look at dropdown.
Isnt it normal for moodle forms to not be in edit mode initially unless chosen?"
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');
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
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
not just those in the company
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?
"I love the simplicity of the putting a grade in here, but you have to put one in, hit grade for them, and so on, with 20 ppl that’s 20 page reloads. Any chance of a grade all instead or as well?"
When uploading users via CSV and selecting a course the users are not assigned to the courses 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
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()
/var/www/iomad/iomad/mod/trainingevent/mod_form.php on line 32
textlib_get_instance() is deprecated. Please use static calling textlib::functioname() instead.
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()
As above... missing string warnings
Company and department managers are not getting access to the local iomad reports on a fresh install. The capability being assigned in the install.php is malformed.
GIving a non iomad theme to a company. User in that company is not getting the company theme.
A training event activity always says "This training event is no longer available" regardless of the settings of the start and end time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.