4images Forum & Community
4images Help / Hilfe => FAQ, Tips => Topic started by: Jayeth33 on September 12, 2002, 11:00:49 PM
-
Is there anyway to retrive a lost admin password?
I set up a local copy, but dont remember the pass word that the admin user has, as it was several days/weeks ago.
any help retriving the lost password or do i just need to reinstall
jaye
-
there is a link in enduser section click on "Forgot password".
if you don't have a mail server on your local PC..
phpmysqladmin:
put this into your 4image_users / user_password field where is your admin username
21232f297a57a5a743894a0e4a801fc3
this is for password: admin
-
Hello,
I have a similar problem. My gallery had been hacked - I then updated to the latest version of 4images (1.7.4). I was then able to view my gallery again.
The problem is, I have missplaced my user/pass for the admin section. I have entered phpmysqladmin but I cannot find this field: 21232f297a57a5a743894a0e4a801fc3 nor can I find the username: admin when I browse the records.
Any help would be greatly appreciated.
Thanks!
-
... please read Nickys post carefully ... !
... and realise it so ...
-
The problem is that there is no "admin" username anymore.
I have added user_name - admin and user_password: 21232f297a57a5a743894a0e4a801fc3 but it still doesn't let me enter Admin section.
-
... please read Nickys post carefully ... !
put this into your 4image_users / user_password field where is your admin username
21232f297a57a5a743894a0e4a801fc3
... I think you know your admin-username ... and I think it is not admin ... admin is your new password ... !
-
The admin username was in fact "admin" but its not there anymore. When I added it via phpmyadmin it still will not let me access the admin section.
-
Thanks to the help - it worked! :D
Much appreciated.
M
-
Ok so i read this thread but am still lost because i need it broken down to be like i'm five years old. so deep breath...here goes.
my web designer left me high and dry with a site that if i have issues with its very difficult to resolve.
after having to change all my passwords for all the admin areas of my site and email accts i am unable to login to the members admin area of my site which uses 4images.
i do not know how to do this, i am not a site designer, but my site was designed so i could update it myself. i guess it was not anticipated that i may run into issues like my username and password.
i can login to the preview admin, but the members admin username and password is not working.
can someone please tell me, step by step, how i would go about fixing this issue so i can update my site, without making a mess of things. can this task me done by someone with no experience with web development but has some common sense. i would be so grateful for a response, i really need to get into my site!
Akynos
-
hi..
try this..
create file with name pw.php and put this into this file
<?php
define('ROOT_PATH', './');
include(ROOT_PATH.'config.php');
include(ROOT_PATH.'includes/db_mysql.php');
include(ROOT_PATH.'includes/constants.php');
include(ROOT_PATH.'includes/functions.php');
$site_db = new Db($db_host, $db_user, $db_password, $db_name);
$sql = "UPDATE ".USERS_TABLE." SET user_password = '21232f297a57a5a743894a0e4a801fc3' WHERE user_level =".ADMIN."";
$site_db->query($sql);
$sql2 = "SELECT user_name FROM ".USERS_TABLE." WHERE user_level =".ADMIN."";
$result = $site_db->query($sql2);
while ($user_row = $site_db->fetch_array($result)) {
echo "Password changed for user: <b>".format_text($user_row['user_name'], 2)."</b><br />\n";
}
?>
save it.
upload file pw.php via ftp there where your config.php is (root of 4images folder).
now start you webbrowser.
call this url > http://yoursite.com/your4imagesfolder/pw.php
you will see a site with administrator usernames where password was changed
:!: :!: :arrow: :arrow: Delete file pw.php from server.
note:
for ALL administrators on your 4images site password will be changend to password admin
try now to login to administrator area
-
nicky thank u so much for the quick response. however there is one issue i have, i have no idea where i am creating this. let me take a guess from past experience, i can create this in wordpad, then upload it correct? now when i upload it to config php? where exactly is that folder or am i misunderstanding something here? i going to look for that, and i pray this works, tho i'm sure it will! forgive my ignorance but i seriously have no clue. i need to know all those details so i can try and fix this problem which i've been having for months. thank u so much!
Akynos
-
example of a php editor > http://www.pspad.com/en/download.php (download it)
and create the pw.php file
or take another one > http://www.google.at/search?hl=en&q=php+free+editor&btnG=Google-Suche&meta=
send me your 4images url over Private Message.
-
Hello;
@Nicky, very nice job!
@akynos, please trust in Nicky. He will help you a lot!
Hope you'll get rid of your problem.
-
am totally listening to nicky and so thankful for the help!
-A
-
Hello;
@Nicky, very nice job!
@akynos, please trust in Nicky. He will help you a lot!
Hope you'll get rid of your problem.
:)
Thx manurom :oops:
-
@Nicky
... dieser Thread sollte nach FAQ, Tipps verschoben werden ...
... und die alte Überschrift "FAQ, Tips" könnte man auch der neuen Rechtschreibung anpassen ...
... wie gesagt ... könnte man ... ;)