4 posts / 0 new
Last post
georgiawebgurl
Offline
Last seen: 6 days 11 hours ago
Joined: 03/14/2019
Issues with new opigno installation - timing out before configuration

Hi all, I have successfully installed opigno 2.0 on one site & server with no issues. However, I have a second site that I would like to use Opigno on. On the second site, I keep having issues with connection timeout right before the configuration screen. I've tried manually in MySQL adding in an admin password using a MD5 tool to generate the password hash. It didn't work for some reason.

I am using PHP 7.2 and I have increased the php.ini max_execution_time to 760 which seems hugely high. In fact all of my values on the second site are really high. I have the max input at -1. Any suggestions? This is a fresh install on an empty server, so I need all of the dependencies. I just can't figure out why it works on one site and not the other, when the server is the same. Since I use cpanel for the server, I am not using Drush. (Although Drush has been on my list for a while to explore).

Thanks much, Robin @georgiawebgurl

georgiawebgurl
Offline
Last seen: 6 days 11 hours ago
Joined: 03/14/2019
error log

14-Mar-2019 15:41:17 UTC] TypeError: Argument 1 passed to Drupal\Core\Config\Entity\ConfigEntityStorage::updateFromStorageRecord() must implement interface Drupal\Core\Config\Entity\ConfigEntityInterface, null given, called in .../public_html/core/lib/Drupal/Core/Config/ConfigInstaller.php on line 337 in .../public_html/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php on line 447 #0 .../public_html/core/lib/Drupal/Core/Config/ConfigInstaller.php(337): Drupal\Core\Config\Entity\ConfigEntityStorage->updateFromStorageRecord(NULL, Array)

1 .../public_html/core/lib/Drupal/Core/Config/ConfigInstaller.php(241): Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array, true)

2 .../public_html/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php(84): Drupal\Core\Config\ConfigInstaller->installOptionalConfig(Object(Drupal\Core\Config\ExtensionInstallStorage), Array)

3 .../public_html/core/includes/install.core.inc(1671): Drupal\Core\ProxyClass\Config\ConfigInstaller->installOptionalConfig()

4 .../public_html/core/includes/install.core.inc(709): install_install_profile(Array)

5 .../public_html/core/includes/install.core.inc(584): install_run_task(Array, Array)

6 .../public_html/core/includes/install.core.inc(125): install_run_tasks(Array, NULL)

7 .../public_html/core/install.php(44): install_drupal(Object(Composer\Autoload\ClassLoader))

8 {main}

[14-Mar-2019 15:45:33 UTC] Uncaught PHP Exception Symfony\Component\Routing\Exception\RouteNotFoundException: "Route "view.opigno_training_catalog.training_catalogue" does not exist." at .../public_html/core/lib/Drupal/Core/Routing/RouteProvider.php line 201 [14-Mar-2019 15:45:34 UTC] Uncaught PHP Exception Symfony\Component\Routing\Exception\RouteNotFoundException: "Route "view.opigno_training_catalog.training_catalogue" does not exist." at .../public_html/core/lib/Drupal/Core/Routing/RouteProvider.php line 201 [14-Mar-2019 15:45:46 UTC] Uncaught PHP Exception Drupal\Core\Database\DatabaseExceptionWrapper: "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'edubrary_edux.opigno_learning_path_step_achievements' doesn't exist: SELECT DISTINCT sa.entity_id AS entity_id, sa.typology AS typology, sa.name AS name, sa.score AS score, sa.status AS status, sa.time AS time, sa.completed AS completed, omfd.badge_name AS badge_name, omfd.badge_description AS badge_description, omfd.badge_criteria AS badge_criteria, mi.field_media_image_target_id AS field_media_image_target_id, pa.gid AS gid, pa.name AS training FROM {opigno_learning_path_step_achievements} sa INNER JOIN {opigno_module_field_data} omfd ON omfd.id = sa.entity_id AND sa.typology = :typology INNER JOIN {opigno_learning_path_achievements} pa ON pa.gid = sa.gid INNER JOIN {media__field_media_image} mi ON mi.entity_id = omfd.badge_media_image WHERE (sa.typology = :db_condition_placeholder_0) AND (sa.uid = :db_condition_placeholder_1) AND (omfd.badge_active = :db_condition_placeholder_2) ORDER BY sa.completed DESC; Array ( [:db_condition_placeholder_0] => Module [:db_condition_placeholder_1] => 1 [:db_condition_placeholder_2] => 1 [:typology] => Module ) " at .../public_html/core/lib/Drupal/Core/Database/Connection.php line 686 [14-Mar-2019 15:46:29 UTC] Uncaught PHP Exception Symfony\Component\Routing\Exception\RouteNotFoundException: "Route "view.opigno_training_catalog.training_catalogue" does not exist." at .../public_html/core/lib/Drupal/Core/Routing/RouteProvider.php line 201 [14-Mar-2019 15:46:42 UTC] Uncaught PHP Exception Symfony\Component\Routing\Exception\RouteNotFoundException: "Route "view.opigno_training_catalog.training_catalogue" does not exist." at .../public_html/core/lib/Drupal/Core/Routing/RouteProvider.php line 201 [14-Mar-2019 15:48:37 UTC] Uncaught PHP Exception Symfony\Component\Routing\Exception\RouteNotFoundException: "Route "view.opigno_training_catalog.training_catalogue" does not exist." at .../public_html/core/lib/Drupal/Core/Routing/RouteProvider.php line 201

nikolay
Offline
Last seen: 6 days 21 hours ago
Joined: 12/12/2018
Reinstall the Opigno

Hi, Robin.

The first thing that comes to mind when I see your errors log - the installation was ended with the problems.

So, if you have a fresh installation I recommend to you to drop the database for the instance with the issue and try to reinstall Opigno. This should help.

georgiawebgurl
Offline
Last seen: 6 days 11 hours ago
Joined: 03/14/2019
New error message

What would be the missing dependencies? https://www.opigno.org/sites/default/files/opigno-with-dependencies-v2.2... which I thought had all dependencies needed.

The website encountered an unexpected error. Please try again later. Drupal\Core\Config\UnmetDependenciesException: Configuration objects provided by platon have unmet dependencies: image.style.frontpage_slider (image) in Drupal\Core\Config\UnmetDependenciesException::create() (line 98 of core/lib/Drupal/Core/Config/UnmetDependenciesException.php). Drupal\Core\Config\UnmetDependenciesException::create('platon', Array) (Line: 485) Drupal\Core\Config\ConfigInstaller->checkConfigurationToInstall('theme', 'platon') (Line: 132) Drupal\Core\ProxyClass\Config\ConfigInstaller->checkConfigurationToInstall('theme', 'platon') (Line: 169) Drupal\Core\Extension\ThemeInstaller->install(Array, 1) (Line: 166) Drupal\Core\Extension\ThemeHandler->install(Array) (Line: 1649) install_profile_themes(Array) (Line: 709) install_run_task(Array, Array) (Line: 584) install_run_tasks(Array, NULL) (Line: 125) install_drupal(Object) (Line: 44)