1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 more trouble again help

Discussion in 'Troubleshooting and Problems' started by Ian S, Dec 3, 2014.

  1. Ian S

    Ian S Active Member

    ok right so today i thought id do a exact copy of our dev site running along side the other so people can still play with it, i made a new db user and password i directed the config to it, all works fine except for when i try and log in i get a incorrect password error:eek::eek::confused: its a exact port of the other dev site and data in db, i checked in xf db and my user etc is there, weird thing is the xmapp version works and the original dev site works, the dev2 just wont let me in and obviously i need to carry on playing with xf
    any ideas??

    thanx(y)
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Are both installations publicly accessible?
     
  3. Ian S

    Ian S Active Member

    yes i suppose they are is that not allowed in xf?? but one copy the web address is only known by me but i suppose it still public, can i temporary use the 2nd account just for me
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

     
  5. Ian S

    Ian S Active Member

    cool thanx so i need to register the original for the public and the other for the test in the customer area, sorry also i didnt relize this

    the original wont be shut down will it

    regards as always
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    No, you need to register the public URL in your customer account.

    Any test installation must be password protected and limited to your site staff only.
     
  7. Ian S

    Ian S Active Member

    ok thanx ive just checked and the correct site is registered, im sorry to ask brogan could you advice how i can password protect my test installation, id appreciate that if possible thanx
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

  9. Ian S

    Ian S Active Member

    thanx sir appreciated as always
     
  10. Ian S

    Ian S Active Member

    sorry i use this guide only in the test installation??
     
  11. Tracy Perry

    Tracy Perry Well-Known Member

    Yes, you only need to password protect your text/dev site.
    If you are using Apache it will be via the .htaccess, if using nginx you will need to password protect it in your vhost definition.
     
  12. Ian S

    Ian S Active Member

    i dont have cpanel can i just use the ip protection will that work for the test installation matey
     
  13. Tracy Perry

    Tracy Perry Well-Known Member

    Unless someone spoofs your IP and can get through. Generally it's easier just to do the .htaccess routine... you don't have to have cPanel for that... I find that joe works just fine (joe is a neat little text editor for Linux) if you have SSH access.
     
  14. Ian S

    Ian S Active Member

    host was using apache but now its nginx i think thats what it says when i access phpmyadmin mate

    im using the plesk 12 panel matey have you got any ideas where i can find the password to protect it
     
  15. Tracy Perry

    Tracy Perry Well-Known Member

    Not in plesk.. but it's a simple matter of following that guide, using the file browser to browse to your test install directory and edit the .htaccess and do the password protection there. Of course, there needs to be a htaccess password file generated, which I'm sure plesk can do.
    I found a few guides for it
    http://support.hostgator.com/articles/plesk/plesk-10/password-protecting-directories-in-plesk
    http://www.shaunfreeman.name/password-protected-a-subdomain-in-parallels-plesk-11-5/
    https://sitedart.net/manage-my-webs.../how-to-password-protect-a-directory-in-plesk
     
  16. Ian S

    Ian S Active Member

    thanx tracy i really appreciate ya help, the .htaccess file is easy accessable so basically follow the guide brogan said?? i can check plesk again as im logged in now but plesk 12 is very different to 10 but ill check, have you got the code for your .htaccess file?? i can change the ip or do i need to generate a password somewho
     
  17. Ian S

    Ian S Active Member

    found it below not sure how to setup though tracy
     

    Attached Files:

  18. Ian S

    Ian S Active Member

    ok been out all day but just got time to try it and it still dont work:confused::confused::confused::confused::confused::confused::confused:

    i used the plesk panel to password the root and i used the ip protect in both .htacess files i get 3 attempts then im locked out as password is wrong and have to reimport the database to start again, im not sure what to try next:cry::cry::cry::cry:
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    Implementing .htaccess password auth has absolutely nothing to do with the database.

    You should consider employing the services of a sysadmin.
     
  20. Ian S

    Ian S Active Member

    i meant that basically because i only get 3 password attempts, i have to reimport the master again as it didnt let me in, i though you said i was allowed to use a test xf on top of the original site xf, ill swap the licence link later but i bet it works, so is there any way i can have my test site for myself and the dev site working fully to public

    many thanks again
     

Share This Page