Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Logged-out as System Administrator

Asked Modified Viewed 2,280 times
M
matanica66
M
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

I've made a very silly error. I've re-configured my website and have effectively lost the ability to log-in as system admin. I've lost the whole log-in screen - the pages can't be changed. PLEASE HELP!!!!!!! Is there a way to re-configure through the host control panel???:o:o

Mat.
0 replies

4 posts

E
Elactos
E
Elactos 10
Infusions & modifications for PHP-Fusion v7
http://www.redward.org
  • Member, joined since
  • Contributed 138 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

Have you "lost" the login form or your admin rights?
0 replies
A
Arda
A
Arda 10
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

yoursite.com/login.php will give you the login page seperately

after login, simply enable "user info panel" for login page to wherever you want as panel

edit: to have your user_rights back, upload this code to your site as "fix.php" to root path which maincore.php is stored, and run once, if it's successful, delete the fix.php

<?php
require_once "maincore.php";
$soul=mysql_query("UPDATE ".$db_prefix."users SET user_rights='A.AC.AD.B.BB.C.CP.DB.DC.D.FQ.F.FR.IM.I.IP.M.N.NC.P.PH.PI.PO.S.SL.S1.S2.S3.S4.S5.S6.S7.SB.SM.SU.UF.UG.U.W.WC' WHERE user_id='1'");
echo $soul?"<font color='green'>resetting user rights on admin whose user id is 1 is successful</font>":"<font color='red'>theres an error, post the following error on your thread<br />".mysql_error($soul)."</font>";
?>
Edited by Arda on 09-07-2008 14:12,
0 replies
M
matanica66
M
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Quote

Elactos wrote:
Have you "lost" the login form or your admin rights?

Not sure how the link is useful
0 replies
A
Arda
A
Arda 10
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

(posting due to private message)
i'm glad it worked! ;)
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet