7 – Total loss of D7 site style and not saving settings

I've recreated a D7 site on EC2 for a client. After importing the database, everything seemed fine until I was refreshed and all the style was gone. I thought it was because I had clicked the button HTML Purifier Settings clear the cache button (I have never used this module).

After hours spent googling and not knowing where, I reimported the database and the site returned to normal.

A few hours later, the same style loss took place. I read a message from a very old thread that advised to disable the aggregate css and js buttons. When I did this and saved the form, the two checkboxes remained unchanged if my settings were not completed. So I used drush vset preprocess_css 0 and a similar command for js and the parameters have changed.

However, no change in the CSS problem. Always just HTML and no style.

I've checked the chrome css tab and found a lot of css files all with status 200. In the Network tab, all js files have the status 200 except one that is blocked as shown below:
enter the description of the image here

Could this cause the loss of style?

After the two steps above, my D7 site still has no style.

I am running out of ideas. Please help.

7 – Failed rebuilding permissions

After installing a quiz module on my Drupal 7 site, this one asked me to rebuild the permissions. when I try to rebuild he throws this error:

enter the description of the image here

I've tried everything I've found online, including:

  • increased web server RAM
  • max_execution_time = 1600
  • max_input_time = 180
  • max_input_nesting_level = 300
  • memory_limit = 512M
  • disabling the batch mode from the node.module base file

nothing seems to work.

There are approximately 600,000 records in the node table. I know that's a lot, and probably that's causing my problem, but what is the workaround? How can I rebuild permissions with this number of nodes easily?

forms – How can I pass information to a modal from components in angular 7?

I have a modal with a form inside, where, depending on the button where this is done, this modality will be open to what variable will pass, depending on the value of this option, it will display a form or another. I will better explain it with the code:

I have this component code 1, if I click the button of this component, I pass the value "this.business" to the modal to display the form with the fields of this component.




How many you appreciate you tranquility?

Protect those you love most
WITH HEALTH INSURANCE

the .ts of this component is like this:

import {Component, OnInit} from '@ angular / core & # 39 ;;

@Component ({
selector: & # 39; app-body & # 39;
templateUrl: & # 39; ./ body.component.html & # 39;
styleUrls: ['./body.component.css']
})
the BodyComponent export class implements OnInit {
secure: string = "secure";

constructor () {}

ngOnInit () {
}


}

then, I have component 2, where I call this modal with the value that identifies this component:





Emprender
it has never been so easy
GET YOUR FREEDOM
financial WITH

and here is the .ts of this component:

import {Component, OnInit} from '@ angular / core & # 39 ;;

@Component ({
selector: & # 39; app-entrepreneurship & # 39;
templateUrl: & # 39; ./ emprendimiento.component.html & # 39 ;,
styleUrls: ['./emprendimiento.component.css']
})
The EmprendimientoComponent export class implements OnInit {
the spirit of enterprise: string = "the spirit of enterprise";
constructor () {}

ngOnInit () {
}

}

and here I have the modal code:

the problem I have is that I have never detected the variable "entrepreneurship", always enters the condition with the value "safe", when I click on the button of component 2, the variable having the value " entrepreneurship "is not transmitted, I created a console. log in and still have a value equal to "safe", why does this happen? I have hours to try and I could not.

[Vn5socks.net] Automatic update 24 hours a day, 7 days a week – good socks

LIVE ~ 148.72.209.6:57437 | 0.048 | Unknown | Unknown | Unknown | United States | Checked at vn5socks.net
LIVE ~ 47.93.251.207:3001 | 0.064 | Ottawa | SURE | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 47.96.78.125:7302 | 0.062 | Ottawa | SURE | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 70.183.39.3:25012 | 0.305 | Unknown | Unknown | Unknown | United States | Checked at vn5socks.net
LIVE ~ 50.62.59.61:62705 | 0,181 | Scottsdale | AZ | 85260 | United States | Checked at vn5socks.net
LIVE ~ 128.199.72.46:48081 | 0.048 | Unknown | Unknown | Unknown | United Kingdom | Checked at vn5socks.net
LIVE ~ 62.210.79.66:25923 | 0.313 | Unknown | Unknown | Unknown | la France | Checked at vn5socks.net
LIVE ~ 69.58.7.165:34852 | 0.273 | Athens | OH | 45701 | United States | Checked at vn5socks.net
LIVE ~ 125.68.172.20:7302 | 0.257 | Chengdu | 32 | Unknown | China | Checked at vn5socks.net
LIVE ~ 47.254.25.174:25333 | 0.199 | Ottawa | SURE | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 45.77.70.163:12345 | 0.178 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
LIVE ~ 169.239.221.90:50802 | 0.462 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
LIVE ~ 47.94.19.105:3001 | 0.081 | Ottawa | SURE | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 75.119.197.112:52352 | 0.149 | Brea | California | 92821 | United States | Checked at vn5socks.net
LIVE ~ 198.199.116.206:6634 | 0.269 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
LIVE ~ 124.65.145.126:7302 | 0.062 | Pekin | 22 | Unknown | China | Checked at vn5socks.net
LIVE ~ 193.124.178.45:10080 | 0.228 | Unknown | Unknown | Unknown | Russian Federation | Checked at vn5socks.net
LIVE ~ 220.79.34.109:2018 | 0.1 | Seoul | 11 | Unknown | Korea, Republic of | Checked at vn5socks.net

FireHeaven
Reviewed by FireHeaven sure
.
[Vn5socks.net] Automatic update 24 hours a day, 7 days a week – good socks
LIVE ~ 148.72.209.6:57437 | 0.048 | Unknown | Unknown | Unknown | United States | Checked at vn5socks.net
LIVE ~ 47.93.251.207:3001 | 0,064 | Ottawa | ON | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 47.96.78.125:7302 | 0,062 | Ottawa | ON | k1y4h7 | Canada | Checked at vn5socks.net
LIVING ~ 70.183.39.3:25012 | 0,305 | Unknown | Unknown | Unknown | United States | Checked at vn5socks.net
LIVE ~ 50.62.59.61:62705 | 0,181 | Scottsdale | AZ | 85260 | United

Evaluation: 5

.

7 – Why does d7_user_role need a connection to a configured database when the migration group already defines it?

I have just done a basic import super user_role and I am trying to do a user import. Both are in the same migration group and the migration group has a source key to specify which database listed in settings.php to use.

I can migrate and cancel the user_role import, but as soon as I try to import the users, I get "Migration mysite_user did not meet the requirements. No connection to the database configured for the d7_user_role source plugin.

migrate_plus.migration_group.basic_migration.yml

uuid: 512c4248-7f60-4b08-9cc2-8d804657262c
langcode: in
status: true
dependencies: {}
id: migration_base
label: base_migration
description: & # 39; basic migrations & # 39;
source_type: & # 39; Drupal 7 & # 39;
module: null
configuration_partagée:
source:
key: inheritance  

migrate_plus.migration.mysite_role.yml

uuid: 6e288181-f2fd-4e22-885e-02282cc4d222
langcode: in
status: true
dependencies: {}
id: mysite_role
class: null
field_plugin_method: null
cck_plugin_method: null
tags_migration:
- & # 39; Drupal 7 & # 39;
- Configuration
migration_group: migration_base
Tag: 'Mysite Role'
source:
plugin: d7_user_role
process:
username:
-
plugin: computer_name
name of the source
-
plugin: user_update_8002
name of the label
authorizations:
-
plugin: static_map
source: permissions
work around: true
map:
• Use PHP for block visibility: Use PHP for settings & # 39;
& # 39; administer the site-wide contact form & # 39; & # 39; administer contact forms & # 39;
& # 39; post comments without approval & quot; ignore & quot; approval comments & # 39;
"Edit your own blog entries: Edit your own blog content."
"Edit any blog entry: edit any blog content".
& # 39; delete own blog entries & # 39 ;: delete own blog content & # 39;
& # 39; delete any blog entry: & # 39; delete all blog content & # 39;
& # 39; create forum topics & quot; create forum content & # 39;
"Delete any forum topic": delete all forum content & # 39;
"Delete your own forum topics": delete your own forum content & # 39;
"Edit any forum topic": edit any forum content & # 39;
"Edit your own forum topics": edit your own forum content & # 39;
-
plugin: flatten
weight: weight
destination:
plugin: entity: user_role & # 39;
dependencies_migration: null

migrate_plus.migration.mysite_user.yml
uuid: bd0ef271-9c8f-40d7-9b65-8147e4cdda47
langcode: in
status: true
dependencies: {}
id: mysite_user
class: Drupal  user  Plugin  migrate  User
field_plugin_method: null
cck_plugin_method: null
tags_migration:
- & # 39; Drupal 7 & # 39;
- Content
migration_group: migration_base
tag: 'Mysite User'
source:
plugin: d7_user
process:
uid: uid
name name
pass: pass
mail: mail
created: created
access: access
Login Login
status: status
time zone: time zone
langcode:
plugin: user_langcode
original language
fallback_to_site_default: false
preferred_langcode:
plugin: user_langcode
original language
fallback_to_site_default: true
preferred_admin_langcode:
plugin: user_langcode
original language
fallback_to_site_default: true
init: init
roles:
plugin: migration_lookup
migration: d7_user_role
source: roles
user_picture:
-
plugin: default_value
source: image
default_value: null
-
plugin: migration_lookup
migration: d7_file
destination:
plugin: 'entity: user & # 39;
migration dependencies:
Required fields:
- d7_user_role
- mysite_role
optional:
- d7_field_instance
- d7_file
- language
- default language
- user_picture_field_instance
- user_picture_entity_display
- user_picture_entity_form_display  

All the indicators to start looking for would be very appreciated.

7 – Multiselect variable response form

I create a multiselection element with the help of a fixed function called by AJAX and when reloading the form. Although the function is the same, the behavior differs.

    & # 39;
& # 39 ;, & # 39; # suffix & # 39; => & # 39;
& # 39 ;, ) $ form['form_wrapper']['properties'] = table ( & # 39; # prefix & # 39; => & # 39;

Filter by sequence properties

& # 39 ;, & # 39; # suffix & # 39; => & # 39;
& # 39 ;, //
& # 39 ;, ) // Location of the collection of samples // drupal_set_message (print_r ($ location_li2), true); // $ location_li2 is not read correctly $ country_li = array (); $ state_li = array ("" => ""); foreach ($ location_li2 as $ location_li) { $ country_li[$location_li[0]]= $ location_li[0]; if (isset ($ _ POST['ddl1b']) && in_array ($ location_li[0], $ _POST['ddl1b']) && sizeof ($ location_li)> 1) { foreach ($ location_li[1] like $ state) { $ state_li[$location_li[0]. & # 39;: & # 39 ;. $ state]= explode (& # 39;, $ state)[0]; // include the value of the country in the state } } } $ form['#state_li'] = $ state_li; $ form['form_wrapper']['properties']['collection_location']['title_wrapper'] = table ( & # 39; # prefix & # 39; => & # 39;Sampling place& # 39 ;, & # 39; # suffix & # 39; => & # 39;& # 39 ;, ) $ form['form_wrapper']['properties']['collection_location']['title_wrapper']['ddl1b'] = table ( & # 39; # prefix & # 39; => & # 39;
& # 39; // width: 49% "> & # 39; & # 39; # suffix & # 39; => & # 39;
& # 39 ;, & # 39; # type & # 39; => & # 39 ;, select & # 39; # multiple & # 39; => TRUE, & # 39; # Options & # 39; => $ country_li, & # 39; # id & # 39; => & # 39; ddl1b & # 39; & # 39; # attributes & # 39; => array ( & # 39; autocomplete & # 39; => & # 39; off & # 39; // onchange & # 39; => & # 39; ) & # 39; # ajax & # 39; => array ( & # 39; callback & # 39; => & # 39; add_state_select & # 39; & # 39; wrapper & # 39; => & # 39; ddl2b_wrapper & # 39; & # 39; progress & # 39; => array (& # 39; type => & nbsp; none), ) ) $ form['form_wrapper']['properties']['collection_location']['title_wrapper']['ddl2b_wrapper'] = table ( & # 39; # prefix & # 39; => & # 39;
& # 39 ;, & # 39; # suffix & # 39; => & # 39;
& # 39 ;, ) $ form['form_wrapper']['properties']['collection_location']['title_wrapper']['ddl2b_wrapper'] = add_state_select ($ form, $ form_state); $ form['form_wrapper']['table_button'] = table ( & # 39; # type & # 39; => & # 39; & # 39; # value & # 39; => & # 39; Submit & # 39 ;, & # 39; # submit & # 39; => array (& # 39; activate_table & # 39;), & # 39; # ajax & # 39; => array ( & # 39; callback & # 39; => & # 39; rebuild_form & # 39; & # 39; wrapper & # 39; => & # 39; form_wrapper & # 39; ) ) if (! empty ($ form_state['table'])) { $ form['form_wrapper']['raw_html'] = table ( & # 39; # type & # 39; => & # 39; markup & # 39 ;, & # 39; # markup & # 39; => & # 39;

TEST! & # 39 ;, ) } return $ form; } function rebuild_form ($ form, $ form_state) { return form $['form_wrapper']; } function activate_table ($ form, & $ form_state) { $ form_state['table'] = TRUE; $ form_state['rebuild'] = TRUE; } function add_state_select ($ form, & $ form_state) { // drupal_set_message (& # 39; triggered add_state_select () & # 39;); $ state_li = $ form['#state_li']; $ form['form_wrapper']['properties']['collection_location']['title_wrapper']['ddl2b_wrapper'] = table ( & # 39; # prefix & # 39; => & # 39;
& # 39 ;, & # 39; # suffix & # 39; => & # 39;
& # 39 ;, ) if (sizeof ($ state_li)> 1) { // drupal_set_message (& # 39; triggered conditional build & # 39;); $ form['form_wrapper']['properties']['collection_location']['title_wrapper']['ddl2b_wrapper']['ddl2b'] = table ( & # 39; # type & # 39; => & # 39 ;, select & # 39; # multiple & # 39; => TRUE, & # 39; # Options & # 39; => $ state_li, & # 39; # id & # 39; => & # 39; ddl2b & # 39; & # 39; # attributes & # 39; => array ( & # 39; autocomplete & # 39; => & # 39; off & # 39; // multiple & # 39; => & # 39 ;, ) ) } return form $['form_wrapper']['properties']['collection_location']['title_wrapper']['ddl2b_wrapper']; }

After interacting with the first drop-down menu (ddl1b, contains information about the country), only one selection element is generated (ddl2b). The form does not recognize & # 39; # multiple & # 39; => TRUE as a valid value. The select element can always be set to multiple using attributes, but selections will no longer be recognized by $ form_state and are lost during rebuilding.

AJAX Trigger

When the second selection element is created when the page is rebuilt, it is correctly configured to accept multiple selections. The element has the expected behavior ($ form_state works, the selected elements remain in reconstruction).

Form reconstruction

This behavior seems abnormal. It may be a bug related to my current version of Drupal (7.67). Or maybe my reminder is not structured properly.

[Vn5socks.net] Automatic update 24 hours a day, 7 days a week – good socks

LIVE ~ 124.65.145.126:7302 | 0.06 | Pekin | 22 | Unknown | China | Checked at vn5socks.net
LIVE ~ 47.254.25.174:25333 | 0.189 | Ottawa | SURE | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 188.165.236.46:1088 | 0.257 | Unknown | Unknown | Unknown | la France | Checked at vn5socks.net
LIVE ~ 95.110.186.48:10175 | 0.199 | Unknown | Unknown | Unknown | Italy | Checked at vn5socks.net
LIVE ~ 167.99.170.63:9050 | 0.233 | High value | TX | 76104 | United States | Checked at vn5socks.net
LIVE ~ 2.234.226.32:17779 | 0.219 | Unknown | Unknown | Unknown | Italy | Checked at vn5socks.net
LIVE ~ 207.188.176.38:28728 | 0.21 | Las Vegas | NV | 89144 | United States | Checked at vn5socks.net
LIVE ~ 148.72.209.6:57437 | 0,046 | Unknown | Unknown | Unknown | United States | Checked at vn5socks.net
LIVE ~ 93.58.108.138:3002 | 0.214 | Bologna | 05 | Unknown | Italy | Checked at vn5socks.net
LIVE ~ 47.94.19.105:3001 | 0.066 | Ottawa | SURE | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 50.63.3.131:28470 | 0,255 | Scottsdale | AZ | 85260 | United States | Checked at vn5socks.net
LIVE ~ 192.169.216.124:31864 | 0.2 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
LIVE ~ 47.96.78.125:7302 | 0,065 | Ottawa | SURE | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 50.62.56.237:2398 | 0.277 | Scottsdale | AZ | 85260 | United States | Checked at vn5socks.net
LIVE ~ 169.239.221.90:50802 | 0.387 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
LIVE ~ 50.62.59.61:62705 | 0.269 | Scottsdale | AZ | 85260 | United States | Checked at vn5socks.net
LIVE ~ 69.4.86.195:24544 | 0.325 | Unknown | Unknown | Unknown | United States | Checked at vn5socks.net

FireHeaven
Reviewed by FireHeaven sure
.
[Vn5socks.net] Automatic update 24 hours a day, 7 days a week – good socks
LIVE ~ 124.65.145.126:7302 | 0,06 | Beijing | 22 | Unknown | China | Checked at vn5socks.net
LIVE ~ 47.254.25.174:25333 | 0,189 | Ottawa | ON | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 188.165.236.46:1088 | 0,257 | Unknown | Unknown | Unknown | France | Checked at vn5socks.net
LIVE ~ 95.110.186.48:10175 | 0.199 | Unknown | Unknown | Unknown | Italy | Checked at vn5socks.net
LIVE ~ 167.99.170.63:9050 | 0,233 | Fort Worth | TX | 76104 | United States |

Evaluation: 5

.

Premium Domain 7 characters from b8coins.com, perfect for Bitcoin-related content.

I can provide content (articles) to the buyer or help with content management over the water.

Why are you selling this site?

Need funds and would like to continue the site but is financially limited.

How is it monetized?

can be used for Amazon affiliates, cryptocurrency blogs or any other type of monetization.

Is this site provided with social media accounts?

Yes, a Facebook page with 6,000+ subscribers

How long does this site take to run?

24 hours or less …

Premium Domain 7 characters from b8coins.com, perfect for Bitcoin-related content.

7 – How to print in a view field template the url of a multi-field image?

I would like to print in a field of views model the url of each image of a multi-field image.

This is my code but only print the URI

$ vals = $ view-> field['field_property_slideshow']-> get_value ($ row);
$ field_values ​​= array ();
foreach ($ vals like $ i => $ v) {
print $ field_values[$i] = $ v['uri'] ;
}

Can someone show me the right direction?

[WTS] Exmasters.com – * High Quality * Dedicated Hosting | Host tested

This is a discussion on Exmasters.com – * Dedicated Hosting * High Quality | 24/7 assistance! in the Webmaster Marketplace forums, part of the enterprise category; Exmasters is one of the world's leading providers of adult and high-speed web hosting, which offers a new concept of …

.