• Resolved robatbentley

    (@robatbentley)


    I moved away from raw HTML/Jquery to WordPress to avoid complicated integration issues every time I changed my web-site. Now I’ve replaced it with post-installation configuration issues where I fix one thing and another breaks. Need some help on this.

    Problem Scenarios:
    1) Log into my wordpress dashboard. Go to “Visit Site” and then can’t get back to Dashboard. Have to create new Dashboard sessions. Yikes!
    2) Have dynamic IP address allocation from my router. When router IP address changes, my site can’t display pictures. Path references old IP address.
    3) www users can’t see my blog – timeouts or lost formatting.

    My setup:
    1) Domain (bentleyridingcentre.co.uk) set to point to routers IP address. e.g. http://31.54.133.60/wordpress/
    2) WordPress Address (URL) set to my web-servers IP in wp-config. i.e. define(‘WP_SITEURL’, ‘http://192.168.1.66/wordpress’);
    3) WordPress Site Address (URL) set to http://bentleyridingcentre.co.uk in settings/general
    4) Router setup with port-forwarding on 80, 443, 3306, 3389 & 4125.

    Been trying to figure this out for days. Tried configuring based on some of the forum related issues. e.g. Set both wordpress & site address to my domain but then lost localhost login to dashboard.

    Can anyone help or point me to a tutorial/video that actually goes thru this step-by-step?
    Thanks in anticipation.

    PS: The only success I had today is when I finally lost it with my router and opened up all ports to my web-server. Everything worked except I now had a server that was vulnerable. Stepped back from there and now trying to get it working properly.

Viewing 15 replies - 16 through 30 (of 37 total)
  • Yep’. Because now you have placed the word “server” in your urls where the domain name should be.

    //server/wordpress/xmlrpc.php

    //server/wordpress/wp-includes

    Thread Starter robatbentley

    (@robatbentley)

    Yep’. Because now you have placed the word “server” in your urls where the domain name should be.

    If I change my WP Address (URL) from
    http://server/wordpress
    to my domain (which has been modified to my routers NEW static IP address only hours ago) then surely I’ll be back in the same situation where nothings works in above experiment? …because the updated domain won’t yet be accessible anyone else yet

    The Site Address (URL) is already set to the domain.
    What are suggesting I now set my WP Address (URL) to? …servers private IP, new router static IP, recently modified but unflushed domain?

    Thread Starter robatbentley

    (@robatbentley)

    Yep’. Because now you have placed the word “server” in your urls where the domain name should be.

    There you go, reset it back to domain name to be cooperative:

    define(‘WP_SITEURL’,’http://bentleyridingcentre.co.uk’);

    Result:
    I can’t fully load (unformatted) my own live site using http://bentleyridingcentre.co.uk despite my browser indicating that it’s translating to http://81.149.17.79/wordpress/ (which is my routers new static ip address).

    Attempts to log into dashboard also fail – time-out!

    Any suggestions?

    Let me ask this; why are you manually defining the url in wp-config?

    Thread Starter robatbentley

    (@robatbentley)

    Let me ask this; why are you manually defining the url in wp-config?

    …because I was experimenting with the WP Address (URL) settings via the dashboard which ended-up preventing me from logging-in. I then reset it back to it’s original setting but could only do this via the WP-CONFIG file. Thereafter, the value was grey’d-out in the dashboard general setting. Even tried commenting the offending line of code in the WP-CONFIG file but then couldn’t get the dashboard login page to appear – timeout problems.

    Any suggestions as to how to resolve this?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Humor for a minute and just for testing can you put both of these into your configuration?

    define('WP_HOME','http://bentleyridingcentre.dn7.me/wordpress');
    define('WP_SITEURL','http://bentleyridingcentre.dn7.me/wordpress');

    Please reply back here when that’s done (I’m subscribing to this topic) and leave that there for now. Both lines not just one.

    Thread Starter robatbentley

    (@robatbentley)

    Humor for a minute and just for testing can you put both of these into your configuration?

    Done! …both lines!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Okay! So static content works for me:

    http://bentleyridingcentre.dn7.me/wordpress/readme.html
    http://bentleyridingcentre.dn7.me/wordpress/wp-content/plugins/akismet/readme.txt

    But dynamic content such as

    http://bentleyridingcentre.dn7.me/wordpress/

    And

    http://bentleyridingcentre.dn7.me/wordpress/index.php

    is tossing 500 Server errors.

    Do you have any plugins activated? You can comment out those lines and try to get in via the native IP address (after those lines are removed). The web server is fine but it looks like something in WordPress is well and truly confused. πŸ˜‰

    http://192.168.1.66/wordpress/wp-admin/

    Thread Starter robatbentley

    (@robatbentley)

    Do you have any plugins activated? You can comment out those lines and try to get in via the native IP address (after those lines are removed).

    Not sure what you mean. Is there a file where plug-ins are defined or do you want me to reset the wp-config and remove the plug-in content from the pages themselves? i.e. via dashboard.

    …but yes, I have 1 active plug-in, one of the AnythingSliders or similar. …but a couple of other sliders that I’d deactivated as they looked too heavy.

    But dynamic content such as

    I’ve successfully tested www access to one of my dynamic (but not WP) dummy sites hosted on the same server under the brs06/index.html instead of /wordpress. This brs06 has loads of sliders and my mate (in www land) can see all this stuff fully formatted.

    I agree. I also think there’s something messed-up in either the WP installation of config.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Do you mind starting from scratch? You don’t have to delete anything just try these steps.

    1 – Make a backup copy of your existing wp-config.php file. I suggest renaming it to wp-config-old.php.

    2 – Copy wp-config-sample.php to wp-config.php and edit that new copy with your database settings.

    3 – Make one more change to that new wp-config.php file: change the line that says

    $table_prefix  = 'wp_';

    to read

    $table_prefix  = 'brc_';

    Then visit http://bentleyridingcentre.dn7.me/wordpress/wp-admin/install.php and create a new empty WordPress installation.

    What that will do is let you create a new installation using a different table prefix. This will (hopefully!) let you start from scratch.

    Thread Starter robatbentley

    (@robatbentley)

    Do you mind starting from scratch?

    Followed your steps…
    Tried using http://bentleyridingcentre.dn7.me/wordpress/wp-admin/install.php but the browser just hung – waiting for…

    Just wondering if a total re-instal via Web Platform Installer is on the cards

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    *Jan weeps.*

    I’m out of ideas. πŸ™ Put the old wp-config.php file back and you’ll be right where you were.

    It looks like your router really does not like doing u-turns. From the Internet the installer screen comes up without any issue. From your home 192.168.1.x network it looks like that u-turn just will not work.

    It’s odd as many of us do host a WordPress installation that way but it’s just not working for you.

    Thread Starter robatbentley

    (@robatbentley)

    Thanks for giving it a go.
    I’m calling it a day and re-introducing myself to my family.
    Fresh start tomorrow…

    Thread Starter robatbentley

    (@robatbentley)

    Think this problem is related to my BT2700HGV v2 router and it’s inability to bounce domain URLs from my Win-7 PC to router to web-server.

    So am off to buy a BT Business Hub 3 to see if this makes any difference. …if not, then I have a spare (with uPnP).

    Any feedback as to whether this is a good or bad idea will be appreciated.

    Clayton James

    (@claytonjames)

    What little information I could dig up on the device seems to suggest that the BT2700HGV could possibly already be capable of Nat Loopback. Might be worth re-checking the documentation before shelling out the cash. If that’s a model that is only available through your ISP, they may be able to confirm one way or the other if (either model) is capable.

Viewing 15 replies - 16 through 30 (of 37 total)
  • The topic ‘Congifuration Nightmare – home server setup problems’ is closed to new replies.