View Full Version : Can't log
Anonymous
04-15-2005, 05:17 AM
I've upgraded to version 1.4, and now can't log into the Admin area, when tried to recover my password said that the name is not in the database...
Any help?
Thanks
raminia
04-15-2005, 06:07 AM
watch you user name and password again. Are you running your photoblog on a unix/linux server? what version of PHP do you use?
Anonymous
04-15-2005, 06:44 AM
watch you user name and password again. Are you running your photoblog on a unix/linux server? what version of PHP do you use?
Yes, the photoblog is running on linux (apache 1.3.33 -Unix) and the PHP version is 4.3.10
What seems wired to me is that yesterday right after upgrading i had no problems to loggin, but today does not recognize the username and says is not in the database...
Thanks
Igor
raminia
04-15-2005, 07:00 AM
try clearing up the cookies and try to login again. if still exist I'll give you some script to set the pass but it should not be needed.
Anonymous
04-15-2005, 09:26 AM
try clearing up the cookies and try to login again. if still exist I'll give you some script to set the pass but it should not be needed.
dear ramnia, I did clean the cookies and still can't log, also have tried from another computer (without cookies) with the same result.
Thanks
Igor
raminia
04-15-2005, 11:53 AM
I'm doubtful about the upgrade. Did upgrade go without any error?
raminia
04-15-2005, 12:10 PM
use this code and save it as changepass.php
<?php
if ($_GET['passchange'] =="yes")
{
$new_pass = 'temp';
$new_pass = md5($new_pass );
$update = sql_query("update ".$pixelpost_db_prefix."config set password='$new_pass' where admin='".$cfgrow['admin']."'");
}
?>
and put it in the addon folder.
open your photoblog in a browser with address
your_photoblog_address.com/index.php?passchange=yes
it will set password as temp for you. login using this password and change it immediately.
Anonymous
04-15-2005, 12:11 PM
I'm doubtful about the upgrade. Did upgrade went without any error? With no errors at all, and at first I was able to loggin, now I'm still can't log into the admin area, but the rest of the blog is working fine.
Anonymous
04-15-2005, 12:47 PM
raminia, I did try with the script but with no success :(
And now the photoblog is not working at all :(
Is there a way to do a new 'clean' installation but keeping the same pictures, database, etc
Thx
raminia
04-15-2005, 12:56 PM
And now the photoblog is not working at all
you mean photoblog does not show up?! if so that's not the case!
tell me what happend exactly.
Does it says wrong username/password again?
you can re install from scratch but all comments and notes will be deleted. no need to do that!
if you have a backup from v1.3 as it was recommened in v1.4 upgrade try it. then try to upgrade again.
raminia
04-15-2005, 12:59 PM
what is the URL of your photoblog? I cannot help you without any clue!
raminia
04-15-2005, 01:06 PM
if you see a blank page then you have some typos in the addon I mentioned. make sure that you have used it correctly.
I provide you with anoter addon, this will change username and password alltogheter.
to avoid typos I will put it on my site. dload it and copy the file into the addon folder
this is the code
<?php
if ($_GET['changepass'] =="yes")
{
$new_user = 'meadmin';
$new_pass = 'temp';
$new_pass = md5($new_pass );
$update = sql_query("update ".$pixelpost_db_prefix."config set admin='".$new_user."', password='$new_pass' where admin='".$cfgrow['admin']."'");
}
?>
it will set username as meadmin and password as temp
download url: http://www.raminia.com/temp/changepass.zip
Anonymous
04-15-2005, 01:29 PM
I runned the new script and the blog 'came back' but still cannot log into the admin area...
I get this:
Database error:
Updating the new password failed.
and
The username you have mentioned is not the same as the admin user of Pixelpost.
It is not actually my blog, I'm doing this for a friend, this is his address
http://montanez.co.uk/pablo/www/index.php
if you'd like to check it yourself (if you are so kind and have time) I can give you the server username and password by email
Thx
raminia
04-15-2005, 02:23 PM
yes. I would be happy if you could help.
I tried the address and I wanted to translate it into English using google and it prompt me
Parse error: parse error, unexpected $ in /home/montanez/public_html/pablo/www/index.php on line 720
I should look into the admin/index.php
did you make any changes/modification?
raminia
04-15-2005, 04:18 PM
I didn't underestand how, but the password is changed in the way I told you. I logged on into the admin page of yours (your friend's) and changed the password. and logged out and logged in again and all was safe. I don't have your email thus I'll put this message here in case you want to contact me to have the new password;)
I think your servers was doing something like maintenance that prevents updates and not the server is free to do things...
please PM me as soon as possible. (push the PM ME button below this message!)
UPDATE:
there is an extra '>' in side your template or index.php that is shown in the main photoblog page!
raminia
04-17-2005, 07:00 AM
the problem was:
After changing the password with the above code I provided you tried to change password with password recovery thing instead of doing that in the admin panel / option section. The password recovery has a bug that will be corrected in the official release. but since then it won't work and you should read this forum if you want to correct it.
http://www.pixelpost.org/forum/viewtopic.php?t=912
That's just simple as replacing a line in admin/index.php with a correct one.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.