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

🐛 Installation error #53

Closed
robertodamm opened this issue Oct 28, 2024 · 1 comment
Closed

🐛 Installation error #53

robertodamm opened this issue Oct 28, 2024 · 1 comment
Assignees
Labels
bug Something's weird. :)

Comments

@robertodamm
Copy link
Collaborator

Describe the bug
When installing mod_bookit this error is displayed:

Fehler: Class "mod_bookit\local\entity\category" not found

Weitere Informationen über diesen Fehler

Debug-Info:
Error code: generalexceptionmessage×Diese Systemnachricht ablehnen
Stack trace:
line 34 of /mod/bookit/db/install.php: Error thrown
line 891 of /lib/upgradelib.php: call to xmldb_bookit_install()
line 651 of /lib/upgradelib.php: call to upgrade_plugins_modules()
line 1937 of /lib/upgradelib.php: call to upgrade_plugins()
line 719 of /admin/index.php: call to upgrade_noncore()

To Reproduce
Steps to reproduce the behavior:

  1. Copy code to Moodle
  2. Start installer

Expected behavior
This should not happen

Additional context
Modify to fix:
/mod/bookit/db/install.php

Line 25:
use mod_bookit\local\entity\bookit_category;

Line 34:
$category = new bookit_category('Rooms', 'Examrooms');

Line 44:
$resource = new \mod_bookit\local\entity\bookit_resource('Exam room ' . $i, 'Capacity 255 seats', 1, $category->id);

Line 61:
$event = new \mod_bookit\local\entity\bookit_event(

@robertodamm robertodamm added the bug Something's weird. :) label Oct 28, 2024
@robertodamm robertodamm self-assigned this Oct 28, 2024
@robertodamm robertodamm moved this to In progress DEV in BookIt Planning Board Oct 28, 2024
@robertodamm robertodamm changed the title 🐛 ... 🐛 Installation error Oct 28, 2024
@sberger
Copy link
Collaborator

sberger commented Oct 28, 2024

Is already corrected in the feature branch

@sberger sberger closed this as completed Oct 28, 2024
@github-project-automation github-project-automation bot moved this from In progress DEV to CLOSED in BookIt Planning Board Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's weird. :)
Projects
Status: CLOSED
Development

No branches or pull requests

2 participants