πŸ‡ΊπŸ‡ΈUnited States @marvs5

Account created on 9 March 2009, over 15 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States marvs5

I just installed contact storage 8.x-1.3 (1.3.0) on a site using composer. When I activated it via drush en contact_storage, I received the following error message:

[error] An error occurred while notifying the creation of the id field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.id': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1601 of /web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[error] An error occurred while notifying the creation of the created field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.created': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1601 of /web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[error] An error occurred while notifying the creation of the uid field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.uid': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1601 of /web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[error] An error occurred while notifying the creation of the ip_address field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.ip_address': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1601 of /web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[success] Successfully enabled: contact_storage

πŸ‡ΊπŸ‡ΈUnited States marvs5

I've had this issue on all of my >=10.1 sites, either through upgrade or new install.  Here's what I did to finally fix this problem in case it can help others.  I run Nginx, so this solution is only for Nginx servers.

1. Change 

location ~ ^/sites/.*/files/styles/ {

to

location ~ ^/sites/.*/files/(css|js|styles)/ {

2.  Remove this code if you have this anywhere in your settings

location ~* \.(js|css)$ {
	expires 2d;
	add_header Cache-Control "public, no-transform";
}

You can then turn on CSS and js aggregation and the site will display properly.

πŸ‡ΊπŸ‡ΈUnited States marvs5

Upon further review, the JS was still broken. I had to turn of JS aggregation. This solution didn't work for me.

πŸ‡ΊπŸ‡ΈUnited States marvs5

I changed the Nginx configuration as above. The JS aggregation works fine. The CSS aggregation still breaks the CSS. Ideas?

πŸ‡ΊπŸ‡ΈUnited States marvs5

RE #22 πŸ’¬ Update module erroneously recommends conflicting update to 6.1.x for sites on Drupal 10.0.x or lower Closed: works as designed : This is still a problem. Running D9.5.10 with Linkit 6.0.0. I get daily update emails from the site when there is nothing to update.

πŸ‡ΊπŸ‡ΈUnited States marvs5

I am having issues similar to @totten. The D9 pages work fine for me. The CiviCRM pages throw the error.

πŸ‡ΊπŸ‡ΈUnited States marvs5

I'm confused. I don't see a D10 version available.

Production build 0.71.5 2024