• I recently moved a word press driven site from one cpanel server to another using the back up facility. That went very well in so much as the same amount of data is on the new server along with databases, email addresses and so on.
    The problem is the site just hangs, it doesnt load at all. The wp-login is the same. It isnt a dns issue as other non wp parts of the site are fine. I have checked and repaired the database and that is fine. I have tried renaming .htaccess and all I got then was /index/.index.htm is not on the server. I have tried adding the define site coded to the config file as recommended elsewhere in these forums and no matter what I try the result is the same.
    https://www.smaarthorses.co.uk is the url.
    Can anyone help?
    Many, many thanks in advance.

Viewing 11 replies - 16 through 26 (of 26 total)
  • Moderator James Huff

    (@macmanx)

    Yeah, stick with an index.html and temporarily remove the dot from htaccess.

    Basically, just trying to see if standard HTML is working as an index. If so, we can move on to seeing if PHP is a problem in general, and so on.

    I usually just load up:

    https://smaarthorses.co.uk/readme.html

    (3.5.2 – ouch!)

    Moderator James Huff

    (@macmanx)

    Ouch, yeah, might as well just install WordPress 3.9.1 files while you’re at it. ??

    Thread Starter phild11

    (@phild11)

    I renamed .htaccess and index.php – uploaded index.htm and suill get
    The requested URL /index/ was not found on this server.

    Very strange – it’s like there is a redirect somewhere which I thought was in .htaccess but plainly is not.

    Moderator James Huff

    (@macmanx)

    Ok, it’s probably in index.php. ??

    Try just an index.html file with some basic text content, like “Did this work?”

    Thread Starter phild11

    (@phild11)

    I’ve renamed index.php index.bak default.php and uploaded a plain index.html and it’s still redirecting!

    Directly addressing the index.html file works:

    https://www.smaarthorses.co.uk/index.html

    What’s in your apache vhost file?

    Thread Starter phild11

    (@phild11)

    </VirtualHost>
    <VirtualHost 37.122.210.206:80>
    ServerName smaarthorses.co.uk
    ServerAlias https://www.smaarthorses.co.uk
    DocumentRoot /home/smaartho/public_html
    ServerAdmin [email protected]
    UseCanonicalName Off
    CustomLog /usr/local/apache/domlogs/smaarthorses.co.uk combined
    CustomLog /usr/local/apache/domlogs/smaarthorses.co.uk-bytes_log “%{%s}t %I .\n%{%s}t %O .”
    ## User smaartho # Needed for Cpanel::ApacheConf
    UserDir disabled
    UserDir enabled smaartho
    <IfModule mod_suphp.c>
    suPHP_UserGroup smaartho smaartho
    </IfModule>
    <IfModule concurrent_php.c>
    php4_admin_value open_basedir “/home/smaartho:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp”
    php5_admin_value open_basedir “/home/smaartho:/usr/lib/php:/usr/local/lib/php:/tmp”
    </IfModule>
    <IfModule !concurrent_php.c>
    <IfModule mod_php4.c>
    php_admin_value open_basedir “/home/smaartho:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp”
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_value open_basedir “/home/smaartho:/usr/lib/php:/usr/local/lib/php:/tmp”
    </IfModule>
    <IfModule sapi_apache2.c>
    php_admin_value open_basedir “/home/smaartho:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp”
    </IfModule>
    </IfModule>
    <IfModule !mod_disable_suexec.c>
    <IfModule !mod_ruid2.c>
    SuexecUserGroup smaartho smaartho
    </IfModule>
    </IfModule>
    <IfModule mod_ruid2.c>
    RMode config
    RUidGid smaartho smaartho
    </IfModule>
    <IfModule itk.c>
    # For more information on MPM ITK, please read:
    # https://mpm-itk.sesse.net/
    AssignUserID smaartho smaartho
    </IfModule>
    ScriptAlias /cgi-bin/ /home/smaartho/public_html/cgi-bin/

    # To customize this VirtualHost use an include file at the following location
    # Include “/usr/local/apache/conf/userdata/std/2_2/smaartho/smaarthorses.co.uk/*.conf”

    </VirtualHost>

    There must be more configuration elements in here:

    /usr/local/apache/conf/userdata/std/2_2/smaartho/smaarthorses.co.uk/

    I’d compare the contents of any of those files in that directory with those found in adjoining directories/domains.

    Cpanel (yeuch) does have a habit of creating a big jumbled mess of confusion!

    Thread Starter phild11

    (@phild11)

    Many thanks. I will take a look at that.
    cheers.

    Thread Starter phild11

    (@phild11)

    The site has a shop. It’s run by zen cart. I deleted the database annd then went to smaarthorses.co.uk/shop and got a zen cart error message re the missing db. So i created the database using the username and password etc in the config file. I then went to phpmyadmin and imported the saved shop db into the new db.
    Straight away smaarthorses.co.uk/shop now hangs just like the main url So it has to be somethign to do with the database contents?

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Site hanging after a server move.’ is closed to new replies.