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

hnuecke on "Multisite installation problem: new sites with empty names"

$
0
0

I'm having big problems getting a multisite WP installation up and running.
I read many posts and isntructions and followed them literally.
I checked mod_rewrite and user privileges.

Although I made some progress, I cannot pass the final hurdle.
Hopefully someone can help pointing me into the right direction.

Here's what I did and checked:
Fresh install at root level of an unused domain
Created a new database with standard settings (utf8mb4)
Added apache directives to the domain:

<Directory />
  Options All
  AllowOverride All
</Directory>

Ran the WP installer and provided database name, user name and password
added one plugin (jetpack), enabled it and disabled it again
Added the line "define('WP_DEBUG', false);" to my wp-config.php file
Refreshed my browser and follwed the tools-networking link to get the lines to include for the config and htaccess files.
Copied and pasted the config lines above the "/* That's all, stop editing! Happy blogging. */" line
Copied all lines for the htaccess file, completely substituting what was in there before.
Followed the "log in" link, but before a new log in I cleared the browser cache.

I do see the new "my sites - network admin" tabs.
Adding a site works without error messages, but when I "my sites" shows the sites, only the first site (the first, original one) shows a name. The new one(s) onlyy the WP logo but no site name.
Following that empty link takes me to the first, named site.
When I enter the full path (domain/site/wp_login.php) or follow the link I get by email, I see a database error:
"Error establishing a database connection"

When I check the database, I realize that during the multisite installation new tables have been created (more tables than just after the fresh installation). But they are not populated with additional data; like the new sites.
I can create a new user, which also shows up in the database and gets an email.
Under wp-content there are no new folders. I thought there should be something like sites/ or similar?!?

My mod_rewrite should work. When I add incorrect commands into the htacess I get an 500 error and have to undo the changes so I can login again.

I can delete a plugin from within Wordpress, so access to the server is possible.
We run our own dedicated server, so there shouldn't be an problems from the hoster side.

I have no more ideas what I could do or check.
Do you?!?

Thanks in advance; and fo the patience reading this long summary!
And as final data:
Our server runs apache under debian, at my desk I use Windows 7 and Chrome.
All up-to-date versions.


sirrahikkala on "4.2.2. installation fail UTF8MB4"

$
0
0

I just started to install 4.2.2 Finnish package to hosting where I have never had any problems. The installation wizard errors right after trying to create tables.

WordPress database error: [COLLATION 'utf8_swedish_ci' is not valid for CHARACTER SET 'utf8mb4']
CREATE TABLE wprl_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 default '0000-00-00 00:00:00', user_activation_key varchar(60) NOT NULL default '', user_status int(11) NOT NULL default '0', display_name varchar(250) NOT NULL default '', PRIMARY KEY (ID), KEY user_login_key (user_login), KEY user_nicename (user_nicename) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8_swedish_ci

The hosting company said that it's Wordpress issue. The mysql database version is 5.6.23-72.1-log

ankit592 on "[Plugin: BePro Listings] I am getting a database error"

$
0
0

I am using this plugin for six months now and it was working fine. I updated my wordpress and then started getting this error which I am unable to solve :
WordPress database error Unknown column 'bl_order_id' in 'field list' for query INSERT INTO wp_bepro_listings SET
first_name = '',
last_name = '',
cost = 'NULL',
email = '',
website = '',
address_line1 = '',
city = '',
postcode = '',
state = '',
country = '',
post_id = '260',
phone = '',
lat = '',
lon = '',
bl_order_id = '' made by edit_post, wp_update_post, wp_insert_post, do_action('post_updated'), call_user_func_array, bepro_admin_save_details, bepro_listings_save, bepro_add_post

I am getting this error whenever a new listing is being posted.

Please help me with this issue.

Everything else on the site is working fine.

https://wordpress.org/plugins/bepro-listings/

Samuel Aguilera on "[Plugin: Code Snippets] WordPress database error: [Multiple primary key defined]"

$
0
0

Hi!

After upgrading from 2.0.3 to 2.1.0 I get the following database error:

WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_snippets CHANGE COLUMN id id bigint(20) unsigned not null auto_increment primary key

Regards.

https://wordpress.org/plugins/code-snippets/

mallamace on "[Plugin: SitePush] ERROR 2003 (HY000): Can't connect to MySQL server on"

$
0
0

I will provide a quick explanation. Please let me know if you can provide any further feedback what I may be doing wrong.

Current Setup:
We have two web servers – For example, 64.12.121.141 (staging/test server) and 207.25.15.151 (production – live)

Example Push & Error:
[1] Pushing database tables from dev to live: --tables wp_commentmeta wp_comments
[2] Database source: dev (dev_website) on 207.25.15.151
[2] Database dest: live (live_website) on 64.12.121.141
[3] RUN: /usr/bin/mysqldump --opt --verbose --host=207.25.15.151 -u root -p'*****' dev_website --tables wp_commentmeta wp_comments | /usr/bin/mysql -D live_website -u root --host=64.12.121.141 -p'*****'
ERROR 2003 (HY000): Can't connect to MySQL server on ‘64.12.121.141’ (111)

Step to Resolve:
The only main change we made was to the firewall settings on the production server. Perhaps this is not setup correctly, we have a port to the database 3301 that is open. Do you have any feedback on this?

https://wordpress.org/plugins/sitepush/

anirbankarmakar on "xmlrpc.php Files cause high CPU usage. and High resource usage."

$
0
0

hi!My Websites address is http://adpostjob4u.com i am very confused about a files called xmlrpc.php . This file almost uses 100% of entire Server Resources. xmlrpc.php Files cause high CPU usage. and High resource usage. I am Currently using Host gator VPS Level 5 and in every 1 minutes its showing Error of Error Establishing Data base Connections.
i have added the .htaccess rule to deny access to xmlrp.php on my account.
Still its using High CPS and RAM usage. and Stop my websites.

here what host gator saying on this-

" Hello,

We have gone through your support query and could see that the issue you are facing due to high resource usage in the server,

Memory Usage Report in the Server:-
===================================
Time: 06:09:02 %Memory used: 99.54
Time: 02:44:01 %Memory used: 99.49
Time: 06:10:01 %Memory used: 99.41
Time: 06:04:02 %Memory used: 99.29
Time: 06:13:02 %Memory used: 99.01
Time: 10:25:01 %Memory used: 98.83
Time: 09:41:03 %Memory used: 98.80
Time: 09:33:05 %Memory used: 98.75
Time: 03:03:01 %Memory used: 98.62
Time: 04:51:01 %Memory used: 98.47

We have informed the same in previous tickets also. Please refer the detailed usage and load in the server,

Date: 08/01/2014
Time: 06:21 Load: 212.89
Time: 06:20 Load: 197.92
Time: 06:18 Load: 196.92
Time: 11:31 Load: 169.48
Time: 06:17 Load: 168.80
Time: 11:30 Load: 165.55
Time: 11:27 Load: 164.11
Time: 11:28 Load: 163.02
Time: 11:29 Load: 161.09
Time: 06:14 Load: 158.53

Date: 08/01/2014
Time: 06:21
Users
55 adpostjo
11 nobody
4 dovenull
1 USER
1 Time:
1 Memory:
1 Load:
1 dovecot
1
Date: 08/01/2014
Time: 06:21
Scripts
26 /home/adpostjo/public_html/xmlrpc.php
16
14 /home/adpostjo/public_html/index.php

Please go through the detailed logs mentioned and make the needed changes to prevent the issue from reoccurring.

Thank you for your understanding.

Kindly cross check the same and get back to us if you need any further assistance.
Best regards,

Vinod K
Linux Systems Administrator
HostGator.in
http://support.hostgator.in "

please help me!!!

andreadwiener on "Database Error When Posting Certain Posts"

$
0
0

I am a couponing and deals blogger - http://www.couponblessingsnow.com - when any of my posts show up on social media outlets or on HootSuite, instead of the image, I see the words "Database Error" - what is that?

The Barefoot Bookworm on "[Plugin: Jigoshop] Wordpress Database Error"


justj03 on "Error Est. Db Connection - SOLVED"

$
0
0

I just updated the theme we use and made some changes to some posts. I left and came back to login in and am getting the "Error establishing a database connection" error message. When I log in to the cPanel section and look at the wp-config file, everything looks right. Any suggestions on getting back in?

Here is the screenshot I'm getting (hosted on imgur):

I believe everything was update to the most recent versions.
Thanks!

Edit
Apparently - I just need to restart our MySQL server.

studio1337 on "[Plugin: Infusionsoft Gravity Forms Add-on] Fatal Error"

$
0
0

Hello,

I'm having some issues with a form I'm trying to connect to Infusionsoft. I thought the issue might be that one of the fields was sending complex HTML (which contained single and double quotes in it), and maybe this was fouling up a script. But the error still happens after removing that field from transmission. Here is the error:

Fatal error: Uncaught [DatabaseError]Error adding contact Attempted: 1 time(s). thrown in /home/theclient/public_html/assets/plugins/infusionsoft/Infusionsoft/App.php on line 99

It appears upon submitting the form. The form successfully submits within Wordpress. The only issue is with Infusionsoft. Any thoughts on what might be happening?

https://wordpress.org/plugins/infusionsoft/

centaero on "Database Error"

$
0
0

Site is reporting databas error-one or more databases have crashed.
Clicked on WP repair which directed me here with the following:
wp_uipb0b_options: Table is marked as crashed
Can you assist, please?

apjha on "Unable to create network due to database error"

$
0
0

Hi all,
I tried enabling Wordpress network on my site and got through to editing wp-config.php and .htaccess files. After uploading these files I refreshed my site and found an error message stating Database error.
Wordpress suggested to add define('WP_ALLOW_REPAIR', true); to wp-config.php file so that it can attempt to repair the file automatically.
After running the repair it suggested to post the following in the forum and get some help:

wp_1_posts: Table 'db159152_sansbouwp.wp_1_posts' doesn't exist
wp_1_comments: Table 'db159152_sansbouwp.wp_1_comments' doesn't exist
wp_1_links: Table 'db159152_sansbouwp.wp_1_links' doesn't exist
wp_1_options: Table 'db159152_sansbouwp.wp_1_options' doesn't exist
wp_1_postmeta: Table 'db159152_sansbouwp.wp_1_postmeta' doesn't exist
wp_1_terms: Table 'db159152_sansbouwp.wp_1_terms' doesn't exist
wp_1_term_taxonomy: Table 'db159152_sansbouwp.wp_1_term_taxonomy' doesn't exist
wp_1_term_relationships: Table 'db159152_sansbouwp.wp_1_term_relationships' doesn't exist
wp_1_commentmeta: Table 'db159152_sansbouwp.wp_1_commentmeta' doesn't exist

Can anyone help me with this?
Appreciate your help,
Arvind Jha

abhinavkhichar on "Accidentally Deleted MYSQL Database. I have full site backup downloaded in my pc"

$
0
0

i accidentally deleted my website's mysql database using cpanel. Im having full website backup in my pc which i backed up using cpanel. When im trying to open my website it shows "Error Establishing a database connection"
Please Help.

Christopher Field on "Database crashed?"

$
0
0

Hi,

I ran WP-Optimize on a local WordPress installation and then got an "Error establishing a database connection"message.

WordPress tried to help me out by offering to repair the database, and I did try that. After clicking the WordPress repair button, I was given the following error with instructions to post on this forum for assistance. The error was:

wp_users: Table is marked as crashed and last repair failed
wp_usermeta: Table is marked as crashed and last repair failed
wp_posts: Table is marked as crashed and last repair failed
wp_options: Table is marked as crashed and last repair failed
wp_postmeta: Table is marked as crashed and last repair failed
wp_terms: Table is marked as crashed and last repair failed
wp_term_taxonomy: Table is marked as crashed and last repair failed
wp_term_relationships: Table is marked as crashed and last repair failed

I do have access to the tables via PHPMyAdmin, but I do not know where to start to make fixes, or even if a fix is possible.

Can anyone lend any insight to how to repair the DB tables?

If so, many thanks!

Chris

ap12345 on "Error establishing a database connection???"

$
0
0

I can view my site on a browser which hasn't got me logged in (e.g. not an admin account) but i can't access it if i've been logged in. It keeps saying database error.

I tried to follow a guide which told me to put some code into the wp-config folder to "repair the database" but it still wont work because the error comes up again.

Also I use GoDaddy hosting...if that helps?

So to sum it up:
- can view on a browser which isn't logged in (firefox)
- can't access wp-admin at all (so i can't access it on google chrome which has me logged into my admin on that browser)
- tried following a guide - didn't work...

Thanks.


kevin.stralman88 on "Just Received "Wordpress Database Error Deadlock""

$
0
0

I just received this this error on my cpanel after noticing my site has a 1001 error reading :Error 1001 Ray ID: 1ff5083a7bc31fc4 • 2015-07-01 20:59:47 UTC
DNS resolution error

This is what my error log says:

[01-Jul-2015 19:13:12] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM wp_options WHERE option_name = 'rewrite_rules' made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), call_user_func_array, WP_Rewrite->flush_rules, delete_option

I have no idea what to do...please help!

mhair on "[Plugin: EWWW Image Optimizer] WordPress database error: [Table 'dbnamehere.wp_ewwwio_images' doesn't exist]"

$
0
0

Hi,

I tried de/reactivating, deleteing, reinstalling, nothing seems to get rid of this error.

I did try the bulk optimize and it appeared to be doing something, so am unsure if this the plugin is actually working.

Any advice as to how to assure that it is...and how to finally get rid of the error message?

Thx.

https://wordpress.org/plugins/ewww-image-optimizer/

Ra on "[Plugin: UpdraftPlus Backup and Restoration] error: PHP event: code E_WARNING: popen() has been disabled"

$
0
0

Hi,
i get an error when using updraft plus.
The backup hangs on backing up the database:
PHP event: code E_WARNING: popen() has been disabled for security reasons (line 933, wp-content/plugins/updraftplus/class-updraftplus.php) (Nov 18 22:20:26)

Adding this to wp config didnt help:
define('UPDRAFTPLUS_PREFERPCLZIP', true);
neither did this:
define('UPDRAFTPLUS_MYSQLDUMP_EXECUTABLE', '');

I hope you can help me.

Regards,
Ra

https://wordpress.org/plugins/updraftplus/

coder.wasim on "Database error while importing"

$
0
0

I have exported the database from my development server changed the domain name by find/replace and then trying to import the database in a freshly created database.. but I am getting same error all the time..
SQL query:

<!-- PMA-SQL-ERROR --> <div class="error"><h1>Error</h1> <p>SQL query: <span class="nowrap"><img src="themes/dot.gif" title="Edit" alt="Edit" class="icon ic_b_edit" /> Edit</span> </p> <p> <span class="syntax"><span class="inner_sql"><span class="syntax_alpha syntax_alpha_reservedWord">SHOW</span> <span class="syntax_alpha syntax_alpha_reservedWord">TABLE</span> <span class="syntax_alpha syntax_alpha_reservedWord">STATUS</span> <span class="syntax_alpha syntax_alpha_reservedWord">FROM</span> <span class="syntax_quote syntax_quote_backtick">i1295168_wp1</span> <a href="./url.php?url=htt[...]

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<!-- PMA-SQL-ERROR -->
<div class="error"><h1>Error</h1>
<p>SQL qu' at line 1

Please help me asap as my client is very upset :(

nkansal on "Database Error?"

$
0
0

My site is http://www.thenewto.com
I haven't been able to access it since at least 3 hours now.

When I click on the above link, I get "Error establishing a database connection"

When I try to access the wp-admin link,
I get "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 localhost. This could mean your host's database server is down."

Is the server down?
I'm not tech savvy at all, please help.

Viewing all 631 articles
Browse latest View live