🇷🇺Russia @vvs

Russia
Account created on 18 June 2008, almost 17 years ago
#

Recent comments

🇷🇺Russia vvs Russia

It's my own VDS:
memory_limit = 1G
max_execution_time = 300

With lando don't working too: https://www.drupal.org/project/varbase_components/issues/3445315#comment... 🐛 Error after install 10.0.0-rc2 Active

With ddev error on step 9 Assemble recipes:

[21-Feb-2025 18:54:20] WARNING: [pool www] child 1675 said into stderr: "NOTICE: PHP message: Drupal\Core\DefaultContent\InvalidEntityException: /var/www/html/docroot/modules/contrib/varbase_media_demo/recipes/default/content/media/781b83a4-14bb-4359-8107-c011bb039721.yml: field_media_oembed_video=Предоставленный URL-адрес не представляет действительный ресурс oEmbed. in /var/www/html/docroot/core/lib/Drupal/Core/DefaultContent/Importer.php on line 113 #0 /var/www/html/docroot/core/lib/Drupal/Core/Recipe/RecipeRunner.php(150): Drupal\Core\DefaultContent\Importer->importContent()"
[21-Feb-2025 18:54:20] WARNING: [pool www] child 1675 said into stderr: "#1 /var/www/html/docroot/core/lib/Drupal/Core/Recipe/RecipeRunner.php(40): Drupal\Core\Recipe\RecipeRunner::processContent()"
[21-Feb-2025 18:54:20] WARNING: [pool www] child 1675 said into stderr: "#2 /var/www/html/docroot/modules/contrib/varbase_media_demo/varbase_media_demo.install(17): Drupal\Core\Recipe\RecipeRunner::processRecipe()"
[21-Feb-2025 18:54:20] WARNING: [pool www] child 1675 said into stderr: "#3 [internal function]: varbase_media_demo_install()"
[21-Feb-2025 18:54:20] WARNING: [pool www] child 1675 said into stderr: "#4 /var/www/html/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php(407): call_user_func_array()"
[21-Feb-2025 18:54:20] WARNING: [pool www] child 1675 said into stderr: "#5 /var/www/html/docroot/core/l..."
[Fri Feb 21 18:54:20.626701 2025] [proxy_fcgi:error] [pid 3312:tid 3312] [client 192.168.32.6:50462] AH01071: Got error 'PHP message: Drupal\\Core\\DefaultContent\\InvalidEntityException: /var/www/html/docroot/modules/contrib/varbase_media_demo/recipes/default/content/media/781b83a4-14bb-4359-8107-c011bb039721.yml: field_media_oembed_video=\xd0\x9f\xd1\x80\xd0\xb5\xd0\xb4\xd0\xbe\xd1\x81\xd1\x82\xd0\xb0\xd0\xb2\xd0\xbb\xd0\xb5\xd0\xbd\xd0\xbd\xd1\x8b\xd0\xb9 URL-\xd0\xb0\xd0\xb4\xd1\x80\xd0\xb5\xd1\x81 \xd0\xbd\xd0\xb5 \xd0\xbf\xd1\x80\xd0\xb5\xd0\xb4\xd1\x81\xd1\x82\xd0\xb0\xd0\xb2\xd0\xbb\xd1\x8f\xd0\xb5\xd1\x82 \xd0\xb4\xd0\xb5\xd0\xb9\xd1\x81\xd1\x82\xd0\xb2\xd0\xb8\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c\xd0\xbd\xd1\x8b\xd0\xb9 \xd1\x80\xd0\xb5\xd1\x81\xd1\x83\xd1\x80\xd1\x81 oEmbed. in /var/www/html/docroot/core/lib/Drupal/Core/DefaultContent/Importer.php on line 113 #0 /var/www/html/docroot/core/lib/Drupal/Core/Recipe/RecipeRunner.php(150): Drupal\\Core\\DefaultContent\\Importer->importContent()\n#1 /var/www/html/docroot/core/lib/Drupal/Core/Recipe/RecipeRunner.php(40): Drupal\\Core\\Recipe\\RecipeRunner::processContent()\n#2 /var/www/html/docroot/modules/contrib/varbase_media_demo/varbase_media_demo.install(17): Drupal\\Core\\Recipe\\RecipeRunner::processRecipe()\n#3 [internal function]: varbase_media_demo_install()\n#4 /var/www/html/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php(407): call_user_func_array()\n#5 /var/www/html/docroot/core/l...', referer: https://varbase.ddev.site/core/install.php?rewrite=ok&profile=varbase&langcode=ru&id=4&op=start

And after F5 in browser - installation is continue, and I have an error on main site url https://varbase.ddev.site/?welcome:
Drupal\Core\Render\Component\Exception\InvalidComponentException: [container] Does not have a value in the enumeration ["","no-container","container","container-md","container-lg","container-xl","container-xxl","container-fluid"] in Drupal\Core\Theme\Component\ComponentValidator->validateProps() (line 203 of core/lib/Drupal/Core/Theme/Component/ComponentValidator.php).

🇷🇺Russia vvs Russia

For those who seek to replace this module with D9+: https://www.drupal.org/project/simple_global_filter

🇷🇺Russia vvs Russia

I continue to test varbase, but it does not work again for me.
The same error is here.

I'm started from begin.
Installed Lando, Drupal recipe for it.

lando start in project's dir.
Everything is fine.

Drupal Install.php

I open the site and see:
Drupal\Core\Render\Component\Exception\InvalidComponentException: [container] Does not have a value in the enumeration ["","no-container","container","container-md","container-lg","container-xl","container-xxl","container-fluid"] in Drupal\Core\Theme\Component\ComponentValidator->validateProps() (line 203 of core/lib/Drupal/Core/Theme/Component/ComponentValidator.php).

lando drush cr
grep -rnw '.' -E "container-md"

Found:

./themes/contrib/vartheme_bs5/css/base/bootstrap.base.css:644:.container-md,
./themes/contrib/vartheme_bs5/css/base/bootstrap.base.css:662:  .container-md, .container-sm, .container {
./themes/contrib/vartheme_bs5/css/base/bootstrap.base.css:668:  .container-lg, .container-md, .container-sm, .container {
./themes/contrib/vartheme_bs5/css/base/bootstrap.base.css:674:  .container-xl, .container-lg, .container-md, .container-sm, .container {
./themes/contrib/vartheme_bs5/css/base/bootstrap.base.css:680:  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
./themes/contrib/vartheme_bs5/css/base/bootstrap.base.css:5285:.navbar > .container-md,
./themes/contrib/vartheme_bs5/theme-settings.php:32:    'container-md' => t('Container Medium'),
./modules/contrib/varbase_components/components/organisms/navbar/navbar.component.yml:17:        - container-md
./modules/contrib/varbase_components/components/organisms/navbar/navbar.stories.json:14:        "'Container medium'": "container-md",
./modules/contrib/varbase_components/components/organisms/navbar/navbar.stories.json:80:        "container": "container-md",
./modules/contrib/varbase_components/components/organisms/navbar/navbar.stories.json:92:        "container": "container-md",

I delete in ./modules/Contrib/varbase_components/components/organisms/navbar/navbar.component.yml this lines:

  container:
      type: string
      title: Container
      description: container type
      default: ''
      enum:
        - ''
        - no-container
        - container
        - container-md
        - container-lg
        - container-xl
        - container-xxl
        - container-fluid

And I open the site without errors. I understand that this is not normal. And I reopen this issue.
What am I doing wrong?

🇷🇺Russia vvs Russia

#9 is useful for me, thx.

I think, selfsigned certivicate is not verifying here.

🇷🇺Russia vvs Russia

I try to install php yaml with this solution: https://github.com/docksal/docksal/issues/1826
And after install varbase. Installation is ok - no errors.

But have error:

The website encountered an unexpected error. Try again later.

Drupal\sdc\Exception\InvalidComponentException: [container] Does not have a value in the enumeration ["","no-container","container","container-md","container-lg","container-xl","container-xxl","container-fluid"] in Drupal\sdc\Component\ComponentValidator->validateProps() (line 205 of core/modules/sdc/src/Component/ComponentValidator.php).

What are these SDC containers?

🇷🇺Russia vvs Russia

Thanks Rajab!

I try to do it, but have this error on install: https://i.imgur.com/e0cqPhw.jpeg

I think. than php-yaml is not yet installed in lando.

🇷🇺Russia vvs Russia

No... After clear cache error is appear.

And reinstalling the site does not help.

🇷🇺Russia vvs Russia

Wow! I do it!

On #8 I add

[php]
extension=yaml.so

And have warnings in drush:
PHP Warning: Module "yaml" is already loaded in Unknown on line 0

But, after delete this. I reinstall varbase site. And all is Ok!

🇷🇺Russia vvs Russia

Rajab, I try reinstall site with php-yaml ext installed and enabled (https://i.imgur.com/ljmAegQ.jpeg). But I have this error again on front page:

Drupal\sdc\Exception\InvalidComponentException: [container] Does not have a value in the enumeration ["","no-container","container","container-md","container-lg","container-xl","container-xxl","container-fluid"] in Drupal\sdc\Component\ComponentValidator->validateProps() (line 205 of core/modules/sdc/src/Component/ComponentValidator.php).

🇷🇺Russia vvs Russia

!شكرًا لك

I'm use docksal. And i'll try to install php yaml extension.to

🇷🇺Russia vvs Russia

Hm...

During install:
1. Missing PHP YAML extension. I continued.
2. Route "entity.path_alias.collection" does not exist.

But error Does not have a value in the enumeration... only on Vartheme BS5 3.0.0-beta9, but not on admin theme.

#3444384 does'nt suitable for me.

🇷🇺Russia vvs Russia

I'll try combine all patches to one file.

🇷🇺Russia vvs Russia

VVS created an issue.

🇷🇺Russia vvs Russia

And other drush commands:

./bin/drush cex

In LegacyServiceInstantiator.php line 282:
                                                                               
  You have requested a non-existent parameter "ckeditor_media_embed_install". 
🇷🇺Russia vvs Russia

update to new transaction_isolation param

🇷🇺Russia vvs Russia

Thx, Hervé!
But this pitch not worked...

I'll try:
Set up Expert template for field.
Set field class "use-ajax".

But after Save class have'nt value...

🇷🇺Russia vvs Russia

Thanks, Rajab.

I moved this variables to local vartheme_bs4-variables.scss, but changhing this vars is affected, it's have values from module vars.

🇷🇺Russia vvs Russia

I remake #2 patch for actulal 2.13 version.

🇷🇺Russia vvs Russia

On version 2.1.3, after #13:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '= draggableviews_structure.entity_id AND (draggableviews_structure.view_name ...' at line 12: SELECT "node_field_data_paragraph__field_konfeta__draggableviews_structure"."weight" AS "node_field_data_paragraph__field_konfeta__draggableviews_str", "draggableviews_structure"."weight" AS "draggableviews_structure_weight_1", "paragraphs_item_field_data"."id" AS "id", "node_field_data_paragraph__field_konfeta"."nid" AS "node_field_data_paragraph__field_konfeta_nid", "taxonomy_term_field_data_node_field_data"."tid" AS "taxonomy_term_field_data_node_field_data_tid", COALESCE(draggableviews_structure.weight, -9223372036854775808) AS "draggableviews_structure_weight" FROM "paragraphs_item_field_data" "paragraphs_item_field_data" LEFT JOIN "paragraph__field_konfeta" "paragraph__field_konfeta" ON paragraphs_item_field_data.id = paragraph__field_konfeta.entity_id AND paragraph__field_konfeta.deleted = :views_join_condition_0 INNER JOIN "node_field_data" "node_field_data_paragraph__field_konfeta" ON paragraph__field_konfeta.field_konfeta_target_id = node_field_data_paragraph__field_konfeta.nid INNER JOIN (SELECT "td".*, "tn"."nid" AS "nid" FROM "taxonomy_term_field_data" "td" INNER JOIN "taxonomy_index" "tn" ON "tn"."tid" = "td"."tid" WHERE "td"."vid" IN (:db_condition_placeholder_6)) "taxonomy_term_field_data_node_field_data" ON node_field_data_paragraph__field_konfeta.nid = taxonomy_term_field_data_node_field_data.nid LEFT JOIN "draggableviews_structure" "node_field_data_paragraph__field_konfeta__draggableviews_structure" ON node_field_data_paragraph__field_konfeta.nid = node_field_data_paragraph__field_konfeta__draggableviews_structure.entity_id LEFT JOIN "draggableviews_structure" "draggableviews_structure" ON node_field_data_paragraph__field_konfeta. = draggableviews_structure.entity_id AND (draggableviews_structure.view_name = :views_join_condition_1 AND draggableviews_structure.view_display = :views_join_condition_2) WHERE ("paragraphs_item_field_data"."parent_id" = :db_condition_placeholder_3) AND (("paragraphs_item_field_data"."status" = :db_condition_placeholder_4) AND ("paragraphs_item_field_data"."type" IN (:db_condition_placeholder_5))) ORDER BY "draggableviews_structure_weight" ASC, "draggableviews_structure_weight_1" ASC; Array ( [:db_condition_placeholder_3] => 1363 [:db_condition_placeholder_4] => 1 [:db_condition_placeholder_5] => konfeta [:views_join_condition_0] => 0 [:db_condition_placeholder_6] => fabrics [:views_join_condition_1] => massovoe_redaktirovanie_konfet [:views_join_condition_2] => page_1 )

🇷🇺Russia vvs Russia

@apaderno I'm use:
composer require 'drupal/fast_404_generator:^1.0'
and in fast_404_generator.info.yml i see wrong name of dependence:

dependencies:
  - fast_404:fast404

I think, right is drupal:fast_404

🇷🇺Russia vvs Russia

VVS created an issue.

🇷🇺Russia vvs Russia

@ricardofaria thanks for #114 it's working for my conditions:
/recipe/* -> /recipes/*

With one file rejected:

--- src/RedirectRepository.php
+++ src/RedirectRepository.php
@@ -188,7 +243,6 @@ class RedirectRepository {
    */
   public function findBySourcePath($source_path) {
     $ids = $this->manager->getStorage('redirect')->getQuery()
-      ->accessCheck(TRUE)
       ->condition('redirect_source.path', $source_path, 'LIKE')
       ->execute();
     return $this->manager->getStorage('redirect')->loadMultiple($ids);
@@ -206,7 +260,6 @@ class RedirectRepository {
   public function findByDestinationUri(array $destination_uri) {
     $storage = $this->manager->getStorage('redirect');
     $ids = $storage->getQuery()
-      ->accessCheck(TRUE)
       ->condition('redirect_redirect.uri', $destination_uri, 'IN')
       ->execute();
     return $storage->loadMultiple($ids);

but worked in redirect 1.7.

It's rejected because code is:

  public function findBySourcePath($source_path) {
    $ids = $this->manager->getStorage('redirect')->getQuery()
      ->accessCheck(TRUE)
      ->condition('redirect_source.path', $source_path, 'LIKE')
      ->execute();
    return $this->manager->getStorage('redirect')->loadMultiple($ids);
  }

Production build 0.71.5 2024