Naming conflict blog_tags - Install hangs

Naming conflict blog_tags - Install hangs

Timotheus von Schwichow -
回帖数:5
Hello, I am new to this forum!

I tried to install the most recent Moodle 1.9 to my schools webserver. Everything worked up until I received this message:
Naming conflict: block tags has the same title with an existing block, blog_tags!

I searched this forum and came across a solution for a naming conflict. However, uploading a new (german) language pack did not help.

Has anyone another idea?

Thank you in advance!
回复Timotheus von Schwichow

Re: Naming conflict blog_tags - Install hangs

Timotheus von Schwichow -
I am getting rather frustrated. I ftped the most recent language pack to the server, but it did not help. Maybe it was a mistake to choose german for the installation? I updated all language packs but I still get the above error message.
The blog_tags.php file is not in the installation package. It is only in the language pack.
I am lost.

Help anyone?
回复Timotheus von Schwichow

Re: Naming conflict blog_tags - Install hangs

Timotheus von Schwichow -
I found a workaround for my problem but I do not know if it was really wise.
I renamed the file block_tags.php in /moodle/blocks/tags/ to old_block_tags.php.
Afterwards everything was ok. But whenever I rename the file the same error message occurs. I did not run into problems yet. Does anyone know what this file does?
回复Timotheus von Schwichow

Re: Naming conflict blog_tags - Install hangs

Mauno Korpelainen -

Hi Timotheus,

I don't know the reason for your problem but I moved this post to language forum because it looks like this happens only with German (Deutch) language pack.

Edit: after a quick check of that file it might be possible that extra line break in that file and

$string['morewelcome'] = 'Schlagworte sind nutzererzeugte Links zu beliebigen Dingen. Schlagworte erlauben es Ihnen, Dinge wie Ihre Lieblingskurse, Ihre Blogs oder Ihr Profil mit Ihren eigenen Worten zu kategorisieren und zu verlinken. Unterschiedliche Gruppen von Schlagworten können mit den Optionen hinter \'Anzeigen\' gewählt werden, wobei die Schlagwortlisten über die Optionen hinter \'Anordnung\' neu sortiert werden können.
<p>Weitere Hilfe zur Verwendung von Schlagworten finden Sie hier:';

could break the code. (before <p>Weitere Hilfe zur Verwendung von Schlagworten finden Sie hier:'; )

But this is a pure guess - I really don't know the origin of problem...or why that file is in Deutch language pack (moodle 2.0/old file?) - for example English and Finnish language packs don't have the file at all.

回复Mauno Korpelainen

Re: Naming conflict blog_tags - Install hangs

Ralf Krause -
Plugin developers的头像 Translators的头像
回复Ralf Krause

Re: Naming conflict blog_tags - Install hangs

David Mudrák -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Plugins guardians的头像 Testers的头像 Translators的头像
See the tracker for the description of the problem. Shortly - block title returned by get_title() method must be unique for every block type. Typically, blocks return the translated block title in this value, like get_string('blocktagstitle', 'blog'). Translators must make sure that all blocks have unique name/title.