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

My online configuration creates a prefix in the database

Hello Drupal- true Pals,

Because I have no ability to use composer online I wanted to clone my online Drupal site perfectly,
duplicate the database on my local xampp 
then install the newest Drupal version with composer, 
and reconnect to the database with the same name.

As a test I did create a few sites of content online, before exporting that database and importing it again,
and now that I have installed Drupal on xampp on Windows I see the empty new page which tells me that no content would be created yet.

Remove all items from multi entity_reference field

Hi All, in a custom module I try to remove all items in an multi entity_reference field, field_club_coaches, that has been added to the user entity. I use this code:

while (count($user->field_club_coaches) > 0) {
   unset($user->field_club_coaches[count($user->field_club_coaches) - 1]);
}

I get a warning:

Warning: Attempt to read property "field_club_coaches" on string in Drupal\icb\Controller\ICBController. . . . web/core/includes/bootstrap.inc(164): _drupal_error_handler_real()

not working with the .htaccess file to execute in the subfolder

Hi everyone,

Before putting in production, I developed in my local "localhost" server using MAMP Pro without problem with Drupal 10.

After the installation Drupal 10 under the folder (e.g. domain/subFolder/), this is always the page appears "403 forbidden" and I am not able to configure to create the new file Settings.php with the connection the database and the user that I created in "phpMyAdmin". I sought a lot in the forum to solve my problem with one or two file(s) .htaccess, I did not have the clarification of the response for the solution.

Is this possible ??

I am upgrading a site to try and make things easier instead of entering information multiple times.

At the moment I have a site with 300 clubs, and each club has an events page. (I have installed recurring dates and working fine on the old site as it is at the moment, and the page layouts I need.)

I am putting all the club details in twice at the moment, once in the club details then once on the events page.

Cannot add content

When I try to add new content ( http://theorichel.nl/admin/content )I get this error: 

EntityMalformedException: Missing bundle property on entity of type file. in entity_extract_ids() (line 8043 of /home/customer/www/theorichel.nl/public_html/includes/common.inc).

But http://theorichel.nl/node/add/article works fine.

Any help would be much appreciated!

How do I create a statement of account in D9?

How do I create a statement of account in D9?

Pages

Subscribe with RSS Subscribe to RSS - Post installation