I get an error: Fatal error: Call to a member function prepare() on a non-object in C:\Users\fel\VertrigoServ\www\login\validation.php on line 42 when I try to run the following code: function repetirDados($email) { if(!empty($_POST['email'])) { ...
ITtutoria Latest Questions
I am trying to write a php that returns an invalid answer. I don’t know where the incorrect command is in the “you don’t have permission to access /phpmyadmin/ on this server..” My detail is: # phpMyAdmin ...
Hi everyone, I’m learning about PHP. While working, I try to run commands PHP artisan migrate or PHP artisan DB: seed. As a result, I get the message: [PDOException] SQLSTATE[HY000] [2002] No such file or directory What can ...
Hi everyone, I’m learning about php. While working, I try use json_decode(). As a result, I get the message: Fatal error: Cannot use object of type stdClass as array in C:\Users\Dail\software\abs.php on line 108 What can I do ...
I get the “the configuration file now needs a secret passphrase (blowfish_secret)” issue when trying to login to phpMyAdmin. Here is the detail of the error I got the error message: the configuration file now needs a ...
I am tired of fixing the problem: methods with the same name as their class will not be constructors in a future version of php in the php; even if I get the reference from another forum, it still returns ...
Hi everyone, I’m learning about php. While working, I try run PhpMyAdmin on MacOS. As a result, I get the message: mysqli_real_connect(): (HY000/2002): No such file or directory What can I do about the “mysqli_real_connect(): (hy000/2002): no such ...
I don’t know what I’m doing wrong, but I’ve already lost a couple of days struggling with this. Here is my command line: $con = mysqli_connect("","*the_name*","*the_pass*","*the_database*"); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " ...
How to solve the problem – smtp connect() failed. https://github.com/phpmailer/phpmailer/wiki/troubleshooting? I have the sample detail: <?php include('header.php'); require 'PHPMailerAutoload.php'; $message=''; if(isset($_POST["submit"])) { $path='upload/'.$_FILES["resume"]["name"]; move_uploaded_file($_FILES["resume"]["tmp_name"], $path); $mail = new PHPMailer; ...
The error The mbstring extension is missing. Please check your PHP configuration. occurred when I access phpMyAdmin in my browser. I’ve tried to fix it for some days but have not resolved it yet. Can someone suggest a ...