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?

superuser login

Asked Modified Viewed 5,066 times
S
stoeny
S
stoeny 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hello everybody,
I’m new to this forum, and looking for some help. (I already apologise for my bad English in advance )

I ‘heritated’ a php-fusion 6.1.18 website (in Dutch), who is in rather bad condition, here a description of the current situation:

I have no superuser password, the lostpasword procedure is not working,
when i ask to retrieve a password, i get a mail,
but when i click on the received link, the web browser give me that the page doesn’t exist, of is expired.
(lostpasword.php is on the server!)

I have oné regular user name that works, i can log in on one computer, because the password is in the computer memory (i’m very scared to lose it)
when i log in, i see that the buttons are very small or even not existing, so i can not edit my own password.

The problems started after and upgrade from 6.1.2 to 6.1.18

What do i have!;) An access to php admin and MySql, and a ftp account.

What i want I like to resolve, is to have an superuser login name, with password that i know.
Also to have ‘normal’ button’s again, with text inside
I’m sure, the answer is somewhere on this site there is a solution described, but forgive me, I don’t know where start to look for it. I’m looking forward to a solution.

Thanks in advance

Pascal
0 replies

4 posts

J
Jeepers1993
J
  • Junior Member, joined since
  • Contributed 45 posts on the community forums.
  • Started 2 threads in the forums
answered
Junior Member

Put this in a file (also edit the variables) and upload it on your server, view it once and delete it after.
Dutch translation: Zet dit in een file (pas ook de variabelen aan, gebruikersnaam & het nieuwe wachtwoord) en zet het op je server, bekijk het daarna één maal en verwijder het weer.

<?php
require_once "maincore.php";
$username = "gebruikersnaam";
$password = "wachtwoord";
$result = dbquery("UPDATE ".$db_prefix."users SET user_password = '".md5(md5($password))."' WHERE user_name = '".$user_name."' LIMIT 1");
?>
0 replies
S
stoeny
S
stoeny 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Hi,

thanks for the answer, but the problem is solved.
The link that i received by email is : '/index.php/lostpassword.php?email='
when i removed the index.php it was working fine.

What is the reason of that /index.php/ is there ?


Pascal
0 replies
J
Jeepers1993
J
  • Junior Member, joined since
  • Contributed 45 posts on the community forums.
  • Started 2 threads in the forums
answered
Junior Member

System > Settings > Site Url needs to be without /index.php
0 replies
S
stoeny
S
stoeny 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Thanks a lot !

it's working.


Pascal
0 replies

Labels

None yet

Statistics

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

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet