mysql – Uncaught Error: Calling the undefined function mysql_connect () – WordPress installation

I tried to install WordPress without xamp on my local computer. Version information:

WordPress: 5.2.3
PHP: 7.3.9
Apache: 2.4.41 

When accessing this URL -http: // localhost: 8080 / wordpress / wp-admin / install.php, WordPress logs show the following:

(16-Sep-2019 18:47:34 UTC) PHP Fatal error:  Uncaught Error: Call to 
undefined function mysql_connect() in C:appshttpd-2.4.41-win64- 
VS16Apache24htdocswordpresswp-includeswp-db.php:1643

I have tried the solutions available online, but still see the error.

Solutions I've tried so far:

Add the following to my wp-config.php:

define( 'WP_USE_EXT_MYSQL', true);

Added the following to php.ini:

extension_dir = "ext"
extension=php_mysqli.dll

This is my phpinfo:

Server API  Apache 2.0 Handler
Virtual Directory Support   enabled
Configuration File (php.ini) Path   C:windows
Loaded Configuration File   C:appsphp-7.3.9php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed    (none)
PHP API 20180731
PHP Extension   20180731
Zend Extension  320180731
Zend Extension Build    API320180731,TS,VC15
PHP Extension Build API20180731,TS,VC15
Debug Build no
Thread Safety   enabled
Thread API  Windows Threads
Zend Signal Handling    disabled
Zend Memory Manager enabled
Zend Multibyte Support  disabled
IPv6 Support    enabled
DTrace Support  disabled
Registered PHP Streams  php, file, glob, data, http, ftp, zip, compress.zlib, phar
Registered Stream Socket Transports tcp, udp
Registered Stream Filters   convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*

Ruby on Rails – Error adding tasks to a sprint backlog in Redmine

I can not add anything to the sprint in a particular project, resulting in the following blocking error

In the author project I can add everything to the sprint,

This is my environment:

Environment:
  Redmine version                3.4.3.stable.17134
  Ruby version                   2.2.5-p319 (2016-04-26) (x86_64-linux)
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.7.14
  Git                            1.8.3.1
  Filesystem                     
Redmine plugins:
  additionals                    2.0.20
  clipboard_image_paste          1.12
  computed_custom_field          1.0.6
  redhopper                      1.0.11
  redmine_agile                  1.4.12
  redmine_banner                 0.1.2
  redmine_base_deface            0.0.1
  redmine_dmsf                   1.6.0
  redmine_drawio                 0.8.3
  redmine_issue_badge            0.0.6
  redmine_issue_favicon          0.0.3
  redmine_ldap_sync              2.1.1.devel
  redmine_logs                   0.1.1
  redmine_maintenance_mode       2.2.0
  redmine_mentions               0.0.1
  redmine_stats                  0.0.3
  redmine_wktime                 3.3.2
  scrum                          0.18.0
  sidebar_hide                   0.0.8

This is the log file:

App 12130 stderr: Started POST "/scrum/67/create_pbi" for 10.10.10.11 at 2019-09-11 12:31:37 +0100
App 12130 stderr: Processing by ScrumController#create_pbi as JS
App 12130 stderr: Parameters: {"utf8"=>"✓", "back_url"=>"https://10.10.10.11/product_backlog/67", "issue"=>{"tracker_id"=>"5", "sprint_id"=>"67", "subject"=>"ssasa", "status_id"=>"1", "priority_id"=>"2", "description"=>""}, "create_and_continue"=>"Créer et continuer", "sprint_id"=>"67"}
App 12130 stderr: Current user: ndommangala (id=41)
App 12130 stderr: Exception: #' for nil:NilClass>
App 12130 stderr: Rendered plugins/scrum/app/views/scrum/create_pbi.js.erb (1.1ms)
App 12130 stderr: Completed 200 OK in 81ms (Views: 2.2ms | ActiveRecord: 12.8ms)

Any idea to fix this problem?

Thank you very much

How to Fix AOL Mail Error Code 554? – Social Media Marketing (SMM)

If you come across AOL e-mail error code 554, there is no need to worry. In this case, you can not send and receive e-mails. To solve this problem, users would need to do the following:

· Restart the Internet devices used in your system.

· Then turn off your antivirus and Windows firewalls.

· Now you need to log out of your AOL email client.

· Then you would also need to restart your AOL account.

· When you're done rebooting, use the browser and sign in to your AOL email account.

· Now check if you can send or receive emails through your AOL email account.

If you encounter a problem during this process, you must contact us Technical support from AOL and ask for professional advice to solve this problem.

For more visit: AOL Customer Support Number

Boot Camp on Windows 10 returns the error code 0xc000021a

My MacBook Pro (Retina, 15 inches, mid 2014) with macOS Mojave version 10.14.6 could not be started in Windows 10 via Boot Camp. I was asked by the Windows Auto Repair system to search for errors. It returns the error code 0xc000021a and claims it wants to restart. After the restart, the entire cycle begins again. This may be because Windows can not be started as on a regular desktop computer. Whenever I want to run Windows, I have to press the Option key and select Run Windows. I tried typing things in a command prompt, but that does not fix the problem. Some commands have suggested that I restart, but if I do, I'll just send back to the automatic repair cycle. I can not start Windows 10 in safe mode because it also requires a reboot. Any ideas or am I better off reinstalling Windows? Thank you so much!

magento2 – Error 500 on some JS files Magento 2

My theme (Claue from MGS) worked very well.
I have updated my Magento version to 2.3.1, after which some errors have occured which I fixed.

Now I have this problem: My Chrome console generates a 500 error with some JS files, others work fine. In the console with these files say:

jquery-storageapi.js: 1 Resource could not be loaded: The server replied with status 500 (Internal server error)

lazyload.js: 1 resource could not be loaded: the server replied with status 500 (internal server error)

ETC .. There are 14 different JS files

I've tried many thigs (deploy, permission, htaccess, etc), but still can not solve it.

Does anyone have an idea how to solve this?

statistics – How can I show that the residual error $ frac { left (Y_1- has {Y} _i right)} { sigma} sim N (0,1) $ for simple linear regression.

I am working on a simple linear regression with the normal error assumption $ Y_i = beta_0 + beta_1 X_i + epsilon_i $. $ epsilon_i sim N (0, sigma ^ 2) $ where the estimated mean answer is $ has {Y} _i = b_0 + b_1 X_i $ With $ b_0 = bar {Y} -b_1 bar {X} $ and $ b_1 = frac { sum limits_i (X_i- bar {X}) (Y_i- bar {Y})} { sum limits_i (X_i- bar {X}) ^ 2} $,

In deriving the distribution of the quantity $ frac {(b_1- beta_1)} {s (b_1)} $, Where $ s (b1) $ is the standard error in $ b_1 $I came across the claim that
$$
frac {SSE} { sigma ^ 2 (n-2)} sim frac { chi ^ 2 _ {(n-2)}} {n-2}
$$

Where SSE is the sum of the quadratic residual error $ SSE = sum limits_i (Y_i- has {Y} _i) ^ 2 $,

That seems to imply that to me $ frac {Y_i- has {Y} _i} { sigma} sim N (0,1) $, However, I could not prove the above facts.

Can someone help me to understand why the above quantity is $ chi ^ 2 _ {(n-2)} $ distributed? THANK YOU SO MUCH!

html – Error registering with photo in PHP

I'm trying to register the works, and with the path to upload the pictures.

if (isset($_POST('enviar'))){

//cria as variaveis, uma para cada input
$nome = isset($_POST('nome')) ? $_POST('nome'): null;
$tamanho = isset($_POST('tamanho')) ? $_POST('tamanho'): null;
$tecnica = isset($_POST('tecnica')) ? $_POST('tecnica'): null;
$data = isset($_POST('data')) ? $_POST('data'): null;
$local= isset($_POST('local')) ? $_POST('local'): null;
$imagem =  $_FILES('arquivo')('tmp_name');

//verificação do campo

    if(empty($nome && $tamanho && $tecnica && $data && $local && $imagem)){
    echo "Os campos são obrigatórios. Por favor preencha-os.";
    exit;
}

    if(empty($nome)){
    echo "O campo nomenclatura é obrigatório.";
    exit;
}

    if(empty($tamanho)){
    echo "O campo tamanho é obrigatório.";
    exit;
}   
    if(empty($tecnica)){
    echo "O campo técnica é obrigatório.";
    exit;
}
    if(empty($data)){
    echo "O campo data é obrigatório.";
    exit;
}

    if(empty($local)){
    echo "O campo local é obrigatório.";
    exit;
}

    if(empty($imagem)){
    echo "O campo imagem é obrigatório.";
    exit;
}

if(isset($_FILES('imagem'))){
    $formPermitidos = array("png","jpeg","jpg","gif");
    $extensao = pathinfo($_FILES('arquivo')('name'),PATHINFO_EXTENSION);

    if(in_array($extensao,$formPermitidos)){
        $pasta = "arquivo/";
        $tempo = $_FILES ('arquivo')('tmp_name');
        $novoNome = uniqid().".$extensao";

           if(move_uploaded_file($tempo,$pasta.$novoNome)){
            $_SESSION('msg') = "Upload concluido.";
           }

       }

    }

//cria o sql da operação
 $sql = "INSERT INTO produto (cod_produto, nomenclatura, tamanho, tecnica, data, local, imagem) VALUES
 (default,:nome, :tamanho, :tecnica, :data, :local,:imagem";

//inserir um :campo para cada campo da tabela

//pedindo para o pdo fazer o comando sql
$stmt = $pdo->prepare($sql);
// criar um para cada campo colocado no fim do sql
$stmt->bindParam(':nome',$nome);
$stmt->bindParam(':tamanho',$tamanho);
$stmt->bindParam(':tecnica',$tecnica);
$stmt->bindParam(':data',$data);
$stmt->bindParam(':local',$local);
$stmt->bindParam(':imagem',$novoNome);

if ($stmt->execute()){
    echo "Cadastrado com sucesso";
    header('Location: produtos.php');
}else{
    echo "Erro ao cadastrar";
    print_r($stmt->errorInfo());
}


}
?>

however the error

Fatal error: PDOException not caught: SQLSTATE (42000): Syntax error or access violation: 1064 Your SQL syntax is incorrect. Check the manual corresponding to your MariaDB server version for the correct syntax for "near" on line 2 in C: xampp htdocs tcc registrationproduct.php: 162 Stack trace: # 0 C: xampp htdocs tcc cadastroproduct.php (162): PDOStatement-> execute () # 1 {main} in C: xampp htdocs tcc registrationproduct.php at line 162

python – Sympy library: I have the Intel MKL FATAL ERROR error: The file mkl_intel_thread.dll can not be loaded

I'm really frustrated and can not find a solution, see, I'm trying to use the Python sympy library, but trying to write code so that the graph of a function returns the following error: Intel MKL FATAL ERROR: Unable to load You mkl_intel_thread.dll.

What I do is the following:

from sympy import *
x,y,z = symbols("x y z")
print(plot(cos(x)))

After making this code so easy that the graph of cos (x) is displayed
I get the following error in the output:

INTEL MKL ERROR: %1 no es una aplicaci¾n Win32 vßlida. mkl_intel_thread.dll.
Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll.

Also attached that this error occurs only at the time of the graphical representation, everything else works flawlessly. The only thing I can think of is that the error is due to the processor, because my processor is AMD and the DLL my code editor is trying to do is refer to the cores of an Intel processor.

Kodi gets stuck on the first screen on the first startup. Obvious database error in the log file

On a freshly installed 64bit Ubuntu 18.04 system with Intel graphics is a freshly installed kodi hangs on the welcome screen. The log file will appear nominally up to the last three lines.

2019-09-15 08:17:16.734 T:139670001514240  NOTICE: Running database version Addons27
2019-09-15 08:17:16.735 T:139670001514240   ERROR: SQL: (ViewModes6.db) SQLite error SQLITE_ERROR (no such table: version)
                                            Query: SELECT idVersion FROM version
2019-09-15 08:17:16.792 T:139670001514240   ERROR: Process error processing job

I tried kodi both of the stock repo and the stable ppa had the same problem.

I have installed kodi successful on several systems and AFAIK did not do anything else this time – why is it hanging here?

HomeBrew error message OSX – Super User

I have the latest brew installed on OSX. When you run the update or install new formulas, you receive the following error message:

Error: The following directories can not be described by your user:
/ usr / local / share / man / man5

You should change ownership of these directories to your user.
sudo chown -R $ (whoami) / usr / local / share / man / man5

And make sure your user has write permission.
chmod u + w / usr / local / share / man / man5

At the moment, I can not find any information about what this means in the context of brewing. My goal is to understand it and not just make the permission change without understanding the implications or why this directory does not have the correct permission.

Thank you in advance.