Wolfsblvt / mentions

Allows users to mention other users in posts. If a user is mentioned, he will recieve a notification unless he deactivated this notification. Meantioned usernames can be automatically colored in their username color. Mentioned users will be autosuggested.
GNU General Public License v2.0
13 stars 17 forks source link

After install it shuts down whole forum #15

Open jakubsuchybio opened 9 years ago

jakubsuchybio commented 9 years ago

Hi, I downloaded, unziped, copied to /forum_root/ext/, enabled in acp and when i went to board index it was blank. Whole forum somehow shut down. For it to restore I had to go manualy into database, disable mention extension, then manualy delete forum cache and it is working again.

Can I give you any more debugging for you to replicate this issue? Tell me what to do to help you :). I like the idea of this plugin and we are already using @name syntax on our forum, so this would be just one 'wow' factor more :)

downloaded from: http://pinkes-forum.de/dev/mentions/wolfsblvt.mentions.zip

Wolfsblvt commented 9 years ago

Hey. You could activate debug logging so that errors are displayed? You can do it by remove the // in front of the lines in your config.php file in phpbb root. After you do it, activate the extension again. If you have done that, go to the page. Instead of a blank page you should now see the correct error. Post the full message here (for example by screenshot).

Thank you for your help (:

jakubsuchybio commented 9 years ago

Oh I guess you didn't make english portation. After debug enabled it sayis:

General Error Language file ./ext/wolfsblvt/mentions/language/en/mentions.php couldn't be opened.

BACKTRACE

FILE: (not given by php) LINE: (not given by php) CALL: msg_handler()

FILE: [ROOT]/phpbb/user.php LINE: 664 CALL: trigger_error()

FILE: [ROOT]/phpbb/user.php LINE: 577 CALL: phpbb\user->set_lang()

FILE: [ROOT]/phpbb/user.php LINE: 596 CALL: phpbb\user->add_lang()

FILE: [ROOT]/ext/wolfsblvt/mentions/core/mentions.php LINE: 95 CALL: phpbb\user->add_lang_ext()

FILE: (not given by php) LINE: (not given by php) CALL: wolfsblvt\mentions\core\mentions->__construct()

FILE: [ROOT]/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php LINE: 959 CALL: ReflectionClass->newInstanceArgs()

FILE: [ROOT]/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php LINE: 490 CALL: Symfony\Component\DependencyInjection\ContainerBuilder->createService()

FILE: [ROOT]/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php LINE: 1005 CALL: Symfony\Component\DependencyInjection\ContainerBuilder->get()

FILE: [ROOT]/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php LINE: 1002 CALL: Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices()

FILE: [ROOT]/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php LINE: 944 CALL: Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices()

FILE: [ROOT]/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php LINE: 490 CALL: Symfony\Component\DependencyInjection\ContainerBuilder->createService()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php LINE: 188 CALL: Symfony\Component\DependencyInjection\ContainerBuilder->get()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php LINE: 165 CALL: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->lazyLoad()

FILE: [ROOT]/phpbb/event/dispatcher.php LINE: 60 CALL: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php LINE: 46 CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/includes/functions_content.php LINE: 460 CALL: phpbb\event\dispatcher->trigger_event()

FILE: [ROOT]/includes/functions_display.php LINE: 389 CALL: generate_text_for_display()

FILE: [ROOT]/index.php LINE: 75 CALL: display_forums()

Wolfsblvt commented 9 years ago

This extension contains the english language. See here: https://github.com/Wolfsblvt/mentions/blob/master/language/en/mentions.php

Have you maybe renamed the language folder, or have you deleted it? You can try to download the extension again and check that the folder for en is there.

jakubsuchybio commented 9 years ago

Hi again. Sorry for delay.. Too much school. I tried to redownload it with en language in place. Activated debugging of my forum, enabled newly downloaded mentions and the problem consists (blank index page) no source code of the page what so ever. But now no debugging message. :(

Wolfsblvt commented 9 years ago

But the debug options of your config.php are still active? That's needed if you want to get debug messages. The problem is it is difficult to find the error if there is no error message.