Warning to download themes and add-ons.

I recently downloaded a topic to test a client project. I always do that before buying a theme.

2 problems appeared:

The first was that I had to delete all the mentions of the site from where I downloaded the subject.

within the theme styles.css case file. This was easy because all the mentions were in the upper part of the file (they only replaced all the links with false ones).

The second problem was that these imbeciles had injected a redirection code that when activated (at random intervals) opened a new window of a site called

Code:

freedownloadmusic.com

, or something like that. The solution was to open the themes folder, then the include folder and delete everything inside the functions-init.php file.

Although this was only a trial installation for me, I would like to warn all people who are here not to download and / or install themes or wp plugins from that site, to avoid these types of problems. More importantly, just do not share them here, because you do not have to fuck someone else's site.

Oh, and if you feel like it, visit your Facebook page and show your appreciation for the spread of malicious codes through their actions.

Thank you for reading….

wpml plugin – PHP warning menu adding

(I'm sorry for my English…)
I have a problem…:

I can not add / translate menus in my administrator. I have this error in debug.log:

PHP warning: strip_tags () expects parameter 1 to be a string, given matrix in C:  wamp64  www  www.guestonline.io  wp-includes  formatting.php on line 4670 "

Since I installed WPML, I had many errors with my database (main key and auto increment deleted …). I corrected these errors easily (only with SQL), but for this new problem with Menus and Warning, I do not know what to do.

Thank you !

Does anyone else using Quadranet receive a warning that prices are rising?

I'm going to defend a little Quadranet here. We are not clients, but we are in the same industry and we perceive the expectation that the same price will remain forever as an unrealistic expectation.

When leasing a large-scale data center space, and even if you rent a whole building as a warehouse and build the infrastructure as a provider, there is a constant amount of annual cost climbers in the lease. As a provider, therefore, you are absorbing 2-3% per year of cost increases in one of your largest expenses, regardless of possible increases in labor costs by giving your employees annual increases and / or benefit cost increases. of health. If you "charge an excessive price" from day 1 to absorb these cost increases over time, you must increase your price by 10 +% to take into account a customer who can stay for 3 years. As a provider, your hope is more likely that ALL customers will stay as long as possible. However, the problem is 22 if its price is 10% higher to take into account future costs in 3 years, then it will acquire a significantly lower number of customers. This problem is extremely relevant in the contracts / placement clients, however, a little less relevant in dedicated server / VPS accounts where depreciated hardware expenses can offset the cost increases. However, with dedicated servers / VPS servers, there is also a very significant cost increase in the software license if your dedi / VPS is using any licensed product you are obtaining through your provider. The price of Microsoft SPLA almost always increases from 5 to 10% per year, which in some smaller systems can account for more than 2% of the total cost of the server.

We almost always tell clients that they sign multi-year placement contracts that, upon renewal / at the end of the period, can expect an increase in the price of X% (varies according to the duration of the term) to justify the increases in expected costs . With the services from month to month, this is much more difficult since you do not know if the client will leave in 4 months or 4 years. Then, as time goes by and the customer has a rate of 4 years, I find a completely reasonable price increase and something that a customer should almost expect.

In my opinion, a better debate because personally I would like to hear the perspective of the "customer" is about how the price increases are implemented. Would you rather receive a notice practically every year that your rate is going up ~ 2% or if Quadranet's current approach / our rate increase every 2-4 years ~ 5% is more "acceptable"? Personally, we also do not raise prices unilaterally, since we try to analyze each account individually. If we have a client who signed up 6 years ago, but when he signed up 6 years ago, they hired a lot of bandwidth (for the time being), we know that the majority / all the cost increases of our facilities / labor they are being compensated by the drop in bandwidth costs (the only thing that decreases in price over time), so that their rate could remain the same for more than 10 years. On the other hand, if we have a 2-year account that has practically no bandwidth usage, since they are a computing center that uses 24×7 maximum power, we are more likely to approach them every 2 years approximately with respect to the costs.

A warning for everyone, be careful with drinking and driving.

A warning to everyone, be careful when drinking and driving, as we approach the New Year and the police are watching people.

Last night I was in town for a few drinks. One thing led to the other and I had too many wines. I know … it's not a good idea. Knowing that I was over the limit, I decided to leave my car where I was and take the bus home. Sure enough, I passed in front of a police car that was arresting the drivers and doing alcohol tests. As I was on the bus, they just greeted him, I got home safely and without incident, which was a real surprise, since I had never driven a bus before and I'm not even sure where I got it from.

php – Warning: mysqli_query () expects parameter 1 to be mysqli, string give

The server is not found ");

    // we get the form values
    $ FullName = $ _POST[‘NombreCompleto’];
    $ Surname = $ _POST[‘Apellidos’];
    $ Gmail = $ _POST[‘Gmail’];
    $ Password = $ _POST[‘Password’];
    $ Confirm = $ _POST[‘Confirmar’];

    // Get the longitus of a string
    $ req = (strlen ($ FullName) * strlen ($ Surname) * strlen ($ Gmail) * strlen ($ Password) * strlen ($ Confirm)) or die ("All fields have not been filled");

    // the password is confirmed
    if ($ Password! = $ Confirm) {
        die ('Passwords do not match, check
Return');
    }

    // the password is encrypted
    $ Password = md5 ($ Password);

    // enter the information to the database
    mysqli_query ("INSERT INTO data VALUES ('', '$ FullName', '$ Lastname', '$ Gmail', '$ Password')", $ link) or die ("

Error Saving the data

");
    threw out'
        
            alert ("Successful Registration");
            location.href = "index.html";
        
    '

?> The server is not found ");

    // we get the form values
    $ FullName = $ _POST[‘NombreCompleto’];
    $ Surname = $ _POST[‘Apellidos’];
    $ Gmail = $ _POST[‘Gmail’];
    $ Password = $ _POST[‘Password’];
    $ Confirm = $ _POST[‘Confirmar’];

    // Get the longitus of a string
    $ req = (strlen ($ FullName) * strlen ($ Surname) * strlen ($ Gmail) * strlen ($ Password) * strlen ($ Confirm)) or die ("All fields have not been filled");

    // the password is confirmed
    if ($ Password! = $ Confirm) {
        die ('Passwords do not match, check
Return');
    }

    // the password is encrypted
    $ Password = md5 ($ Password);

    // enter the information to the database
    mysqli_query ("INSERT INTO data VALUES ('', '$ FullName', '$ Lastname', '$ Gmail', '$ Password')", $ link) or die ("

Error Saving the data

");
    threw out'
        
            alert ("Successful Registration");
            location.href = "index.html";
        
    '

?>

nfp hosting warning to all

I would like to say that I have used nfp hoses for a while and I have had nothing but problems. The VPS idle time was so frequent that the VPS I had were basically useless. I struggled trying to use the VPS for 6 months and finally gave up.

Unfortunately, I paid an annual subscription to save a few dollars. What a big mistake that was. I canceled my vps hosting 6 months earlier and they refuse to refund my 6 months of unused services … stating that they are against their TOS.

TOS states that "We offer a 3-day money back guarantee on shared hosting, reseller and VPS hosting services, any request for refund sent beyond this deadline will be evaluated on a case-by-case basis."

As far as I'm concerned, the six months I requested were prior to the 3-day money back guarantee, because the services had not yet been used. I feel like they're stealing me, correct me if I'm wrong.

I'm waiting to see what PayPal thinks about this, I hope they will side with me and return my unused portion of the services.

I have used many vps hosting services recently and this was the biggest mistake I made. I wish I had been warned not to use them.

Hopefully, this will prevent someone from going through what I've been through.

python – Warning: Linker: (..) Unused DT entry

I was creating a python script using keras in termux with theano as backend, because I can not install tensorflow in android, when I'm going to execute it it appears:

Using Theano backend
WARNING: linker: /data/data/com.termux/files/home/.theano/compiledir_Linux-3.18.19+-armv7l-with-libc--3.7.1-32/tmpmx5j8pis/m8dccfba9ba8331d682882b58b71f10b9964902caa05aab2e113780b563796fce.so: unused DT entry: type 0x1d arg 0x3ba
WARNING: linker: /data/data/com.termux/files/home/.theano/compiledir_Linux-3.18.19+-armv7l-with-libc--3.7.1-32/tmp3y_u2m51/m8d1bf9e79b85f534dfe998575c7e7ea4dd1c5d1dcc10f88b36d113cbd6c7a993.so: unused DT entry: type 0x1d arg 0x362
Epoch 1/100
5/5 [==============================] - 0s 5ms / step - loss: 4.8022
...
Epoch 100/100
5/5 [==============================] - 0s 5ms / step - loss: 3.1974e-14
WARNING: linker: /data/data/com.termux/files/home/.theano/compiledir_Linux-3.18.19+-armv7l-with-libc--3.7.1-32/tmpci2gf174/m5e618a30457958f05755e24c8e216abe250732682e64206030484fe296085b50.so: unused DT entry: type 0x1d arg 0x33d
11 # Result

How do I solve or hide these warnings?

Here I leave all the files:

~ / .keras / keras.json

{
    "floatx": "float32",
    "epsilon": 1e-07,
    "backend": "theano",
    "image_data_format": "channels_last"
}

~ / nn.py

import keras
import numpy as np

model = keras.models.Sequential ([
    keras.layers.Dense(1, input_dim=1)
])

mse = keras.losses.mean_squared_error
sgd = keras.optimizers.SGD (lr = 0.01, momentum = 0.9, nesterov = True)

model.compile (loss = mse, optimizer = sgd)

x = np.array ([1, 2, 3, 4, 5])
y = np.array ([1, 3, 5, 7, 9])

model.fit (x, y, epochs = 5, batch_size = 1)
result = model.predict ([6])
print (int (round (result[0][0])))

It does not exist or I do not know where it is .theanorc

Python 3.7.1

Keras 2.2.4

Theano 1.0.3

Clang 7.0.0

More than 7 hours of downtime, no warning or clue: your periodic reminder to avoid Site5 and all EIG properties

I know, I know, I should have migrated away from the shared Site5 hosting a long time ago, but our organization is really taking advantage of its "unlimited" storage and hosting many dozens of PDF file presentations there. Also, I have four sites with tons of personalized CGI under the account and I never had the time to migrate everything. So I have continued renewing.

Well, now we're paying for my silly decision. The site has been inactive for more than eight hours, unable to connect to the shared MySQL database. There is not a word about anything on the status page. There is no longer the option to enter a support ticket, just enter a chat session with a clueless representative in India who says he is updating "the database" due to the "loss of packages". There is no explanation as to why the cPanel access to MySQL still works. I think they have misinterpreted something and can not understand what.

Luckily, my backups are current. I am not that negligent!

So, where can I opt for decent quality shared hosting with full access through SSH? I have about four virtual hosts, about one hundred gigs of videos and PDF files (all legitimate, we are an educational organization) and I need TLS 1.2 support for PayPal integration. We were paying Site5 $ 11 a month.

7 – Warning when downloading a particular web form

Warning when downloading particular web forms in drupal 7 that damage the Excel sheet downloaded or that have a size of 0 bytes.

Warning: unlink (/ var / www / html / xxx / sites / default / files / tmp / webform_Yfu6cX): There is no such file or directory in drupal_unlink () (line 2308 of / var / www / html / xxx / includes / file . Inc).

Warning: fopen (temporary: // webform_Yfu6cX): the sequence could not be opened: "DrupalTemporaryStreamWrapper :: stream_open" error in the call to webform_results_batch_eof () (line 1521 of / var / www / html / xxx / sites / all / modules / contrib / webform /includes/webform.report.inc).

The temporary directory permit is 777.

Some web forms can be downloaded correctly and others can not. Primarily, this problem occurs when the number of shipments is greater.

Sometimes, after 2 to 3 times the download, Excel sheets are generated.

Could someone please help me in this matter?

Missing web form options / a CDN warning still appears

With Drupal 8 I have installed Webform through the composer:

composer requires drupal / webform

Then I used the recommended method to add the libraries locally:
web form drush: libraries: composer> web / composer.libraries.json

Now I can see the libraries inside my library folder (in web / libraries)

But every time I go to Structure / Webform / Configuration / Libraries, I still receive notification about the local download of my libraries.

Does that mean that Drupal still believes that I am accessing them through CDN, or will that notification always be displayed?
And if it comes first, how do I make Drupal recognize that they are in my web folder / libraries?

The file composer.libraries.json is in my web folder (created through the drush command listed above)

Another thing I noticed is that there should be a list of predefined options in Structure / Web form / Settings / Options;
but my options page is empty.
How can I retrieve the list of predefined options?