Quantcast
Channel: Topic Tag: Database Error | WordPress.org
Viewing all 631 articles
Browse latest View live

RiaanPie on "[Plugin: Contact Form DB] Wordpress database error on INSERT"

$
0
0

Hi there.

When I try and push the information from a custom form into the database I get the following feedback in my browser:

WordPress database error Table xxxxxxx_cf7dbplugin_st' doesn't exist for query INSERT INTO xxxxxxxx_cf7dbplugin_st

This is a new one for me as what I built has been working all along. Update to newest version didn't fix this for me. I tried to search for where this table is referenced but couldnt find anything.

Hope you can help me.

https://wordpress.org/plugins/contact-form-7-to-database-extension/


nekojira on "[Plugin: WooCommerce Multilingual - run WooCommerce with WPML] WordPress database error: Illegal mix of collations"

$
0
0

With WCML installed, I have this error showing up in WordPress dashboard plugins page appearing multiple times

WordPress database error: [Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=']

as of WCML version 3.5 I will also have this error appearing in every WordPress page (frontend and backend) such as:

SELECT tl.trid AS trid, tl.ttid AS ttid, tl.tlang AS term_lang, tl.pid AS post_id, pl.plang AS post_lang FROM ( SELECT o.object_id AS pid, tt.term_taxonomy_id AS ttid, i.language_code AS tlang, i.trid AS trid FROM wp_term_relationships AS o RIGHT JOIN wp_term_taxonomy AS tt ON o.term_taxonomy_id = tt.term_taxonomy_id LEFT JOIN wp_icl_translations AS i ON i.element_id = tt.term_taxonomy_id AND i.element_type = CONCAT('tax_', tt.taxonomy) WHERE tt.taxonomy = 'product_cat') AS tl LEFT JOIN ( SELECT p.ID AS pid, i.language_code AS plang FROM wp_posts AS p JOIN wp_icl_translations AS i ON i.element_id = p.ID AND i.element_type = CONCAT('post_', p.post_type) ) AS pl ON tl.pid = pl.pid

or

UPDATE wp_term_relationships AS o, wp_icl_translations AS ic, wp_icl_translations AS iw, wp_icl_translations AS ip, wp_posts AS p SET o.term_taxonomy_id = ic.element_id WHERE ic.trid = iw.trid AND ic.element_type = iw.element_type AND iw.element_id = o.term_taxonomy_id AND ic.language_code = ip.language_code AND ip.element_type = CONCAT('post_', p.post_type) AND ip.element_id = p.ID AND o.object_id = p.ID AND iw.element_type = 'tax_product_cat'

I'm not sure why WCML is selecting and updating tables on every page load... Anyway, I had a look at my database and most of my tables are in utf8_general_ci, whereas WPML and WCML tables are in utf_unicode_ci - I tried to convert the collation in one or the other, but the error still appears; I have this issue only with WPML/WCML plugins and when WCML is installed and active - my host is WPEngine. I reckon for a multi-language plugin unicode makes for a better choice when it comes with non-standard non-latin characters, but general_ci is faster.

Perhaps you could adjust the queries and make them compatible? also, do you really need to run multiple mysql update command at every page load? other users reported performance issues: https://wordpress.org/support/topic/very-slow-with-35-update

thank you

https://wordpress.org/plugins/woocommerce-multilingual/

briansellers on "Wordpress stopped working"

$
0
0

I had a site that was working perfectly and I lost access to the dashboard so I reinstalled my wordpress application and now I can't get access to the front end or the dashboard of the site - I currently get Error establishing database connection.

When I go to the file manager all files are there and look correct but unsure why nothing is showing up.

http://www.stringershuntingandfishing.com

anlady on "Database error after SSL problem"

$
0
0

Hello

I made the terrible mistake of trying to change my site http to https. Then I went into the dashboard and added the "S" immediately could not enter because I showed my session error SSL. I did not get to do what I did a backup. The problem now is that the login is now slow and I get an error: Database error: "Table "name of the backup" does not exist".
I've checked Mysql and databases work well. Then do not know what is but It drives me crazy. Please help

The site is http://www.contabilidadcesb.com

anlady on "Database error after SSL problem"

$
0
0

Hello

I made the terrible mistake of trying to change my site http to https. Then I went into the dashboard and added the "S" immediately could not enter because I showed my session error SSL. I did not get to do what I did a backup. The problem now is that the login is now slow and I get an error: Database error: "Table "name of the backup" does not exist".
I've checked Mysql and databases work well. Then do not know what is but It drives me crazy. Please help

The site is http://www.contabilidadcesb.com

Hatami110 on "WordPress database error .... (May Any one solve my Problem)?"

$
0
0

i had installed eclipse in my PC for java development but unfortunately my wamp server was stopped working and showing me error of :
"Exception in module wampmanager.exe at 000F15A0"
as i reinstall my wamp server it start working but now im facing a new problem ...this is the error which my facing when i open localhost wordpress site .... plz some one help me !

WordPress database error: [Table 'wordpress.wp_users' doesn't exist]
CREATE TABLE wp_users ( ID bigint(20) unsigned NOT NULL auto_increment, user_login varchar(60) NOT NULL default '', user_pass varchar(64) NOT NULL default '', user_nicename varchar(50) NOT NULL default '', user_email varchar(100) NOT NULL default '', user_url varchar(100) NOT NULL default '', user_registered datetime NOT NULL

[Remaining huge error log removed - that's way too much code to post here -
http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

Mark elayan on "do not have sufficient permissions to access wp-admin on https"

$
0
0

hi all, hope all is fine...

after moving my wordpress site from development mode to live mode, i am able to access it on http only not https, and if i login using https it will give me error:
You do not have sufficient permissions to access this page.

and also another error when i try to edit some posts or pages or even trash it:
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/utdliving/public_html/wp-includes/wp-db.php on line 1036

can anyone help please?

PamelaDrake on "Error establishing a database connection"

$
0
0

The site was running perfectly yesterday but today all I get is a white screen and this:- Error establishing a database connection. I have checked with my hosting company and they say the server is fine. I am a complete novice with web sites and I do not know what to do to resolve this issue. My website is http://www.cornwallturkeys.com Can anyone help me, please?


robtbm on "[Plugin: Optimize Database after Deleting Revisions] Database error after update"

$
0
0

Hi there, I have just updated the plugin via wp admin now I my site is down, both front and back ends.

Error establishing a database connection

Have checked with hosting provider and theres no issues from their end. I have check that the name, user and passwords are correct. Via ftp I have gone in to the plugins and renamed rvg-optimize-database but am still unable to connect.

Any ideas ??

Thanks Rob

UPDATE: Back up and running :)

https://wordpress.org/plugins/rvg-optimize-database/

undergroundnetwork on "[Plugin: WP Statistics] Database errors Duplicate key name 'date_ip_agent'& Can't DROP 'date_ip"

$
0
0

Hi I cam getting the following database errors from the plugin:

Wordpress Database error Duplicate key name 'date_ip_agent'
&
Can't DROP 'date_ip'

Here are the full messages:
[Fri Mar 20 14:41:25 2015] [error] [client x.x.x.x] WordPress database error Duplicate key name 'date_ip_agent' for query ALTER TABLE wp_statistics_visitor ADD UNIQUE KEY date_ip_agent (last_counter,ip,agent (75),platform (75),version (75)) /* From [websitex.com/wp-admin/admin.php?page=wp-statistics/optimization&install=1&tab=database] in [/nas/wp/www/cluster/websitex/wp-content/plugins/wp-statistics/wps-install.php:99] */ made by do_action('statistics_page_wp-statistics/optimization'), call_user_func_array, wp_statistics_optimization, include_once('/plugins/wp-statistics/includes/optimization/wps-optimization.php'), include('/plugins/wp-statistics/wps-install.php'), dbDelta, referer: https://websitesx.com/wp-admin/admin.php?page=wp-statistics/optimization

and

[Fri Mar 20 14:41:25 2015] [error] [client 10.189.246.5] WordPress database error Can't DROP 'date_ip'; check that column/key exists for query DROP INDEXdate_ipON wp_statistics_visitor /* From [websitex.com/wp-admin/admin.php?page=wp-statistics/optimization&install=1&tab=database] in [/nas/wp/www/cluster/websitex/wp-content/plugins/wp-statistics/wps-install.php:104] */ made by do_action('statistics_page_wp-statistics/optimization'), call_user_func_array, wp_statistics_optimization, include_once('/plugins/wp-statistics/includes/optimization/wps-optimization.php'), include('/plugins/wp-statistics/wps-install.php'), referer: https://websitex.com/wp-admin/admin.php?page=wp-statistics/optimization

Do you know what I should do?

Thanks!

Charles

https://wordpress.org/plugins/wp-statistics/

cerdasummat on "Error establishing a database connection"

$
0
0

wp_posts: Table is marked as crashed and last repair failed
wp_options: Table is marked as crashed and last repair failed

danlyons on "WP-Config Hacked - Now Database Tables Reported Missing"

$
0
0

We have an old WPMU site that has been continually upgraded through the Admin dashboard without issue. Recently, it was attacked and the wp-config.php file was compromised, and all contents were completely deleted.

I have restored the sample file, and begun working through the changes. Here's my current wp-config.php:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', '********');

/** MySQL database username */
define('DB_USER', '********');

/** MySQL database password */
define('DB_PASSWORD', '********');

/** MySQL hostname */
define('DB_HOST', '********');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

/** Allow Database Repair from WP-ADMIN */
define('WP_ALLOW_REPAIR', true);

/** Define as WPMU Site */
define('WP_ALLOW_MULTISITE', true);
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', true );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', '********' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );

/**#@+
 * Authentication Unique Keys and Salts.
 *
 * Change these to different unique phrases!
 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
 *
 * @since 2.6.0
 */
define('AUTH_KEY',         '********');
define('SECURE_AUTH_KEY',  '********');
define('LOGGED_IN_KEY',    '********');
define('NONCE_KEY',        '********');
define('AUTH_SALT',        '********');
define('SECURE_AUTH_SALT', '********');
define('LOGGED_IN_SALT',   '********');
define('NONCE_SALT',       '********');

/**#@-*/

/**
 * WordPress Database Table prefix.
 *
 * You can have multiple installations in one database if you give each a unique
 * prefix. Only numbers, letters, and underscores please!
 */
$table_prefix  = 'wp_';

/**
 * For developers: WordPress debugging mode.
 *
 * Change this to true to enable the display of notices during development.
 * It is strongly recommended that plugin and theme developers use WP_DEBUG
 * in their development environments.
 */
define('WP_DEBUG', false);

/* That's all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
	define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

When I try to run the repair, I receive the following errors:

wp_posts: Table '********.wp_posts' doesn't exist
wp_comments: Table '********.wp_comments' doesn't exist
wp_links: Table '********.wp_links' doesn't exist
wp_options: Table '********.wp_options' doesn't exist
wp_postmeta: Table '********.wp_postmeta' doesn't exist
wp_terms: Table '********.wp_terms' doesn't exist
wp_term_taxonomy: Table '********.wp_term_taxonomy' doesn't exist
wp_term_relationships: Table '********.wp_term_relationships' doesn't exist
wp_commentmeta: Table '********.wp_commentmeta' doesn't exist
wp_useronline: Table '********.wp_useronline' doesn't exist

I've gone through a number of the other forum posts, but nothing has quite resolved it for me at this point, although they have influenced the current config.

Any help would be appreciated!

befree22 on "Error Establishing a Database Connection"

$
0
0

My site was infected with a virus so on the advice of my web host, I manually deleted ALL Wordpress files /public_html/ in cPanel and then manually reuploaded a new installation.

I read Wordpress Codex installation and changed wp-config-sample.php to wp-config.php AFTER I added db name, db user and password. The db password is new.

I wasn't able to INSTALL using http://www.mysite.com/wp-admin/install.php because I'm using a current database. I did try but I keep getting the error on frontend and backend:

Error establishing a database connection

I read http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/ and checked my login credential several times. I am able to access phpMyAdmin via cPanel. I tried the testconnection.php but I keep getting a blank white screen. I did not do any of the suggested fixes, including the following:
1. run database query -- my url looked correct

I think the problem is with the username. I deleted the cPanel username, added it again and gave it ALL permissions and connected it to the current database. The password for the username was changed.

Could someone help me fix this problem? I'm out of ideas and on wpbeginner site several people said to ask the web host for help.

luckie777 on "[Plugin: Wordpress Portfolio Plugin (WP Portfolio)] WordPress Database Error - Force Upgrade Not Working"

$
0
0

I've installed the WP-Portfolio plugin and created a Portfolio Group. The following error is presenting at the bottom of the page:

WordPress database error: [Table 'pagesullivan2.wp_comments' doesn't exist]
SELECT comment_approved, COUNT( * ) AS num_comments FROM wp_comments GROUP BY comment_approved

I've activated & deactivated the plugin. I've tried the "Force Upgrade" option several times. Neither option worked. Please advise a solution that will resolve this issue.

The URL - http://www.taosrealestate.com/media-gallery/

Thanks - Luckie

https://wordpress.org/plugins/wp-portfolio/

A Little Londoner on "Error establishing database network"

$
0
0

Hi everyone, I'm having serious issues with my blog/website. I keep getting "Error in Establishing A Data Connection" or else the following;

Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at mysql5.webhost.ie. This could mean your host's database server is down.

Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

Can anyone give me a step by step instructions how to fix this?

Thank you
Triona


sputnick3k on "Weird database error when I pushed my site live"

$
0
0

I am getting a weird database error when I pushed my dev site to my client's virtual private server on GoDaddy. Does anyone know what this is and how to fix it?

WordPress database error: [Table 'dev_testcr.wp_redirection_items' doesn't exist]
SELECT wp_redirection_items.*,wp_redirection_groups.tracking,wp_redirection_groups.position AS group_pos,wp_redirection_modules.id AS module_id FROM wp_redirection_items INNER JOIN wp_redirection_groups ON wp_redirection_groups.id=wp_redirection_items.group_id AND wp_redirection_groups.status='enabled' INNER JOIN wp_redirection_modules ON wp_redirection_modules.id=wp_redirection_groups.module_id AND wp_redirection_modules.type='wp' WHERE( wp_redirection_items.regex=1 OR wp_redirection_items.url='/')

fabeider on "[Plugin: Revive Old Post (Former Tweet Old Post)] Error on Facebook post"

$
0
0

Hello,

I just start using the plugin.
I Schedule a Facebook post, but when it is posted, it appears with an Database Error message (even though the link is working).
I don't know if there is any way to post a picture of what is happen here.

Regards,

Fabio

https://wordpress.org/plugins/tweet-old-post/

chamois_blanc on "[Plugin: Duplicator] Just updated and got php database error messages"

$
0
0

I just updated the plugin and got the following errors from php.

Please take a look.

[01-May-2015 00:13:26 UTC] WordPress database error Duplicate column name 'id' for query ALTER TABLE wp_duplicator_packages ADD COLUMN id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, duplicator_update, duplicator_activate, dbDelta
[01-May-2015 00:13:26 UTC] WordPress database error Duplicate column name 'name' for query ALTER TABLE wp_duplicator_packages ADD COLUMN name VARCHAR(250) NOT NULL made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, duplicator_update, duplicator_activate, dbDelta
[01-May-2015 00:13:26 UTC] WordPress database error Duplicate column name 'hash' for query ALTER TABLE wp_duplicator_packages ADD COLUMN hash VARCHAR(50) NOT NULL made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, duplicator_update, duplicator_activate, dbDelta
[01-May-2015 00:13:26 UTC] WordPress database error Duplicate column name 'status' for query ALTER TABLE wp_duplicator_packages ADD COLUMN status INT(11) NOT NULL made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, duplicator_update, duplicator_activate, dbDelta
[01-May-2015 00:13:26 UTC] WordPress database error Duplicate column name 'created' for query ALTER TABLE wp_duplicator_packages ADD COLUMN created DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, duplicator_update, duplicator_activate, dbDelta
[01-May-2015 00:13:26 UTC] WordPress database error Duplicate column name 'owner' for query ALTER TABLE wp_duplicator_packages ADD COLUMN owner VARCHAR(60) NOT NULL made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, duplicator_update, duplicator_activate, dbDelta
[01-May-2015 00:13:26 UTC] WordPress database error Duplicate column name 'package' for query ALTER TABLE wp_duplicator_packages ADD COLUMN package MEDIUMBLOB NOT NULL made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, duplicator_update, duplicator_activate, dbDelta
[01-May-2015 00:13:26 UTC] WordPress database error Duplicate key name 'hash' for query ALTER TABLE wp_duplicator_packages ADD KEY hash (hash) made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, duplicator_update, duplicator_activate, dbDelta

https://wordpress.org/plugins/duplicator/

jpmerx on "Error establishing a database connection - Dreamhost"

$
0
0

When I try to access my website http://www.mathcounterexamples.net hosted by Dreamhost I get the following message : "Error establishing a database connection". This is happening since 48 hours, but not all the time. I would say 9 out of 10.

In those cases when I access http://www.mathcounterexamples.net/wp-admin/ I get the message "Error establishing a database connection" with options of what can be the root causes.

When I try to access the DB with phpMyAdmin, I get error message "#1040 - Too many connections".

I haven't changed my DB credentials. It seems that the mySQL server is very unstable.

I opened a ticket six hours ago with the highest severity at Dreamhost and got no response. Which is very disappointing...

Do you have a clue of what can happen?

Thanks.

rowd1951 on "[Plugin: Spam Captcha] Database error recorded for every comment submitted"

$
0
0

Hello, I love your Spam Captcha plugin however every time a comment is submitted either successfully or not, I get the following error message:

WordPress database error This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery' for query DELETE FROM wp_pluginSL_spam_captcha WHERE id NOT IN (SELECT id FROM wp_pluginSL_spam_captcha ORDER BY date DESC LIMIT 10000) made by wp_new_comment, apply_filters('preprocess_comment'), call_user_func_array, spam_captcha->check_comment_captcha

The plugin seems to work properly to me but obviously something is going wrong for this error to be recorded in the error log every single time, and has been for many many months, it isn't a specific version of WP.

Do you know what it might be?

I completely uninstalled and reinstalled the plugin and it didn't go away.

Best wishes.

https://wordpress.org/plugins/spam-captcha/

Viewing all 631 articles
Browse latest View live