All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Can't connect to uploaded database

I have buy a domain hsoting in godaddy and trying to upload my wordpress website backup into this hosting. So, I went to manage domain, it asked for setup website, I just choose next - next & ...
0
votes
0answers
26 views

stop execution and Display Errors when inserting data to custom table

I created a stats table. on a daily basis I retrieve data from Post meta, aggregate it and insert it into the stats table (code bellow). function updatePostDay($postID, $month) { global $...
0
votes
1answer
31 views

Error establishing a database connection after moving local wordpressmultisite from one directory to another

Good day together, as the title mentions, i want to clone a local wordpressmultisite(i use xampp) to another directory. the first existing mutlisite runs under xampp on http://localhost/Wordpress. the ...
0
votes
0answers
68 views

Issue with mysqli_set_charset

Every once in a while I get this error on my site. I currently have Debug mode enabled. I notice it more when I click on many links or make many updates to the website within a short time frame. Then ...
0
votes
1answer
28 views

error establishing a database connection 3

This error has already been faced by a lot of people, but I could not find an answer in my case. My wordpress website works perfectly in local What I have done: Upload with filezila Create a sql ...
0
votes
0answers
28 views

“wordpress error in establishing database connection” and missing tables

I received this message when trying to enter any page of the site, wp-admin included. "wordpress error in establishing database connection" It also says that some table may be missing, and I ...
0
votes
0answers
21 views

Wordpress database error only while loading page for 1st time

I have this error when i open the page...but once i select the city from dropdown list,the error doesn't exist. Error is like this: WordPress database error: [You have an error in your SQL syntax; ...
0
votes
1answer
250 views

WordPress database error: [Table 'wordpress.wp_transients' doesn't exist] SHOW FULL COLUMNS FROM `wp_transients`

This is the error message: WordPress database error: [Table 'wordpress.wp_transients' doesn't exist] SHOW FULL COLUMNS FROM wp_transients This error is displayed to me on every page I open and this ...
0
votes
1answer
38 views

Error at time of Wordpress Installation

Following error accure at the time of installation. Please help WordPress database error: [Error on delete of 'C:\xampp\tmp#sql894_b5_31.MYD' (Errcode: 13 - Permission denied)] SHOW FULL COLUMNS ...
0
votes
1answer
64 views

error establishing database connection (WAMP + filezilla)

I am getting the error: Error establishing a database connection. I go to localhost, and it brings up the wampserver homepage (I am using wamp obviously) I click on my project which is called ...
0
votes
1answer
435 views

The function is deprecated; use mysql_real_escape_string() instead

I don`t know coding. I recently my website stop to work properly. I get this error on the top of on every page loaded. Deprecated: mysql_escape_string(): This function is deprecated; use ...
-1
votes
2answers
436 views

Execute multiple PHP Snippets causes error?

I want to execute multiple different PHP snippets which all retrives 1 page ID (yes, I want to extend the code and display some other things then the page ID). But if I execute 2 or more snippets at ...
2
votes
1answer
719 views

Changing the Database Connection Error Message

I manage a site that got a sudden and unexpected increase in traffic. Because of that, there are database access timeouts, with the "Error Establishing Database Connection" message. This is not a ...
4
votes
1answer
5k views

Get error messages when $wpdb->insert() returns false?

$wpdb->insert() returns false which I've learned means that the insert failed. Now, I would like to know why it fails with the insert. According to this ticket https://core.trac.wordpress.org/...
0
votes
4answers
2k views

Error establishing a database connection - with Debug Data

my site started acting up a few days ago, running the debug I get these lines. Tried to mess around with the DB but couldn't get my head through it. Do you have any idea what those lines imply? ...
3
votes
2answers
4k views

When importing database, it shows error

I was importing my website' database on to another server but it is showing this error which I have no idea about: I tried importing the database multiple times but failed. I also checked 'Add Drop ...
0
votes
1answer
84 views

Hang Up Followed By Can’t select database

so I have a few WordPress sites installed on my LAMP Ubuntu server. The past couple of days things have been extremely slow.. I am able to login to the wp-admin of my websites but from there any ...
0
votes
0answers
111 views

Database error after importing Wordpress

I have moved a new website from a hosting to another (it has an older php version (5.4) so i had to export the db with the utf8_unicode_ci Charset),but now i'm having an error at www....
-2
votes
1answer
102 views

Getting an error when trying to migrate to DV server from Grid with Media Temple [closed]

Trying to migrate my wordpress site... getting this error: PHP Notice: Use of undefined constant DATABASE_SERVER - assumed 'DATABASE_SERVER' in /usr/share/plesk-wp-cli/php/WP_CLI/Runner.php(996) : ...
0
votes
1answer
31 views

Where are WP_Errors Saved

Hi it seems to be trivial question but it is the one I can not find an answer of. I am tweaking a wp site developed by somebody. They have used custom errors and they are getting errors by ...
0
votes
1answer
644 views

SELECT SQL_CALC_FOUND_ROWS with wordpress search

When I make a search on my site no posts are retrieved and through wordpress debug I get this error message: WordPress database error: [Table 'theme_se.wp_comments' doesn't exist] SELECT ...
0
votes
2answers
2k views

Catchable fatal error in formatting.php

I'm running a WordPress 4.4.2. I have one site that's working fine. When I went to set up another site, I got the following error upon trying to save the "general" settings page: Catchable fatal ...
1
vote
0answers
42 views

Trouble Migrating all data blog from Wordpress.com to Wordpress.org

I'm transferring a WordPress.com blog to a new WordPress.org website but I'm having trouble transferring everything. I've gone through the usual WordPress tools - export XML file, import using the ...
1
vote
1answer
1k views

Error: SELECT SQL_CALC_FOUND_ROWS

My php error_log keep showing this message, WordPress database error Unknown column 'wp_postmeta.meta_value' in 'order clause' for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=...
0
votes
1answer
722 views

What might be the reason of Couldn't fetch mysqli_result on another domain?

I'm developing a plugin and it works fine on my Wordpress website, but I've tested it on other domains with different Wordpress instances. When trying to activate the plugin on some other sites and ...
0
votes
2answers
1k views

Error establishing a database connection on Installation

I was working on my MacOS System with everything well configured and working. Now I try to migrate all of my work to Windows using the same software as in MacOS MAMP to run Wordpress on localhost. So ...
0
votes
1answer
499 views

Problem in using wpdb

I used "wpdb" in my code But it was not working and the following error: Fatal error: Call to a member function insert() on a non-object Notice: Trying to get property of non-object" in ...
0
votes
2answers
6k views

SQL Error wp_commentmeta - incorrect table definition

I'm trying to import a database and wonder how I can stop getting the following error? "#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key " ...
2
votes
1answer
418 views

error establishing a database connection

I know this question is asked like a million times, but I can't find an answer for my problem. This problem is happening in a user of my server (my father's blog actually), and as he told me: "Just ...
0
votes
0answers
50 views

What am I doing wrong here? WordPress database error

I'm just trying to insert values into custom table of wordpress and it throws me this error WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to ...
2
votes
2answers
12k views

$wpdb variable throw this error Call to a member function get_results() on a non-object in

I've this error "Call to a member function get_results() on a non-object in" from this code: require_once($_SERVER['DOCUMENT_ROOT'] . $folder . '/wp-config.php'); require_once($_SERVER['DOCUMENT_ROOT'...
1
vote
1answer
2k views

Migrating Multisite - Database error, missing wp_blogs table

I am trying to duplicate my WordPress multisite on local with Xampp, but I get error. This are the steps I follow(I will use example instead of my website name): Copy all WordPress 4.0 files to ...
0
votes
0answers
188 views

Restoring .sql backup results in “Error establishing a database connection”

I'm trying to get the database dump (.sql) of a remote site to work with my local setup. Sort of like migrating from remote to local. I've already ftp-ed the site itself, but having problems ...
0
votes
1answer
72 views

How do I debug an error that a plugin is causing?

I'm having an issue debugging why the plugin I'm creating keeps displaying the error You need to upgrade your database as soon as possible.... The work I've done so far has been on a remote dev site, ...
0
votes
2answers
1k views

$wpdb doesn't like to store arrays

I'm attempting to store an array that looks like the one below, into a cell in a database using the code below the sample array. Unfortunately, WordPress doesn't seem to want to save it, and ...
1
vote
0answers
847 views

Strange Deadlock database error for the query “Delete From wp_options”

I'm experiencing a strange Database error in these days, and it could the the cause of the slowness of my website (tasc.it) in these days. I found this error in the PHP error log, I can see about 4-5 ...
0
votes
2answers
2k views

Error establishing a database connection - Multi-site with subsite don't exisit [duplicate]

I have a multi site setup to which I have placed define( 'NOBLOGREDIRECT', 'http://www.example.com' ); In the wp-config.php file However when I visit a site which dose not exist (e.g. http://...
0
votes
1answer
30 views

4th Network Site Database Errors?

4th site created but not available in the admin menu or the my sites screen. So the my sites screen /wp-admin/my-sites.php only shows three, not the 4th. The My Sites menu at the top also only shows ...
9
votes
2answers
9k views

Detecting errors generated by $wpdb->get_results()

How do I detect errors when using $wpdb->get_results()? For example: $result = $wpdb->get_results("SELECT * FROM this is not a valid query"); The preceding code doesn't generate any exceptions ...
0
votes
0answers
742 views

A plugin is giving me “You do not have sufficient permissions to access this page.” error

I noticed this morning that I was logged off from my site. Whenever I tried to access /wp-admin it gave me a "You do not have sufficient permissions to access this page." error. After an hour of ...
0
votes
1answer
34 views

Connecting to a 2nd DB gives me no results when querying

I'm trying to access a different DB on the same localhost as my wp db is and I did this like so: functions.php: add_action('init','my_new_db'); function my_new_db(){ $newdb = new wpdb( 'test', '...
0
votes
1answer
2k views

WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]

after wordpress update to 3.5+ i get error in this plugin. I do not understand how to fix it. If anyone can help me with these problem or give me an example of how to fix it here is the full code of ...
0
votes
1answer
481 views

after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()

after wordpress update to 3.5+ i get many errors in this plugin. i found that the reason is: http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/ I do not ...
0
votes
0answers
81 views

I broke database after reuploading local version - what exactly happened? Database error

The site was already working but since I wanted to change the website more and my Internet is not good right now, I decided to download the whole wp folder to local drive, and export database. I set ...
1
vote
0answers
8k views

How to fix database error duplicate entry

At first I thought this was just a damaged table, so I tried repairing via MySQL, but it appears there's more fundamental issues. Which of the duplicates should I remove, and any further advice in ...
-1
votes
1answer
2k views

WordPress database error Unknown column

I get this error in my database log: [05-May-2013 21:13:31 UTC] WordPress database error Unknown column 'region' in 'order clause' for query SELECT * FROM tmp1db_wpuf_customfields ORDER BY `...
0
votes
1answer
130 views

Print output of Table Creation

I am creating a few tables and I getting the following message: The plugin generated 440 characters of unexpected output during activation. If you notice “headers already sent” messages, problems ...
1
vote
2answers
2k views

Error establishing database connection - high traffic?

I have a WordPress 3.5.1 site that's getting a little bit of traffic (80 concurrent visitors, ~5 clicks/pageviews per second). The site runs fine until it spikes to ~85 visitors. There are usually 4 ...
0
votes
1answer
552 views

How can I restrict php mail() to only send me one email after a db error

I'm in the process of customizing dp-error.php. I'm using the mail() function to alert me when there's a database connection problem on my website. The trouble is, what if 1000 people visit my website ...
0
votes
1answer
37 views

My wordpress site must be being affected by outside sources [duplicate]

Possible Duplicate: Error 310 too many redirects after switching domains Some of my pages are resulting in 310 errors. We recently switched domains from kgstiles.com to healthmasterysystems.com ...