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

Error, "Table "block_eexcess_image_license" does not exist". #1

Closed
mchurchward opened this issue May 31, 2016 · 1 comment
Closed

Comments

@mchurchward
Copy link

Hi. After installing the editor plugin, and trying to access the editor, the following error occurs.

Table "block_eexcess_image_license" does not exist

More information about this error
Debug info:
Error code: ddltablenotexist
Stack trace:

    line 621 of /lib/dml/moodle_database.php: dml_exception thrown
    line 1306 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
    line 68 of /lib/editor/atto/plugins/eexcesseditor/lib.php: call to moodle_database->get_records()
    line ? of unknownfile: call to atto_eexcesseditor_params_for_js()
    line 7421 of /lib/moodlelib.php: call to call_user_func_array()
    line 131 of /lib/editor/atto/lib.php: call to component_callback()
    line 391 of /lib/form/editor.php: call to atto_texteditor->use_editor()
    line 192 of /lib/pear/HTML/QuickForm/Renderer/Tableless.php: call to MoodleQuickForm_editor->toHtml()
    line 2863 of /lib/formslib.php: call to HTML_QuickForm_Renderer_Tableless->renderElement()
    line 418 of /lib/pear/HTML/QuickForm/element.php: call to MoodleQuickForm_Renderer->renderElement()
    line 1633 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm_element->accept()
    line 1735 of /lib/formslib.php: call to HTML_QuickForm->accept()
    line 1676 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm->accept()
    line 445 of /lib/pear/HTML/Common.php: call to HTML_QuickForm->toHtml()
    line 945 of /lib/formslib.php: call to HTML_Common->display()
    line 354 of /user/editadvanced.php: call to moodleform->display()

I believe the problem is that the editor plugin depends on block_eexcess being installed as well. I installed the block after, and the error went away.
I believe you need to put a "$plugin->dependencies" declaration in your "version.php" file to help prevent this problem.
See the section on this in the Moodledocs on "version.php".

@mudrd8mz
Copy link

mudrd8mz commented Jun 1, 2016

Mike is right. We should prevent admins into running issues like this.

@megamuf megamuf closed this as completed in 1d52215 Jun 1, 2016
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

2 participants