Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with trainingsessions 3.6 #16

Open
trueliarx opened this issue Feb 20, 2020 · 9 comments
Open

Problems with trainingsessions 3.6 #16

trueliarx opened this issue Feb 20, 2020 · 9 comments

Comments

@trueliarx
Copy link

trueliarx commented Feb 20, 2020

Hello,

I'm unable to understand how the plugin works and how to solve several errors

I cannot understand where are located the plugin links from the user interface to create the reports (if you can specify "where" they are).
Only the settings for training sessions seems to be available.

I've tried, specifying the id, to manually go to
report/trainingsessions/index.php?id=1
and it gives various errors like

Table "report_trainingsessions_fa" does not exist

Some screenshots
https://ibb.co/vX8Gnrh
https://ibb.co/gWh1bK5
https://ibb.co/dByY1gd
https://ibb.co/tLmz0b4
https://ibb.co/7Vqj7yL
https://ibb.co/Y20rLKj


Installed plugins:
moodle-auth_ticket-MOODLE_36_WORKING.zip
moodle-block_use_stats-MOODLE_36_WORKING.zip
moodle-local_vflibs-MOODLE_36_WORKING.zip
moodle-report_trainingsessions-MOODLE_36_WORKING.zip


Already tried to reinstall the plugins even on a fresh copy of moodle 3.6.2

moodle 3.6.2+ (Build: 20190124) - MATURITY_STABLE - Tested in windows and linux servers (apache) + mysql and mariadb. PHP 7.3

@vfremaux
Copy link
Owner

Could you check the db/install.xml file actually mentions the report_trainingsessions_fa ?

@trueliarx
Copy link
Author

Could you check the db/install.xml file actually mentions the report_trainingsessions_fa ?

No, there's no trace of it. I've seen that you updated various files on github. I'm going to try it asap.

@trueliarx
Copy link
Author

I've tried the modifications but,except for the table, there are still several errors.
I need to manually input the course id to access those pages. How can I reach them in the regular way (where are located the links)?


Errors for "Participant detail" (the users/students are not selectable in the form)
report/trainingsessions/index.php?id=1

The enrolment checker is on in the Use Stats bloc. This may have effects on reports if the user's activity falls before the latest enrolment start date.
Invalid get_string() identifier: 'elapsedoutofstructure' or component 'report_trainingsessions'. Perhaps you are missing $string['elapsedoutofstructure'] = ''; in /report/trainingsessions/lang/en/report_trainingsessions.php?

    line 349 of \lib\classes\string_manager_standard.php: call to debugging()
    line 7183 of \lib\moodlelib.php: call to core_string_manager_standard->get_string()
    line 484 of \report\trainingsessions\renderers\htmlrenderers.php: call to get_string()
    line 428 of \report\trainingsessions\renderers\htmlrenderers.php: call to report\trainingsessions\HtmlRenderer->add_time_totalizers()
    line 99 of \report\trainingsessions\userreport.php: call to report\trainingsessions\HtmlRenderer->print_header_html()
    line 62 of \report\trainingsessions\index.php: call to include_once()

Help title string does not exist: [elapsedoutofstructure, report_trainingsessions]

    line 498 of \lib\outputcomponents.php: call to debugging()
    line 2458 of \lib\outputrenderers.php: call to help_icon->diag_strings()
    line 485 of \report\trainingsessions\renderers\htmlrenderers.php: call to core_renderer->help_icon()
    line 428 of \report\trainingsessions\renderers\htmlrenderers.php: call to report\trainingsessions\HtmlRenderer->add_time_totalizers()
    line 99 of \report\trainingsessions\userreport.php: call to report\trainingsessions\HtmlRenderer->print_header_html()
    line 62 of \report\trainingsessions\index.php: call to include_once()

Help contents string does not exist: [elapsedoutofstructure_help, report_trainingsessions]

    line 501 of \lib\outputcomponents.php: call to debugging()
    line 2458 of \lib\outputrenderers.php: call to help_icon->diag_strings()
    line 485 of \report\trainingsessions\renderers\htmlrenderers.php: call to core_renderer->help_icon()
    line 428 of \report\trainingsessions\renderers\htmlrenderers.php: call to report\trainingsessions\HtmlRenderer->add_time_totalizers()
    line 99 of \report\trainingsessions\userreport.php: call to report\trainingsessions\HtmlRenderer->print_header_html()
    line 62 of \report\trainingsessions\index.php: call to include_once()

Invalid get_string() identifier: 'elapsedoutofstructure' or component 'report_trainingsessions'. Perhaps you are missing $string['elapsedoutofstructure'] = ''; in /report/trainingsessions/lang/en/report_trainingsessions.php?

    line 349 of \lib\classes\string_manager_standard.php: call to debugging()
    line 7183 of \lib\moodlelib.php: call to core_string_manager_standard->get_string()
    line 514 of \lib\outputcomponents.php: call to get_string()
    line 403 of \theme\boost\classes\output\core_renderer.php: call to help_icon->export_for_template()
    line 226 of \lib\outputrenderers.php: call to theme_boost\output\core_renderer->render_help_icon()
    line 2464 of \lib\outputrenderers.php: call to renderer_base->render()
    line 485 of \report\trainingsessions\renderers\htmlrenderers.php: call to core_renderer->help_icon()
    line 428 of \report\trainingsessions\renderers\htmlrenderers.php: call to report\trainingsessions\HtmlRenderer->add_time_totalizers()
    line 99 of \report\trainingsessions\userreport.php: call to report\trainingsessions\HtmlRenderer->print_header_html()
    line 62 of \report\trainingsessions\index.php: call to include_once()

Errors for "Per participant summary" and "Course"
report/trainingsessions/index.php?id=1&view=coursesummary&from=0&to=1582844399
report/trainingsessions/index.php?id=1&view=course&from=0&to=1582844399


error/Bad start date

More information about this error
Debug info:
Error code: Bad start date
$a contents:
Stack trace:

    line 494 of \lib\setuplib.php: moodle_exception thrown
    line 1956 of \report\trainingsessions\locallib.php: call to print_error()
    line 59 of \report\trainingsessions\coursesummaryreport.php: call to report\trainingsessions\trainingsessions->process_bounds()
    line 62 of \report\trainingsessions\index.php: call to include_once()

Errors in "all courses"
report/trainingsessions/index.php?id=1&view=allcourses&from=0&to=1582844399

From : Tuesday, 1 January 2008, 12:00 AM To : Thursday, 27 February 2020, 11:59 PM

Notice: Undefined property: stdClass::$activityhits in \report\trainingsessions\renderers\htmlrenderers.php on line 489
Invalid get_string() identifier: 'elapsedoutofstructure' or component 'report_trainingsessions'. Perhaps you are missing $string['elapsedoutofstructure'] = ''; in /report/trainingsessions/lang/en/report_trainingsessions.php?

    line 349 of \lib\classes\string_manager_standard.php: call to debugging()
    line 7183 of \lib\moodlelib.php: call to core_string_manager_standard->get_string()
    line 484 of \report\trainingsessions\renderers\htmlrenderers.php: call to get_string()
    line 428 of \report\trainingsessions\renderers\htmlrenderers.php: call to report\trainingsessions\HtmlRenderer->add_time_totalizers()
    line 136 of \report\trainingsessions\allcoursesreport.php: call to report\trainingsessions\HtmlRenderer->print_header_html()
    line 62 of \report\trainingsessions\index.php: call to include_once()

Help title string does not exist: [elapsedoutofstructure, report_trainingsessions]

    line 498 of \lib\outputcomponents.php: call to debugging()
    line 2458 of \lib\outputrenderers.php: call to help_icon->diag_strings()
    line 485 of \report\trainingsessions\renderers\htmlrenderers.php: call to core_renderer->help_icon()
    line 428 of \report\trainingsessions\renderers\htmlrenderers.php: call to report\trainingsessions\HtmlRenderer->add_time_totalizers()
    line 136 of \report\trainingsessions\allcoursesreport.php: call to report\trainingsessions\HtmlRenderer->print_header_html()
    line 62 of \report\trainingsessions\index.php: call to include_once()

Help contents string does not exist: [elapsedoutofstructure_help, report_trainingsessions]

    line 501 of \lib\outputcomponents.php: call to debugging()
    line 2458 of \lib\outputrenderers.php: call to help_icon->diag_strings()
    line 485 of \report\trainingsessions\renderers\htmlrenderers.php: call to core_renderer->help_icon()
    line 428 of \report\trainingsessions\renderers\htmlrenderers.php: call to report\trainingsessions\HtmlRenderer->add_time_totalizers()
    line 136 of \report\trainingsessions\allcoursesreport.php: call to report\trainingsessions\HtmlRenderer->print_header_html()
    line 62 of \report\trainingsessions\index.php: call to include_once()

Invalid get_string() identifier: 'elapsedoutofstructure' or component 'report_trainingsessions'. Perhaps you are missing $string['elapsedoutofstructure'] = ''; in /report/trainingsessions/lang/en/report_trainingsessions.php?

    line 349 of \lib\classes\string_manager_standard.php: call to debugging()
    line 7183 of \lib\moodlelib.php: call to core_string_manager_standard->get_string()
    line 514 of \lib\outputcomponents.php: call to get_string()
    line 403 of \theme\boost\classes\output\core_renderer.php: call to help_icon->export_for_template()
    line 226 of \lib\outputrenderers.php: call to theme_boost\output\core_renderer->render_help_icon()
    line 2464 of \lib\outputrenderers.php: call to renderer_base->render()
    line 485 of \report\trainingsessions\renderers\htmlrenderers.php: call to core_renderer->help_icon()
    line 428 of \report\trainingsessions\renderers\htmlrenderers.php: call to report\trainingsessions\HtmlRenderer->add_time_totalizers()
    line 136 of \report\trainingsessions\allcoursesreport.php: call to report\trainingsessions\HtmlRenderer->print_header_html()
    line 62 of \report\trainingsessions\index.php: call to include_once()


Notice: Undefined property: stdClass::$hitsoutofstructure in \report\trainingsessions\renderers\htmlrenderers.php on line 489

Notice: Undefined property: stdClass::$hits in \report\trainingsessions\renderers\htmlrenderers.php on line 489

Notice: Undefined property: stdClass::$extotherhits in \report\trainingsessions\renderers\htmlrenderers.php on line 489

thank you in advance

@vfremaux
Copy link
Owner

vfremaux commented Feb 27, 2020 via email

@trueliarx
Copy link
Author

Hello,
do you have any update?
I'm also willing to pay (donate?) for the Working extension.
I'm not pretending it for free.

Cheers

@vfremaux
Copy link
Owner

updated versions from 3.5 to 3.8 all branches.
3.8 not yet performing Excel output, Moodle core has changed the Excel library and we need to relocate it.
check settings are using right column names ans set in default.

@vfremaux
Copy link
Owner

For getting "pro" support offer write to info@expertweb.fr mentionning APL Plugin support and Pro versions access. Mention plugins you are using that have a _P Pro repository and for which you want support for.

@vishmo
Copy link

vishmo commented Mar 16, 2020

Hello,

Firstly, thank you for the update. Do you plan to update the branch : MOODLE_36_STABLE?

Thanks

@vfremaux
Copy link
Owner

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants