Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Same here – I can’t get it to work :0(

    Forum: Fixing WordPress
    In reply to: Gallery in post
    Thread Starter shellfish333

    (@shellfish333)

    Thanks Chris!

    I would definiately recommend changing the logo font as it’s really hard to read.

    Thread Starter shellfish333

    (@shellfish333)

    it ok….sorted….it sql file was calling the WAMP server for some things :0(

    did you run the wp-admin/install.php file and tell wordpress your db details?

    The config file should look like this:

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘putyourdbnamehere’); // The name of the database
    define(‘DB_USER’, ‘usernamehere’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘yourpasswordhere’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-content/languages.
    // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

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

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>

    Also, your login.php and config.php should together outside of the wp-admin, wp-content, wp-includes folder.

    Hey, do you have a config.sample.php file?

    Hey,

    If you install wordpress again on the new server, you’ll delete all your posts. Here’s the method I favour when moving to a new server:

    1) Make a copy the current files on your server- rename the folder something like OLDsite.

    2) Export your database as an sql file on your current server. Rename the file something like OLDsql. Close the database screen when done [probably phpmyadmin]

    3) Open the current wordpress setup – by logging on to the dashboard. Go into the settings and change the URL [both of them] to point to your new url i.e. http://www.mysite.co.uk and also change your email if this needs to be change. Save the changes.

    4) Again go back to your database and export the sql again – saving it to your folder [not the OLD one but the new one]

    5) Create and new database on your new server and import the new sql file.

    6) Open the config.php file and fill in your new db details

    7) Upload everything to your new server – job done

    Good luck. Shell

    Hey,

    Have you created and database and then told your config.php file the database details?

    Thread Starter shellfish333

    (@shellfish333)

    it’s ok..all fixed….I needed to change the URL in the mysql file.

    Thread Starter shellfish333

    (@shellfish333)

    Hey,

    If I don’t use localhost as the host name..what else might it be…the url of the site?

    Thread Starter shellfish333

    (@shellfish333)

    Hey,

    This is my wp-config file:

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘mydatabase’); // The name of the database
    define(‘DB_USER’, ‘myusername’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘mypassword’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);

    // Change SECRET_KEY to a unique phrase. You won’t have to remember it later,
    // so make it long and complicated. You can visit https://www.grc.com/passwords.htm
    // to get a phrase generated for you, or just make something up.
    define(‘SECRET_KEY’, ‘put your unique phrase here’); // Change this to a unique phrase.

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-content/languages.
    // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

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

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>

Viewing 13 replies - 1 through 13 (of 13 total)