The module displays an error during installation. On the installed module tab it is installed.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zenimagine created an issue. See original summary.

NewZeal’s picture

Status: Active » Postponed (maintainer needs more info)

Are you able to supply more information? e.g.
- Check the apache logs for php errors
- If you have drush clear the cache and navigate around the site to shake things up a bit
- If you can access the /admin pages, check the log

zenimagine’s picture

I no longer have access to the user account because of the problem.
I cleared the cache but it does not work.
I tested on simplytest.me and it does not work.
The bug module at installation.

NewZeal’s picture

What about the apache logs?

juagarc4’s picture

Hi,
I'm using the Version 1.x-dev and I've received an error during the installation process too.

The website encountered an unexpected error. Please try again later.he website encountered an unexpected error. Please try again later.
"Symfony\Component\Routing\Exception\RouteNotFoundException: Route "view.conversations.page_1 does not exist."

However If I reload the page it works fine and I can see the view "Conversations", but the follow warning is shown:

"Notice: Undefined index: conversations.page_1 in Drupal\views\Plugin\Derivative\ViewsLocalTask->getDerivativeDefinitions() (line 82 of core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php)."

After that I visit the user's profile page and I receive.

The website encountered an unexpected error. Please try again later.
"Symfony\Component\Routing\Exception\RouteNotFoundException: Route "message_thread.add" does not exist"

Reload doesn't work anymore.

zenimagine’s picture

NewZeal’s picture

Ok I know what causes that error. I have attempted to implement dynamic local tasks and clearly it is not succeeding. What is happening here is that the dynamic tasks are attempting to work before the View that it links to is embedded.

To resolve, simply clear the cache so that the View gets to be seen by Drupal bootstrap. If you have no access to the admin login, then use drush cr or truncate all database tables beginning with 'cache_'.

I'll have another look at how I might alleviate this problem further. Thanks.

  • New Zeal committed 723e772 on 8.x-1.x
    Issue #2902903 by zenimagine: Error with installation
    
NewZeal’s picture

I retested the module for install by uninstalling and reinstalling and I do not get this error. I don't know if this is different in any way from doing a fresh install and the only way I can know of the prevalence of this problem is from people reporting it.

Anyway, I have pushed a new branch with a couple of updates, such as hiding the User local task provided by the Private Message module. It is possible that there is code in this that helps prevent the install problems.

zenimagine’s picture

Thanks, the update fixed the problem

zenimagine’s picture

Status: Postponed (maintainer needs more info) » Fixed
NewZeal’s picture

OK, it looks like alpha1 didn't have all the code.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.