Drupal is up and running but how do I ...?

Local drush sql-cli does not point to the project database

Locally I'm developing on MAMP PRO, and I can't get what happens on host: with command 'drush sql-cli' I get the project db reference (eg MariaDB [username_db_name]>
while locally I only get 'mysql>'

Additionally, if I use the 'drush sql-cli --database' option I get the error "Unable to load Drupal settings. Check your --root, --uri, etc."

What can this depend on? 
Thanks to all

[SOLVED] Issues After Updating to Drupal 10.2: Module Incompatibility

Hi guys,

hope you have entered 2024 in a great mood and you had some amazing days off.

I recently updated my news magazine site from Drupal 10.1.5 to 10.2 and encountered an issue that I'm struggling to resolve. The problem revolves around the photoswipe_dynamic_caption module. Here are the details:

After the update, running update.php yields the following messages:

How to style the table in CK5editor?

Hello Forum,

I have installed Drupal 10 which comes together with CK5editor and I wish to style a table (the icon in ck5editor is enabled).

How can I give the table a striped appearance?

I am using a bootstrap 5 Theme (the DXPR), the class should be "table-striped",  but I don't know how to apply it to the table. Could you please help me?

Thank you very much. Michael

PS Happy New Year!

Is this codes outdated for D10 recommended installation and future management?

Hello everyone, and first of all Happy New Year 2024!!!
This is the first time I try to install Drupal using the standard Composer installation, thus leaving the structure of the "web-root":"web/" unchanged, and after several searches and code attempts, I can manage very well new installations locally starting from the project root folder If there will be problems with the host I will check it later.

drush -> [preflight] Package "drupal/core" is not installed

I have only one drupal 10 site.

I added drush only locally with:

composer require drush/drush:12.x

When I try to run it I get:

$ drush
 [preflight] Package "drupal/core" is not installed
$ vendor/bin/drush
 [preflight] Package "drupal/core" is not installed
$ vendor/drush/drush/drush
 [preflight] Package "drupal/core" is not installed

But drupal/core is installed:

/admin/config has error

when I visit /admin/config, 

The website encountered an unexpected error. Please try again later.

So, I can't enter config page.

This occurred when I update production site. The dev site on local is fine. What I updated was activate schema.org Metatag module.

BTW, I can enter /admin/config/development/performance page.

Pages

Subscribe with RSS Subscribe to RSS - Post installation