Forums

Cannot login on subdomain (18 posts)

  1. sentientprod
    Member
    Posted 8 months ago #

    I recently installed a network using sub-domains. I can login through my primary site which is

    http://mmgtv.org

    but when I try to click on dashboard for my secondary site which is

    http://sentient.mmgtv.org

    or if I try to go to http://sentient.mmgtv.org/wp-admin/

    I cannot log in!!! This is so annoying. Can somebody please help me. I've been researching all over the Internet for this and I can't find a solution.

  2. sentientprod
    Member
    Posted 8 months ago #

    Also thought it was worth mentioning that when I change the theme on the main site, the subdomain's theme changes also. So... it looks like maybe it wasn't installed correctly. My host said that wildcard is already enabled...

  3. sentientprod
    Member
    Posted 8 months ago #

    Ok very odd. It seems that if I make another site, it works fine. But only when I make the site name "Sentient" does it redirect me to the homepage. Seems like some type of database cache or cookies. I've already searched the database and couldn't find it anywhere. It is pulling a redirect script to this url that hasn't existed for a long time.

    http://mmgtv.org/limelight/sentient/wp-admin

    Those folders have now changed to

    http://mmgtv.org/wp-admin

    So the question is now, where and how can I clear the cookies from the db?

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    At a guess, it's actually your htaccess files.

  5. sentientprod
    Member
    Posted 8 months ago #

    Here is my htaccess

    # BEGIN WordPress
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    
    # END WordPress
    php_value memory_limit 128M

    I copied it exactly how the installation told me to.

  6. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    The page loads (slowly). http://sentient.mmgtv.org/wp-admin (and in fact ALL 404 pages) redirect to http://sentient.mmgtv.org/

    And the URLs aren't changing.

    But http://sadsaasas.mmgtv.org/ kicks me to http://mmgtv.org/wp-signup.php?new=sadsaasas which is what it should do. EXCEPT the page is still the same.

    Change your theme to twentyeleven for a test, and re-save your permalinks.

  7. sentientprod
    Member
    Posted 8 months ago #

    Nope, I changed the theme to twentyeleven and still have the same problem...

  8. sentientprod
    Member
    Posted 8 months ago #

    The thing is if I type another other website name it's fine. But when I name it Sentient then everything malfunctions. Probably because it was a page that no longer exists. I just need to find out how to clear the cookies from the db which I can't seem to find anywhere.

  9. sentientprod
    Member
    Posted 8 months ago #

    Is it possible that it is encrypted with MD-5 or SHA-1 and that's why I can't find traces of it in the database? I looked through all my physical files as well for anything with "/limelight/sentient" in it and came with nothing.

  10. Curtiss Grymala
    Member
    Posted 8 months ago #

    No, it shouldn't be encoded or encrypted in any way in your database.

    If you look at your blogs table (wp_blogs if you are using the default prefix), you should see sentient.mmgtv.org listed in the domain column of that table. If you don't, that means that somehow the site creation/registration failed.

    If you do see it listed there, then check the blog_id associated with that domain. Then, check to make sure the appropriate tables (posts, postmeta, options, terms, term_relationships, term_taxonomy, links, comments, commentmeta) all exist for that blog ID (again, if you used the default prefix of wp_, and if the blog_id of that site is 2, then those tables would have a prefix of wp_2; so your posts table for that blog would be called wp_2_posts).

    Why are you searching for /limelight/sentient? What does that signify? Did you create a folder in the public_html area of your server called sentient? If so, delete it. All of the directories are handled virtually through WordPress multisite; and if a directory exists with the same name as a subdomain/subdirectory site, the real directory will take precedence over the virtual site.

  11. sentientprod
    Member
    Posted 8 months ago #

    I'm searching for limelight/sentient because for some reason whenever I make the site called "Sentient" that's the page it redirects to when I right click and put view source code.

  12. sentientprod
    Member
    Posted 8 months ago #

    All those tables are listed. If I make a site that is not called "Sentient" then it works for some reason. So why when I use that specific name does it redirect me to that page??

  13. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    If I make a site that is not called "Sentient" then it works for some reason.

    Oh... OH. mod_security could totally do that! It's a server setting that looks for bad things and blocks them JUST LIKE THAT. I spent a month fighting it once!

    Read http://wordpress.org/support/topic/disable-mod-security?replies=16 and see if you can apply the whitelist in there.

  14. sentientprod
    Member
    Posted 8 months ago #

    well I'm taking some advice from the thread you posted and my host is trying to help me out on the problem. Is there an easier way to do this, like maybe uninstalling the multisite somehow and reinstalling, because I don't have access to edit any Apache files and this will take a while... Trying to get this done ASAP.

  15. sentientprod
    Member
    Posted 8 months ago #

    Uh oh... So I have a problem... My server just told me this:

    Hello Bryan,

    I am sorry for the delay in response, unfortunately it is not possible to make the changes under the Apache files as we have shared sever environment. We suggest you to kindly check if you can try to reinstall your application if there is no other alternative.

    Kind Regards
    Josh, Support
    Servage Hosting

    So I can't do the whitelist thing you suggested. Does anybody know how I would reinstall this and if that would even work????

  16. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Not use Sentient :/

    If they can't work with you to fiddle with mod_security, which is my last guess for this, I can't think of another solution :/

  17. sentientprod
    Member
    Posted 8 months ago #

    yeah just realized this with my server, they specifically say on their wiki: "Mod_security is not installed on the Servage servers." So... it's not mod_security then... but it is definately something with the server

  18. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Yeah, they have something security-wise that's stopping it.

Reply

You must log in to post.

About this Topic