Sharepoint: When opening the file, a warning is issued that is insecure or from an untrusted source

Please help. I inherited Sharepoint without knowing it, and it crashed a few weeks ago, but we were able to recover most features, and that's the only thing left over. When I open documents with WopiFrame, I receive a warning that the material is insecure or from an untrusted source. The valid SSL certificate is installed. I have applied it in bindings. I also added it to the trust relationship in Central Administration. I also modified it in OfficeWebAppsFarm using PowersShell to indicate that a server should be corrected and restarted all servers as suggested, and nothing works. Suggestions would be very grateful. I'm sure I just miss a little thing that I'm not aware of.

Replacing Ajax fails with the Form ID mismatch warning, even if the event is not executed the second time in Drupal 8

Enter image description here

Above the field is the paragraph field with two separate selection fields. Note : Business Rules Engine does not work with it.
Both field options are loaded from entity reference views.

Trying to create a dependent selection box with Drupal 8 Ajax Replace.

The replacement fails the second time, and the log displays the match with the form ID as a warning.

I tried a different approach by using HtmlCommand instead of ReplaceCommand and set the static ID for the child form element. By default, Drupal provides a dynamic ID for each form element. Also, if I try to change the item ID, it will not work by giving a Form ID mismatch warning.

  1. I tried to replace the entire form element by packing the wrapper with ReplaceCommand.
    / **
    * Implemented hook_field_widget_WIDGET_TYPE_form_alter ().
    * /
    function module_name_field_widget_entity_reference_paragraphs_form_alter (& $ element, & $ form_state, $ context) {

                    $ element['subform']['field_course']['widget']['#ajax']    = [
                  'callback' => 'get_competency',
                  'event' => 'change',
                  'method' => 'replace',
                  'wrapper' => '#edit-competency-'.$uuid_value,
                ];
    
    }
    
    
    
    Function get_competency (Array & $ element, FormStateInterface $ form_state, $ context) {
    
    
    $ triggeringElement = $ form_state-> getTriggeringElement ();
    $ value = $ triggeringElement['#value'];
    
    $ gt =  Drupal :: service (& # 39; generic_templates.utility & # 39;);
    $ options = $ gt-> getCompetency ($ value);
    $ options = ["_none" => "- Select a value -"] + $ options;
    $ wrapper_id = $ triggeringElement["#ajax"]["wrapper"];
    unset ($ triggeringElement["#value"]);
    unset ($ triggeringElement["#ajax"]);
    $ triggeringElement['#title'] = "Competence";
    $ triggeringElement['#prefix'] = & # 39;
    & # 39 ;; $ triggeringElement['#suffix'] = & # 39;
    & # 39 ;; $ triggeringElement['#options'] = $ options; $ triggeringElement['#default_value'] = NULL; $ triggeringElement['#field_name'] = "Field competence"; $ triggeringElement['#parents'] = [ "field_configurations", 0, "subform", "field_configuration", 0, "subform", "field_score", 0, "subform", "field_competency", ]; $ triggeringElement["#array_parents"] = [ "field_configurations", "widget", 0, "subform", "field_configuration", "widget", 0, "subform", "field_score", "widget", 0, "subform", "field_competency", "widget", ]; $ triggeringElement["#attributes"]["data-drupal-selector"] = str_replace ("course", "competence", $ triggeringElement["#attributes"]["data-drupal-selector"]); $ triggeringElement["#name"] = str_replace ("course", "competence", $ triggeringElement["#name"]); $ id = explode (& # 39; - & # 39 ;, $ triggeringElement["#id"])[0]; $ triggeringElement["#id"] = str_replace ("course", "competence", $ id); return $ triggeringElement; }
  2. I changed the ID of the element as a wrapper ID so that the form element itself now acts as a wrapper, and I used HtmlCommand. The idea is to replace only the entire Drupal-generated selection field (1st method).

use Drupal Core Ajax AjaxResponse;
use Drupal Core Ajax HtmlCommand;

                / **
* Implemented hook_field_widget_WIDGET_TYPE_form_alter ().
* /
function module_name_field_widget_entity_reference_paragraphs_form_alter (& $ element, & $ form_state, $ context) {

$ element['subform']['field_course']['widget']['#ajax']    = [
                  'callback' => 'get_competency',
                  'event' => 'change',
                  'method' => 'html',
                  'wrapper' => 'edit-competency-'.$uuid_value,
                ];

$ element['subform']['field_competency']['widget']['#attributes']['id']= & # 39; processing competence - & # 39 ;. $ uuid_value;

}



Function get_competency (Array & $ element, FormStateInterface $ form_state, $ context) {

$ triggeringElement = $ form_state-> getTriggeringElement ();
$ value = $ triggeringElement['#value'];

$ gt =  Drupal :: service (& # 39; generic_templates.utility & # 39;);
$ options = $ gt-> getCompetency ($ value);
$ options = ["_none" => "- Select a value -"] + $ options;
$ wrapper_id = $ triggeringElement["#ajax"]["wrapper"];

$ gt =  Drupal :: service (& # 39; generic_templates.utility & # 39;);
$ options = $ gt-> getCompetency ($ value);
$ options = ["_none" => "- Select a value -"] + $ options;
$ renderingField = & # 39; & # 39 ;;

foreach ($ options as $ key => $ value) {
$ renderingField. = "";
}

$ response = new AjaxResponse ();
$ response-> addCommand (new HtmlCommand (# #; # $ wrapper_id, $ renderingField));
return $ response;
}

laravel – How do I fix the following PHP warning?

I'm working on an old project that's being built Laravel 5.2, The application was attacked and the website was not available. I removed the infected code. However, the following error message appears now:
PHP warning: require (): The file name must not be empty in public_html / vendor / laravel / framework / src / Illuminate / Foundation / Bootstrap / LoadConfiguration.php on line 60
The following code is in the file where the error occurs:

protected function loadConfigurationFiles (Application $ app, RepositoryContract $ repository)
{
foreach ($ this-> getConfigurationFiles ($ app) as $ key => $ path) {
$ repository-> set ($ key, $ path required);
}
}

How can I solve this?

Java – Android Studio Warning

Hello, I start in Android Studio and where the warnings of the components in Android are solved by giving them a name from the "strings", but it happens that I have two edits of the type number and even though I add them to the strings , I always get the following error.
"Missing attribute" "autofillHints" "I hope you can help me fix the problem

laravel – PHP warning, library pdo_firebird is not loading!

I have already commented out the line in php.ini, which is Interbase and Firebird. I already have Firebird installed and even then this warning is still displayed. I have tested with the other modules, except the two. I have two machines, one I have done everything I have done in the other and the application has been well received. But on the development machine, no. I have already copied the PHP folder from one to the other and nothing. I have php installed on both machines of chocolatey, i use windows. To work on this problem computer, I had to use the Linux subsystem, but I do not want to use it because it consumes memory. Any tips?

Python – How do I fix this warning "SNIMissingWarning"?

So I'm trying to use a Python program called awslogs to query different log streams. When I call

sudo awslogs received / aws / lambda / Process ALL --start = & # 39; 5 day & # 39;

I get a warning

SNIMissingWarning: An HTTPS request was made, but the Server Name Indication (SNI) extension for TLS is not available on this platform. This can cause the server to display a false TLS certificate, which can lead to validation errors. You can upgrade to a newer version of Python to resolve this issue. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

After reading online and from the mistake itself, the solution is to update my Python. My Python version is 2.7.6.

So I tried to update Python with these commands.

sudo add-apt-repository ppa: jonathonf / python-2.7

sudo apt-get update

sudo apt-get install python2.7

Python version

However, when I run

sudo add-apt-repository ppa: jonathonf / python-2.7

I get this error message

Tracing (last call last):
File "/ usr / bin / add-apt-repository", line 11, in 
    from softwareproperties.SoftwareProperties imports SoftwareProperties, shortcut_handler
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 27, in 
    Import apt_pkg
ModuleNotFoundError: No module named & # 39; apt_pkg & # 39;

I could not solve this problem with what I found online, so I am publishing this here.

Programming – Warning: "{number} is too small to be represented as a normalized machine number" and SetPrecision

I have the following summaries:

The code:

Nmax = 60

[Rho] = SetPrecision[10/10, 30]

M max = 60

c = SetPrecision[1/10000, 30]

G[i_, j_, k_, n_, m_] = E ^ (- (1/8) ((
c [Pi])[Rho]) ^ 2 ((n + 1/2) ^ 2 + (m + 1/2) ^ 2 +
8th [Rho]^ 2 (i ^ 2 + j ^ 2 + k ^ 2)) / (((n + 1/2) ^ 2 +
4 [Rho]^ 2 (i ^ 2 + j ^ 2 + k ^ 2)) ((m + 1/2) ^ 2 +
4 [Rho]^ 2 (i ^ 2 + j ^ 2 + k ^ 2))) (2 + Cos[[[[[Pi] (n - m)]+
cos[[[[[Pi] (n + m + 1)])

H[n_, m_] = (G[0, 0, 0, n, m] + Sum[6*G[i, 0, 0, n, m], {i, 1, + Nmax}]+
total[12*G[i, i, 0, n, m], {i, 1, + Nmax}]+
total[24*G[i, j, 0, n, m], {i, 1, + Nmax}, {j, 1, i - 1}]+
total[8*G[i, i, i, n, m], {i, 1, + Nmax}]+
total[24*G[i, i, j, n, m], {j, 1, + Nmax}, {i, 1, j - 1}]+
total[24*G[i, i, j, n, m], {i, 1, + Nmax}, {j, 1, i - 1}]+
total[48*G[i, j, k, n, m], {i, 1, + Nmax}, {j, 1, i - 1}, {k, 1, j - 1}])


index[J, 5] = (Sqrt[2] c ^ 3 [Rho]^ 2) / ((8 - 5 Sqrt[2]) / (
24 [Pi]^ (5/2))) (H[0, 0] + 2 * total[H[n, 0] + H[-n, 0], {n, 1, Mmax}]+
total[H[n, n] + 2 * H[n, -n] + H[-n, -n], {n, 1, Mmax}]+
2 * Sum[H[n, m], {n, 1, Mmax}, {m, 1, n - 1}]) 

Enter image description here

The formula is correct, but I do not understand what I'm doing wrong.

What I get is the following error mex:

"2.607130362672965 * 10 ^ -304 0.000071315866888934451803845708122 is
too small to be represented as a normalized machine number; Precision can
being lost.

Further editions of General :: munful are suppressed.
Calculation"

Enter image description here

Could you help me guys?

Also, I used SetPrecision this way because a suggestion was made in this forum that worked in an earlier case. Can you suggest something better?

Many Thanks!

Greetings,

Nico

mysql – No warning regarding the used index in the WHERE column is NULL

You should create and index anyway.

Run the following query:

SELECT COUNT (1) Number of rows, my_column FROM mTable GROUP BY my_column
UNION SELECT COUNT (1) row count, & # 39; whole table & # 39; FROM mTable;
SELECT DISTINCT my_column & # 39; Cardinality & # 39; from mTable;

If the number of lines for ZERO is more than 5% of Whole tablean index can not be used as a query optimizer if your FROM WHERE Clause is AND my_column is ZERO or AND my_column IS NOT ZERO (especially if the number of lines with ZERO is about the same as the number of linesZERO). If the cardinality of my_column is an index very low (indicating a small number of unique values) my_column may never be used.

This warning that you mentioned may disappear when you create the index for my_columnbut the index must never be used if the circumstances that I have mentioned apply.

The index can be of value if ZERO my_column equals 90% of the table.

My recommendation is not to do any at the moment.

bitcoin core – background warning information when closing the wallet in clipped mode

A cut-off knot always catching up, what's the hassle?

The problem is because Bitcoin Core was opened, but the wallet was not loaded into Bitcoin Core (because you closed it). Bitcoin Core will continue to sync and get new blocks and transactions. However, old blocks are discarded once the configured amount of block data has been stored.

For example, say your cropped node is synchronized with block 570000 and configured to preserve 1000 data blocks. If you do that Close the wallet In block 570000, your wallet is synced to block 570000. However, Bitcoin Core continues to run, receiving new blocks and transactions. 1000 blocks later block 571000 block 570000 is discarded. One block later, block 570001 is discarded.

If you try to reload your wallet, it will attempt to find the latest block and look for block 570001 to begin scanning again. However, your node has already discarded the block so the reconsideration can not continue. To scan block 570001, the entire blockchain must be downloaded again. The warning is there for that.

Throughout the time your wallet was closed, Bitcoin Core was still running. However, her wallet was not loaded into the wallet, so she can not search for transactions related to that wallet, and even if she did, she would not know where to locate the transactions found. So it always stops, but without the wallet in question, it does not find the transactions that interest you.