Forums

Server move (14 posts)

  1. innerwolf
    Member
    Posted 11 months ago #

    Hi

    I've just moved the site over from the developers hosting and are having an issue with worpress showing. I've uploaded all of the file to the new server, created the DB and placed the DB details in the wp-config.php file but the page won't show, it is just showing a blank white page. Have I missed something?

  2. it is just showing a blank white page.

    Check your server logs, that usually indicates a 500 error and your PHP is crashing. Also give these suggestions a try, it may be plugins or a theme issue.

    - Make sure you have backup copies then via FTP or whatever file management tools your host has provided you, delete the directory that your theme is in. That will switch you to the Twenty Eleven theme.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

  3. devpilot
    Member
    Posted 11 months ago #

    check in DB under wp_options table if option_name siteurl and home has option_value as current url of wordpress installation or http://localhost/wordpress

    Run this query to find it
    SELECToption_name,option_valueFROMwp_optionsWHEREoption_name= "siteurl" ORoption_name= "home"

  4. innerwolf
    Member
    Posted 11 months ago #

    Thanks. I've tried all of that and no joy I'm afraid. I'm not getting any errors just a blank white page. When I view the page source it get
    <?php
    /**
    * Front to the WordPress application. This file doesn't do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define('WP_USE_THEMES', true);

    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>

    Does this shed any light?

  5. loughcorrib
    Member
    Posted 11 months ago #

    If you moved wp from one domain to another,your url's folder extensions will have changed if this is the case try thisMove WP

  6. innerwolf
    Member
    Posted 11 months ago #

    Thank you. It is at the same url just on a new server in a sub directory. http://www.innerwolf.co.uk/directory. I have transferred all of the files over and created the DB then changed the DB details in wp-config but still no joy. Anything else I should look out for, .htaccess, file prems etc?

  7. innerwolf
    Member
    Posted 11 months ago #

    I've found an error log, reads

    PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/award3/public_html/directory/wp-config.php on line 91

    These are lines 89-91
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');
    SPATH', dirname(__FILE__) . '/');

  8. loughcorrib
    Member
    Posted 11 months ago #

    When you moved what theme did you have, did you deactivate plugins,
    It might be worth running a fresh install of wp to new db
    Sorry for not getting back sooner

  9. innerwolf
    Member
    Posted 11 months ago #

    It is a custom skin so that it looks like it is part of our website. I didn't deactivate anything. I was lead to believe that it was pretty straight forward by copying the DB over, copying over the files. Would a reinstall loose the custom skin etc?

  10. loughcorrib
    Member
    Posted 11 months ago #

    what happens if you type my site/folder/install.php or mysite/folder/wp-admin.php in browser.
    Yes,customizations are normally lost on new upload. However it is advisable to use a default theme, deactivate all plugins. perform a backup before any changes.
    This is also true when moving servers as in your case.
    but can you reinstall custom after change ?

    Have read the link I sent you

    It is at the same url just on a new server in a sub directory.

    If it is in a subdirectory then its is a different url

  11. innerwolf
    Member
    Posted 11 months ago #

    When I try going to the suggested it still just displays a blank white page.

    I did read the link but assumed it was for the same URL in a sub directory of the same name. I'll have another read. Thank you

  12. loughcorrib
    Member
    Posted 11 months ago #

    That,s an honest mistake think of a url like below

    url 1 = mysite.com
    url 2= mysite.com/myfolder
    url 3= mysite.com/myfolder/myfile.php

    so a url can be just site address or combination of site address folder and or file
    I honestly think if you call it from admin settings it will work as per below

    SPATH', dirname(__FILE__) . '/');

  13. innerwolf
    Member
    Posted 11 months ago #

    On the previoous server it was hosted at http://www.innerwolf.co.uk/directory, on the new server is it also hosted at the same, http://www.innerwolf.co.uk/directory

    I've just noticed that the wp-config file has that line of code several times over?? Like this

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

    SPATH', dirname(__FILE__) . '/');

    /** Sets up WordPress vars and included files. */

    require_once(ABSPATH . 'wp-settings.php');

    SPATH', dirname(__FILE__) . '/');

    /** Sets up WordPress vars and included files. */

    require_once(ABSPATH . 'wp-settings.php');

  14. innerwolf
    Member
    Posted 11 months ago #

    I've sorted it. I uploaded a more recent version of wp-config from another install and it worked!. I think that bit of code I copied over above might have caused it and that is the file as I received it from the site developer. Thanks for your help.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.