Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2011
    Location
    Eastleigh
    Posts
    11
    Plugin Contributions
    0

    Default Can't log in to my admin area?? Help!

    Hi, I was working on my site last night - dirtybikes.co.uk and following guidance on another thread where it suggested duplicating the contact_us pages to create a new page which could then be used to create a bespoke form. I duplicated all the pages with the contact_us name and renamed them. I the went to the EZ-Page and told it to create the page and provided an internal link to it.

    This worked a treat but after I had closed my browser and reopened it I can no longer log in!!

    It comes up with the following in the browser window:

    http://www.dirtybikes.co.uk/(name of...min)/login.php

    I have tried deleting all the pages I created and logged on via my server and removed the pages from EZ-Pages but the problem persists, any ideas what I have done?

    It may be completely unconnected to the above of course but that was the last thing I was doing when it went pear shaped.

    Kind regards

    Paul

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Can't log in to my admin area?? Help!

    Sounds like broken cookies. Maybe clearing your browser's cache and cookies, and restarting the browser might be a good place to start.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2011
    Location
    Eastleigh
    Posts
    11
    Plugin Contributions
    0

    help question Re: Can't log in to my admin area?? Help!

    Thanks for the response but unfortunately it seems not to be that simple. I realised that it might be helpful if I provided the source code, see below:



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <title>Zen Cart!</title>

    <link href="includes/stylesheet.css" rel="stylesheet" type="text/css" />

    <meta name="robot" content="noindex, nofollow" />
    </head>

    <body id="login" onload="document.getElementById('admin_name').focus()">

    <form name="login" action="http://www.dirtybikes.co.uk/zcadmin/login.php?zenAdminID=a750dc8d529b5b45a3dd184c6eeae0d4" method="post">

    <fieldset>

    <legend>Admin Login</legend>

    <label class="loginLabel" for="admin_name">Admin Username:</label>

    <input style="float: left" type="text" id="admin_name" name="admin_name" value="" />

    <br class="clearBoth" />

    <label class="loginLabel" for="admin_pass">Admin Password:</label>

    <input style="float: left" type="password" id="admin_pass" name="admin_pass" value="" />

    <br class="clearBoth" />

    <input type="hidden" name="securityToken" value="1e329221a76693dc57858cffe91ef6fc">

    <input type="submit" name="submit" class="button" value="Login" />

    <a style="float: right;" href="http://www.dirtybikes.co.uk/zcadmin/password_forgotten.php?zenAdminID=a750dc8d529b5b45a3dd184c6eeae0d4">Resend Password</a> </fieldset>

    </form>

    </body>

    </html>

  4. #4
    Join Date
    Mar 2011
    Location
    Eastleigh
    Posts
    11
    Plugin Contributions
    0

    Default Re: Can't log in to my admin area?? Help!

    I have sorted this now as the fault lay in the class.smtp document within includes/classes. Still not sure what had happened as this file didn't seem to include anything that I might have changed but hey.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Can't log in to my admin area?? Help!

    Thanks for confirming that the problem was fixed by replacing bad files on your server.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Mar 2011
    Location
    Eastleigh
    Posts
    11
    Plugin Contributions
    0

    Default Re: Can't log in to my admin area?? Help!

    In case anyone else experiences this issue, I discovered that the problem was caused by extra space being added after the last ?> within the class.smtp.php file which was added by my FTP program when I uploaded it

 

 

Similar Threads

  1. Can't log in to subdomains admin area
    By MelodyW in forum Basic Configuration
    Replies: 1
    Last Post: 9 Jan 2013, 12:04 PM
  2. Help! can't log into admin area!!!!
    By emarkets in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Jan 2010, 12:47 AM
  3. Can't log in to ZC admin area
    By res in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Jun 2008, 05:57 AM
  4. CAN'T log into admin area
    By nev in forum General Questions
    Replies: 3
    Last Post: 2 Jun 2008, 10:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg