Forums
I am attempting to use Composer to complete a new installation of Opigno on a server and am encountering the following errors. Can anyone help me figure out what is happening?
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /lms2/web/core/install.php?rewrite=ok&profile=opigno_lms&langcode=en&id=1&op=do_nojs&op=do
StatusText: OK
ResponseText: Drupal\Core\Entity\EntityStorageException: Exception thrown while performing a schema update. SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups (
id INT unsigned NOT NULL auto_increment,
type VARCHAR(32) CHARACTE' at line 1: CREATE TABLE {groups} (
id INT unsigned NOT NULL auto_increment,
type VARCHAR(32) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL COMMENT 'The ID of the target entity.',
uuid VARCHAR(128) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
langcode VARCHAR(12) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
PRIMARY KEY (id),
UNIQUE KEY group_field__uuid__value (uuid),
INDEX group_field__type__target_id (type)
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COMMENT 'The base table for group entities.'; Array
(
)
in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1619 of /opt/bitnami/apache2/htdocs/lms2/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
The website encountered an unexpected error. Please try again later.
Error: Call to undefined function opigno_tincan_api_tincanphp_is_installed() in opigno_lms_form_install_configure_form_alter() (line 43 of profiles/contrib/opigno_lms/opigno_lms.profile).
opigno_lms_form_install_configure_form_alter(Array, Object, 'install_configure_form') (Line: 539)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'install_configure_form') (Line: 836)
Drupal\Core\Form\FormBuilder->prepareForm('install_configure_form', Array, Object) (Line: 278)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SiteConfigureForm', Object) (Line: 955)
install_get_form('Drupal\Core\Installer\Form\SiteConfigureForm', Array) (Line: 624)
install_run_task(Array, Array) (Line: 577)
install_run_tasks(Array, NULL) (Line: 117)
install_drupal(Object) (Line: 44)
Hi,
Hi,
Could you please try to install Opigno with this command and let us know if it works ?
composer create-project opigno/opigno-composer:dev-develop