PHP and MYSQLI configuration related problems wow speed solver
Source: Internet
Author: User
PHP and mysqli configuration problems wow speed Solver
Fatal Error:call to a member function execute () on a non-object in E:\yaoke\function\function_common.php on line 510
As long as the website uses this fetch_object and this fetch_array () is wrong
Solve Wow
Local environment Wamp no mistake.
But there's been a mistake on the server. This environment is installed on the server phpstudyadmin
------Solution--------------------
Put out your code and look.
------Solution--------------------
$mysqli is not instantiated!
That was not in the previous code.
$mysqli = new Mysqli ()
------Solution--------------------
This is a problem with the SQL query.
$result = $mysqli->query ($sql); An error occurred in the SQL statement, resulting in $result not returning the Mysqli_stmt object as expected.
Focus on checking if there are wk (' config_new ') tables in the current database, and columns named ID
------Solution--------------------
Check the return value of each function, which step returns false.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.