Results 1 to 9 of 9

Thread: Problem with user login

  1. #1
    Thread Starter
    Junior Member lovetowers's Avatar
    Join Date
    Jun 2009
    Location
    London, England
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with user login

    Hi guys,

    First of all just want to say you've got a great theme and I appreciate you sharing it with us, especially at such a low price

    I recently purchased the theme and I'm in the process of setting it up now but am having a problem when trying to login as a test user which I created just to make sure everything works ok.

    Basically after I try to login with the test user I get sent to the wordpress directory folder (the folder with wp-config.php and all those other files) but not to the dashboard like I want it to.

    I've installed the wordpress into a folder on my host called "iologo" if this helps.

    In case I haven't explained my problem all that well I've provided you with the link to my site and the test user's login and password below so you can see what I mean.

    Here's the login page
    http://www.hairdressingjobs.org.uk/iologo/wp-login.php

    Heres the test user name and password
    Username: testing
    Password: Xb6Yc06q%n&e

    Thanks for your time
    Ryan

  2. #2
    Veteran pointandstare's Avatar
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    311
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Problem with user login

    It looks like a few files are missing from that directory - http://www.hairdressingjobs.org.uk/iologo/

    Might be a good idea to also add this to the .htaccess file:
    DirectoryIndex index.php

  3. #3
    Thread Starter
    Junior Member lovetowers's Avatar
    Join Date
    Jun 2009
    Location
    London, England
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Problem with user login

    Hey PointandStare, thanks for the response.

    What files are missing?

    I've only deleted the install.php from the wp-admin.

    I moved the index.php to the root directory, i.e. http://www.hairdressingjobs.org.uk so that that's my homepage.

    I just downloaded a new copy of wordpress.org and all the files that are in wordpress other then the index.php are in the http://www.hairdressingjobs.org.uk/iologo.

    I added the line to the .htaccess file as you said but no change. Just out of interest, as I enjoy learning this stuff what does it actually do?

    Any other ideas?

  4. #4
    Veteran pointandstare's Avatar
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    311
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Problem with user login

    Did you update the paths in the WP settings?

    That line sets the index.php file as the main director 'home page'. It can be changed to anything.

  5. #5
    Thread Starter
    Junior Member lovetowers's Avatar
    Join Date
    Jun 2009
    Location
    London, England
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Problem with user login

    Did you update the paths in the WP settings?
    Do you mean....

    WordPress address (URL) = http://www.hairdressingjobs.org.uk/iologo

    Blog address (URL) = http://www.hairdressingjobs.org.uk/

  6. #6
    Thread Starter
    Junior Member lovetowers's Avatar
    Join Date
    Jun 2009
    Location
    London, England
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Problem with user login

    Just thought I'd give an update for anyone in the future who has the same problem.

    I haven't been able to figure out what I need to change so instead I've created a workround and put a redirect page (called index.html) inside the iologo folder which you can see below.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta name="robots" content="noindex,nofollow">
    <meta http-equiv="refresh" content="0;URL=http://www.hairdressingjobs.org.uk/dashboard">
    <title>Redirected to your dashboard</title>
    <script type="text/javascript">
    window.location="http://www.hairdressingjobs.org.uk/dashboard";
    </script>
    </head>

    <body>


    You are being automatically redirected to your dashboard.

    Page Stuck? Click Here</p>
    </body>
    </html>

  7. #7
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Problem with user login

    Since you are using WP in a sub directory, you will have to update the dashboard and edit ad urls.

    Open your header.php file and look for these lines:

    Code:
    define("cp_dashboard_url", "/dashboard/");
    define("cp_edit_ad_url", "/edit-ad/");
    and change them to:

    Code:
    define("cp_dashboard_url", "/iologo/dashboard/");
    define("cp_edit_ad_url", "/iologo/edit-ad/");
    That should fix it.

  8. #8
    Thread Starter
    Junior Member lovetowers's Avatar
    Join Date
    Jun 2009
    Location
    London, England
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Problem with user login

    Hey dcowgill,

    Did as you said but still having the same problem,
    define("cp_dashboard_url", "/iologo/dashboard/");
    //define("cp_dashboard_url", "/?page_id=745&"); //uncomment this and enter the dashboard page

    id (replace 745) if you don't have pretty permalinks on.

    define("cp_edit_ad_url", "/iologo/edit-ad/");
    //define("cp_edit_ad_url", "/?page_id=748&"); //uncomment this and enter the edit ads page id

    (replace 748) if you don't have pretty permalinks on.

    Guess I'm just going to have to use my work around

  9. #9
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Problem with user login

    Strange. Still getting a 404 error? Well, as long as you've got it working that's all that really matters.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Cannot login as administrator
    By dfwequitytrust in forum ClassiPress General Discussion
    Replies: 3
    Last Post: July 2nd, 2009, 01:04 AM