This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

can't login to cadmin


avatar
capslock 0
From: -
can't login to cadmin

i've installed a second copy of ST, after first login it sad "password updated to ...".
Now i can't login to cadmin of first domain. Could you help me?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: can't login to cadmin
avatar
Administrator
1342
From: Austria
can't login to cadmin

There is still no "Powered by" notice on your website. Please bear in mind that this notice is part of the license agreement.
1 Re: can't login to cadmin
avatar
Administrator
1342
From: Austria
can't login to cadmin

Two solutions:

1) You ask your provider to upgrade the server to PHP 4.3 or higher
2) You remove the following from cadmin/index.php:

        

if ((strlen($admin[user_password]) == 32) and (strlen($lpassword) == 40))
{
if (md5($ppassword) == $admin[user_password])
{
DBQuery("UPDATE esselbach_st_users SET user_password = '$lpassword' WHERE user_name = '$lusername' AND user_admin = '1'");
setcookie ("esselbachsta", 0);

MkHeader("_self");
MkTabHeader ("$words[NOTIC]");
echo "$words[SHA1U]<br /><br /><a href="https://www.contentteller.com/index.php">$words[CPLOG]</a>";
MkTabFooter();
MkFooter();
exit;
}
}

In this case you need to reset the password with phpMyAdmin to MD5
1 Re: can't login to cadmin
avatar
OP 0
From: -
can't login to cadmin

they are located in 2 severs and share the db on the first server domain. after logging in into the second server (domain) password has been upgraded to SHA1. May be first server does not support SHA1. what can i do?
1 Re: can't login to cadmin
avatar
Administrator
1342
From: Austria
can't login to cadmin

Are both sites located on the same server or sharing the database remotely? It seems like that your password has been upgraded to SHA1 (PHP 4.3 and higher) on the new site while your old server support only MD5.
1 Re: can't login to cadmin
avatar
OP 0
From: -
can't login to cadmin

password is correct because i can login from second site, but i can't from first site.
1 Re: can't login to cadmin
avatar
Administrator
1342
From: Austria
can't login to cadmin

You can edit the site_footer template (which is located at /templates/site_footer.tmp.php) in any text editor.

Anyway, you could try to reset the password with phpMyAdmin. Go to the table esselbach_st_users and edit your record. Select SHA1 in the user_password field list and enter your new password.
1 Re: can't login to cadmin
avatar
OP 0
From: -
can't login to cadmin

i can't because i can't access the admin area.
1 Re: can't login to cadmin
avatar
Administrator
1342
From: Austria
can't login to cadmin

Please restore the "Powered by" notice first

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.