Forums / General Questions / Can't log in to my admin area?? Help!

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

Views: 994

Results 1 to 6 of 6
17 Mar 2011, 10:35 PM
#1
pework avatar

pework

New Zenner

Join Date:
Mar 2011
Location:
Eastleigh
Posts:
11
Plugin Contributions:
0

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/%28nameofmyadmin%29/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:cry:

18 Mar 2011, 2:23 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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.

18 Mar 2011, 7:09 AM
#3
pework avatar

pework

New Zenner

Join Date:
Mar 2011
Location:
Eastleigh
Posts:
11
Plugin Contributions:
0

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>
20 Mar 2011, 10:26 AM
#4
pework avatar

pework

New Zenner

Join Date:
Mar 2011
Location:
Eastleigh
Posts:
11
Plugin Contributions:
0

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.

25 Mar 2011, 8:44 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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.

26 Mar 2011, 3:28 PM
#6
pework avatar

pework

New Zenner

Join Date:
Mar 2011
Location:
Eastleigh
Posts:
11
Plugin Contributions:
0

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