mebis-lp / moodle-mod_mootimeter

Other
9 stars 7 forks source link

table name in database too long #118

Closed jpahullo closed 5 months ago

jpahullo commented 5 months ago

Hi,

I have just installed it on a testing Moodle and I see this error:

Error detectat. cal que l'arregli un programador: Invalid table name {mootimetertool_wordcloud_answers}: name is too long. Limit is 28 chars.
S'està actualitzant a una versió nova
mod_mootimeter
Èxit (4,97 segons)
mootimetertool_poll
Èxit (0,64 segons)
mootimetertool_quiz
Èxit (0,28 segons)
mootimetertool_wordcloud
Error detectat. cal que l'arregli un programador: Invalid table name {mootimetertool_wordcloud_answers}: name is too long. Limit is 28 chars.

[Més informació d'aquest error](http://docs.moodle.org/401/ca/error/debug/codingerror)

Informació de depuració:
Error code: codingerror
Traça de la pila:
line 289 of /lib/ddl/sql_generator.php: coding_exception thrown
line 224 of /lib/ddl/mysql_sql_generator.php: call to sql_generator->getCreateTableSQL()
line 250 of /lib/ddl/sql_generator.php: call to mysql_sql_generator->getCreateTableSQL()
line 417 of /lib/ddl/database_manager.php: call to sql_generator->getCreateStructureSQL()
line 372 of /lib/ddl/database_manager.php: call to database_manager->install_from_xmldb_structure()
line 755 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
line 1953 of /lib/upgradelib.php: call to upgrade_plugins()
line 721 of /admin/index.php: call to upgrade_noncore()

The text is partially in Catalan. But the error is clear.

How do you reach to install it on your Moodle site?

Thanks for all.

Jordi

PhMemmel commented 5 months ago

Hi @jpahullo,

it seems like you are running moodle 4.1. However, mod_mootimeter requires at least moodle 4.3. You should not receive any errors on moodle 4.3.

jpahullo commented 5 months ago

Ups... You're right @PhMemmel ! I was confused and installed it on a Moodle 4.1 site. Sorry.

I will be back in a few minutes. Thanks for the quick answer.

Jordi

jpahullo commented 5 months ago

Closing. It installs properly on Moodle 4.3. Thanks!