duncanjsparks
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 500 Internal Server Error & moving siteHey Kettercat, did you issue get resolved I have a similar issue. If you could help that would be great.
Thanks,
Also when trying to log in to phpmyadmin it throws up the following error #2002 cannot log in to the mysql server phpmyadmin
Ok update.
Error establishing a database connection.
I have been able to restore the original files to the usbwebserver folder.
I now have the following message when on http://localhost:8080/
Warning: mysql_query(): MySQL server has gone away in C:\Users\Duncan LT\Dropbox\Website06 Waterfox\USBWebserver v8.6\root\wp-includes\wp-db.php on line 1813
Warning: mysql_query(): Error reading result set’s header in C:\Users\Duncan LT\Dropbox\Website06 Waterfox\USBWebserver v8.6\root\wp-includes\wp-db.php on line 1813
Error establishing a database connectionCan anyone please help?
When opening the wp-db.php file the show the following.
private function _do_query( $query ) {
if ( defined( ‘SAVEQUERIES’ ) && SAVEQUERIES ) {
$this->timer_start();
}if ( ! empty( $this->dbh ) && $this->use_mysqli ) {
$this->result = mysqli_query( $this->dbh, $query );
} elseif ( ! empty( $this->dbh ) ) {
$this->result = mysql_query( $query, $this->dbh );
}
$this->num_queries++;if ( defined( ‘SAVEQUERIES’ ) && SAVEQUERIES ) {
$this->queries[] = array( $query, $this->timer_stop(), $this->get_caller() );
}
}