PHP Developer / Moodle Developer

PHP Moodle Developer
Bartosz
Hornik
About me I'm PHP developer with 13 years of experience. I've prepared Moodle/Totara custom development for last 5 years. I built my first software when I was 9 years old. Welcome to my site!

Częstochowa, Poland
+48 668 690 844
bartosz.hornik@gmail.com
www.internetstudio.pl

Moodle upgrade from 3.0 to 3.3 issues

Back to Moodle code tips

# moodle upgrade

During upgrading the Moodle from version 3.0 to 3.3 we have encountered difficulties which break the site. Upgrading process was call from CLI:
php admin/cli/upgrade.php
and as result we have got:
Default exception handler: "DDL sql execution" Debug: Table 'mdl_enrol_lti_tools' already exists
I was looking like Moodle didn't know that all needed DB upgrades was done already and try to recall them again. These SQL queries have helped:

INSERT INTO mdl_config_plugins (plugin, name, value) VALUES
( 'enrol_lti', 'version', '2017051500'),
( 'enrol_lti', 'emaildisplay', '2'),
( 'enrol_lti', 'city', ''),
( 'enrol_lti', 'country', ''),
( 'enrol_lti', 'timezone', '99'),
( 'enrol_lti', 'lang', 'en'),
( 'enrol_lti', 'institution', '');

INSERT INTO mdl_config_plugins (plugin, name, value) VALUES ('tool_cohortroles', 'version', '2017051500');

INSERT INTO mdl_config_plugins (plugin, name, value) VALUES
('tool_recyclebin', 'version', '2017051500'),
('tool_recyclebin', 'coursebinenable', '1'),
( 'tool_recyclebin', 'coursebinexpiry', '604800'),
( 'tool_recyclebin', 'categorybinenable', '1'),
( 'tool_recyclebin', 'categorybinexpiry', '604800'),
( 'tool_recyclebin', 'autohide', '1');

INSERT INTO mdl_config_plugins (plugin, name, value) VALUES ('tool_usertours','version','2017051500');

Back to Moodle code tips
PHP Moodle Developer
I'm offering wide range of development for your Moodle / Totara LMS system. As a Moodle developer I can prepare for you fency dashboards, new blocks, new local plugins, report builder custom sources and other types of plugins. I can extend default Moodle / Totara functionality according to your ideas and needs. Because I have strong experience in general PHP field I can implement an application from scratch using any modern framework like Laravel or Phalcon -- Bartosz Hornik, PHP Moodle developer.