bxsitefiles::bx_install_options: not supported dbtype

В файле bitrix/php_interface/dbconn.php пропишите переменные (bitrix vm на них смотрит)

$DBType
$DBHost
$DBLogin
$DBPassword
$DBName

а потом удалить кеш файл /opt/webdir/tmp/sites_errors.cache

и заново зайдите в меню

/root/menu.sh

пункт 6

error You have requested a non-existent service "path.alias_manager"

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: 
You have requested a non-existent service "path.alias_manager". 
Did you mean this: "path_alias.manager"? in Drupal\Component\DependencyInjection\Container->get() 
(line 151 of core/lib/Drupal/Component/DependencyInjection/Container.php). 


Opgelet, deze error wijst je niet de weg naar de file waar je moet aanpassen: het is niet die container.php file!

Oplossing: doe website root folder open in Visual Studio Code.

Zoek

Toon gedetailleerde errors ipv witte "Encountered a fatal error" pagina

Onderaan setting.php, voeg lijn toe:

$config['system.logging']['error_level'] = 'verbose';

patch Drupal 8-9

- Download the patch en zet hem in root folder als vb mypatch.patch
- cd ga zelf ook in root folder staan

git apply mypatch.patch

Create admin user using functions.php

add_action('init', 'add_my_user');
function add_my_user() {
    $username = 'username123';
    $email = 'drew@example.com';
    $password = 'pasword123';

    $user_id = username_exists( $username );
    if ( !$user_id && email_exists($email) == false ) {
        $user_id = wp_create_user( $username, $password, $email );
        if( !is_wp_error($user_id) ) {
            $user = get_user_by( 'id', $user_id );
            $user->set_role( 'administrator' );
        }
    }
}

Create admin user using functions.php

add_action('init', 'add_my_user');
function add_my_user() {
    $username = 'username123';
    $email = 'drew@example.com';
    $password = 'pasword123';

    $user_id = username_exists( $username );
    if ( !$user_id && email_exists($email) == false ) {
        $user_id = wp_create_user( $username, $password, $email );
        if( !is_wp_error($user_id) ) {
            $user = get_user_by( 'id', $user_id );
            $user->set_role( 'administrator' );
        }
    }
}

0. Welcome to Cacher

# Welcome to Cacher

We're delighted you've chosen Cacher to be your snippet organizer! Whether you're a solo developer or a member of your team, Cacher is here to help you organize and use snippets more efficiently.

Our users create snippets to:

- Remember project-specific algorithms
- Create cheatsheets for useful libraries
- Share knowledge with colleagues

Take a few minutes to look over our **Getting Started** snippets. To view more detailed information on features, you can visit [Cacher 

1. Snippets

# Snippets

Snippets can be used to remember many different pieces of information. Here are a few tips on using them in Cacher.

## Markdown

![](https://cdn.cacher.io/intro-snippets/editing-markdown.gif)

[Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) is one of the most widely used snippet types in Cacher for documentation. We've added a few enhancements to make it even more useful.

To create a Markdown snippet, simply give your snippet file a `.md` extension or c

2. Labels

# Labels

Labels let you categorize your snippets by purpose and assist in retrieving them later on. Assign nested, color-coded labels to your snippets to maximize productivity.

![](https://cdn.cacher.io/intro-snippets/creating-a-label.gif)

## Creating a label

1. In the left-hand sidebar, click the + button under **Labels**.
2. Enter a **Label Title**.
3. Pick one of the **preset colors** or enter a hex value to define a custom color.
4. Choose whether the label will be **Private**.
5. If you

3. Teams

# Teams

A team allows you and your colleagues to collaborate on a shared library of snippets and labels. They are the best way to disseminate best practices and onboard new team members.

## Team libraries

Every team has its own library, comprised of snippets and labels. Any **owner**, **member** or **manager** is able to view and contribute snippets to the library. In addition, any changes to the team library will be synced to teammates signed into Cacher.

## Starting a Team

![](https://cdn

4. Integrations

# Integrations

Here are some of our integrations to make creating and using Cacher snippets easier.

## Editors and IDEs

- [IntelliJ Platform](https://www.cacher.io/docs/integrations/editor-plugins/intellij-platform) -  Easily search, insert and create snippets within IntelliJ-based IDEs like IDEA, PhpStorm and Rubymine.
- [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=Cacher.cacher-vscode) -  Create snippets from selected text and insert them quickly with our powerfu

5. Sharing

# Sharing

Every snippet in Cacher has a corresponding page on [Snippets](https://snippets.cacher.io/), our community hub for sharing code. The page's visibility is dependent on whether the snippet is **public or private** and the **Privacy Setting** for the page.

Here are a few examples of snippet pages:
- [Markdown Task Lists in Cacher](https://snippets.cacher.io/snippet/108f62b6b8d8dd18610c)
- [Svelte is really fast](https://snippets.cacher.io/snippet/37dc3da63ce006296521)
- [DigitalOcean Ra

Django migrations

- __python manage.py makemigrations__ --> store the modifications into the python file in migrations dir.
- __python manage.py migrate app_name__ --> apply the app's modifications to the database.
- __python manage.py showmigrations__ --> list an history of all migrations
![](https://cdn.cacher.io/attachments/u/3d66b3pypor7b/D5x0nIo0_FDc_LjKIyRmmd_cVV_54hZ2/qcwb8tiuz.png)
- __python manage.py app_name 0001_initial__ --> roolback to previous modifications to schema.

![](https://cdn.cacher.io/att

Trackpad Finger Gestures

- 2 fingers = up/down scroll
- 2 fingers = zoom
- 2 fingers + drop = context menu
- 3 fingers + left/right = select active windows
- 3 fingers + down = minimize all active windows
- 3 fingers + up = maximize all active windows
- 3 fingers + up (on active windows) = show all active windows to select one
- 3 fingers + drop same time = windows startup/cortana
- 4 fingers = notification center
- 4 fingers + left/right = select desktops

Responsive Landing page

![](https://cdn.cacher.io/attachments/u/3d66b3pypor7b/I8aj0bX5rx5Nw2En_-mM6ZP2V_0m2Bj5/tlby2a0x7.png)
```html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Portfolio</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="

Learning Javascript Recommended Books

https://www.amazon.com/Smarter-JavaScript-tech-assisted-approach-requires/dp/1497408180/ref=zg_bs_3617_42?_encoding=UTF8&psc=1&refRID=75RW7Z9NQFH71TRXWP4W&asin=1497408180&revisionId=&format=4&depth=1

https://www.amazon.com/Eloquent-JavaScript-3rd-Introduction-Programming-ebook/dp/B07C96Q217/ref=zg_bs_3617_28?_encoding=UTF8&psc=1&refRID=75RW7Z9NQFH71TRXWP4W&asin=B07C96Q217&revisionId=ffaa1bd9&format=1&depth=1

https://www.amazon.com/Effective-JavaScript-Specific-Software-Development/dp/032181218