Need help fixing a problem

Harutyun

Resident
Joined
Dec 5, 2011
Messages
528
Reaction score
0
FP$
6
Hello,

So here is the e-mail I received from my host:

Hello,

The strace command shows all the system calls that your index.php is using in order to serve a request. By analyzing this output with assistance of a web developer you will be able to find out if there is any file is missing or taking too long to respond while the index.php tries to access it. By looking in to the output I can see that the index.php is trying to access the file /home/harutyun/public_html/wp-content/db-cluster-config.php and the file is not present on your account. This error can be viewed on line number 7321. Get back to us if you've any queries.

The problem is that I have absolutely no idea what to do with the information. Could anybody guide me, please?

Harutyun.
 
He's basically saying that the file public_html/wp-content/db-cluster-config.php doesn't exist.
 
Terry Harvey said:
He's basically saying that the file public_html/wp-content/db-cluster-config.php doesn't exist.

Alright, so what do I have to do with that info?

Harutyun.
 
I don't know where dbcluster comes from. Is it a plugin, or does it come with wordpress? If there are no plugins by the name or having to do with the name dbcluster, then you can assume that it is a default file. I'd download the latest wordpress, take it's dbcluster file, and upload it. Make sure it's details are correct inside (idk what this file does, if it's a configuration file...set the config options...if not, leave it alone. Either way, you need this file on the server.)
 
Harutyun said:
db-cluster-config.php

Who is your host ?

Database Clustering is basically where two servers have access to the same database, that means your database thinks that there are two access points to it.

Are you sure that you have set up the config.php correctly from the install, and deleted or re-named the original ?
 
Jack~Rouse said:
Harutyun said:
db-cluster-config.php

Who is your host ?

Are you sure that you have set up the config.php correctly from the install, and deleted or re-named the original ?

My host is HawkHost.

No, I haven't done anything like this. I have absolutely no coding knowledge. :/

Harutyun.
 
Harutyun said:
Jack~Rouse said:
Harutyun said:
db-cluster-config.php

Who is your host ?

Are you sure that you have set up the config.php correctly from the install, and deleted or re-named the original ?

My host is HawkHost.

No, I haven't done anything like this. I have absolutely no coding knowledge. :/

Harutyun.

You have to edit your config.php file to point to your database, then it should work, the problem you are having is because I think you are still pointing your config file to the WP database.

This is what you config file should resemble :
Code:
<?php
/**
 * The base configurations of the WordPress.
 *
 * This file has the following configurations: MySQL settings, Table Prefix,
 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
 * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
 * wp-config.php} Codex page. You can get the MySQL settings from your web host.
 *
 * This file is used by the wp-config.php creation script during the
 * installation. You don't have to use the web site, you can just copy this file
 * to "wp-config.php" and fill in the values.
 *
 * @package WordPress
 */

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

/** MySQL database username */
define('DB_USER', 'INSERT DATABASE USERNAME HERE');

/** MySQL database password */
define('DB_PASSWORD', 'INSERT USERNAME PASSWORD HERE');

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

/** 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', '');

/**#@+
 * 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',         'removed for security');
define('SECURE_AUTH_KEY',  'removed for security);
define('LOGGED_IN_KEY',    'removed for security');
define('NONCE_KEY',        'removed for security');
define('AUTH_SALT',        'removed for security');
define('SECURE_AUTH_SALT', 'removed for security');
define('LOGGED_IN_SALT',   'removed for security');
define('NONCE_SALT',       'removed for security');

/**#@-*/

/**
 * 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_';

/**
 * WordPress Localized Language, defaults to English.
 *
 * Change this to localize WordPress. A corresponding MO file for the chosen
 * language must be installed to wp-content/languages. For example, install
 * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
 * language support.
 */
define('WPLANG', '');

/**
 * 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');

You need to open wp-config.php in a text editor and make those changes
 
Jack~Rouse said:
Harutyun said:
Jack~Rouse said:
Harutyun said:
db-cluster-config.php

Who is your host ?

Are you sure that you have set up the config.php correctly from the install, and deleted or re-named the original ?

My host is HawkHost.

No, I haven't done anything like this. I have absolutely no coding knowledge. :/

Harutyun.

You have to edit your config.php file to point to your database, then it should work, the problem you are having is because I think you are still pointing your config file to the WP database.

This is what you config file should resemble :
Code:
<?php
/**
 * The base configurations of the WordPress.
 *
 * This file has the following configurations: MySQL settings, Table Prefix,
 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
 * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
 * wp-config.php} Codex page. You can get the MySQL settings from your web host.
 *
 * This file is used by the wp-config.php creation script during the
 * installation. You don't have to use the web site, you can just copy this file
 * to "wp-config.php" and fill in the values.
 *
 * @package WordPress
 */

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

/** MySQL database username */
define('DB_USER', 'INSERT DATABASE USERNAME HERE');

/** MySQL database password */
define('DB_PASSWORD', 'INSERT USERNAME PASSWORD HERE');

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

/** 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', '');

/**#@+
 * 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',         'removed for security');
define('SECURE_AUTH_KEY',  'removed for security);
define('LOGGED_IN_KEY',    'removed for security');
define('NONCE_KEY',        'removed for security');
define('AUTH_SALT',        'removed for security');
define('SECURE_AUTH_SALT', 'removed for security');
define('LOGGED_IN_SALT',   'removed for security');
define('NONCE_SALT',       'removed for security');

/**#@-*/

/**
 * 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_';

/**
 * WordPress Localized Language, defaults to English.
 *
 * Change this to localize WordPress. A corresponding MO file for the chosen
 * language must be installed to wp-content/languages. For example, install
 * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
 * language support.
 */
define('WPLANG', '');

/**
 * 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');

You need to open wp-config.php in a text editor and make those changes

You mean replacing the code in my current file with this one?

Harutyun.
 
PM me your current wp-config.php file

also PM me:

Your database name
Database user name
database password for that username
 
Jack~Rouse said:
PM me your current wp-config.php file

also PM me:

Your database name
Database user name
database password for that username

I appreciate that you try to help me but I am not willing to give away my FTP info.

Harutyun.
 
Maybe you should contact your host. While Jack was being legitimate, I can see your worries in doing that. Open a ticket.
 
Harutyun said:
Jack~Rouse said:
PM me your current wp-config.php file

also PM me:

Your database name
Database user name
database password for that username

I appreciate that you try to help me but I am not willing to give away my FTP info.

Harutyun.

Are you serious??
Like he is going to send this sort of information to anyone let alone a user who's got no rep at all.
 
Harutyun said:
Jack~Rouse said:
PM me your current wp-config.php file

also PM me:

Your database name
Database user name
database password for that username

I appreciate that you try to help me but I am not willing to give away my FTP info.

Harutyun.

I can appreciate that, so what you need to do, is enter the info I asked for, in the places I indicated in the config.php I showed you in the code box, then upload that to your root.
Then it should work.
Your hosts cannot do that for you, only you can do it.

**
Rep on here has nothing to do with honesty, there is a poster on here with loads of Rep, who has taken money off people and not been seen again.<br /><br />-- 13 Feb 2013, 20:45 --<br /><br />
iGame said:
Harutyun said:
Jack~Rouse said:
PM me your current wp-config.php file

also PM me:

Your database name
Database user name
database password for that username

I appreciate that you try to help me but I am not willing to give away my FTP info.

Harutyun.

Are you serious??
Like he is going to send this sort of information to anyone let alone a user who's got no rep at all.

Rep has nothing to do with honesty, I am known by a very well known member on here, who can vouch for me personally even though I have no Rep... can you say the same ?
 
Well as said he says that the file is missing. I'm assuming he's talking about "Modern Politicians" and when I checked it was missing. I googled the file and didn't find anything about it being wordpress. BUT I did find a file in the wordpress SVN for the plugin: w3-total-cache. If you have that plugin i'm assuming it's searching for this file. Since you don't use DB cluster it shouldn't matter that it's missing. I could be wrong though. Anyways that's the only thing I could see that is looking for the file.
 
I didn't mean to offend you Jack! I appreciate your desire to help!

Patrick, the plugin you mentioned, I deleted it, because I had doubts it causes the problems. Maybe there are some files left in the DB but how to check?

Harutyun.
 
Harutyun said:
I didn't mean to offend you Jack! I appreciate your desire to help!

Patrick, the plugin you mentioned, I deleted it, because I had doubts it causes the problems. Maybe there are some files left in the DB but how to check?

Harutyun.

No offence taken, just trying to help
 
Jack~Rouse said:
Harutyun said:
I didn't mean to offend you Jack! I appreciate your desire to help!

Patrick, the plugin you mentioned, I deleted it, because I had doubts it causes the problems. Maybe there are some files left in the DB but how to check?

Harutyun.

No offence taken, just trying to help

I know, thank you!

Harutyun.
 
Please backup before attempting to do anything to your files.

If W3 Cache is deleted(not just deactivated) there should be one or two files left.

Go to cPanel.
Go to the file editor.
Go to wp-content and delete "w3tc-config" and "cache".

This MAY take care of it.
 
Back
Top Bottom