View Full Version : Just installed pixelpost but can't login
B-art
11-29-2005, 07:01 PM
Hi guys,
I just finished installing pixeppost version 1.4.2, but I can't login. I get stuck in the Admin section where I have to fill in my name and password.
When I do this, nothing happens. :(
my site is located at http://www.b-artwork.nl/pixelpost
I have another blog program running called Pivot which works fine.
http://www.b-artwork.nl/pivot
I hope you can help!
tinyblob
11-29-2005, 07:07 PM
Just to confirm, did run admin/install.php correct?
What exactly happens when you attempt to log in? Does the page reload exactly the same?
B-art
11-29-2005, 07:09 PM
The installation went fine, no problems there. Indeed, the page just reloads exactly the same.
Joe[y]
11-29-2005, 07:11 PM
are your cookies enabled?
B-art
11-29-2005, 07:14 PM
yep, cookies are enabled
raminia
11-29-2005, 07:18 PM
are you having an IIS server?
tinyblob
11-29-2005, 07:18 PM
When i attempt to log into your control panel with a random username and password i get the expected error message.
Try to log in with a made-up username and password. If you don't get an error message (i.e if the page loads blank again) then it's definitely a client side issue.
Post again once you've tried that and we'll see what happens.
B-art
11-29-2005, 07:29 PM
When I use a made-up username I get the following message: Username or Password Incorrect.
When I check with my provider this is what it says:
net3-nl-iis-37.ad.vevida.net
Which means I'm using iis I guess
tinyblob
11-29-2005, 07:34 PM
aiee. I have no idea how well IIS works with Pixelpost.
hopefully someone else will be able to lend a hand
B-art
11-29-2005, 07:43 PM
well, it is part of the requirements for PixelPost:
- Apache Webserver or Windows IIS
tinyblob
11-29-2005, 07:45 PM
yep, and it does work.
what i mean is i don't know how to make Pixelpost and IIS play nice when things go wrong :)
what versions of PHP and MySQL are you running?
B-art
11-29-2005, 07:54 PM
the current version on all vevida servers is: PHP 5.0.4 and mySQL 4.0.26 and 4.1.14.
raminia
11-29-2005, 07:57 PM
I assume IIS by default doesn't have warning/notification off and that was causing login problems in late PP versions.
B-art
11-29-2005, 08:02 PM
Well, I have no problems with the other PHP program I'm using. Hmmm, I really have no idea what the problem can be :(
B-art
12-01-2005, 04:53 PM
Isn't there anyone here who has a clue what the problem can be?
Or has had the same problem perhaps?
B-art
12-19-2005, 09:05 PM
Hi guys,
Unfortunately I'm back, because I still have the same frustrating problem. I reinstalled pixelpost again and everything went fine:
table pixelpost_config created...
table pixelpost_categories created...
table pixelpost_pixelpost created...
table pixelpost_comments created...
table pixelpost_visitors created...
table pixelpost_config populated...
Remember your data:
User: *******
Pass: *******
table pixelpost_version created...
table pixelpost_catassoc created...
Added timezone support...
Added customizable category links support...
Added HTML notification email support...
Added email in comments support...
Longer name field in comments support...
Longer url field in comments support...
Added indexes to pixelpost_config...
Added indexes to pixelpost_categories
Added indexes to pixelpost_comments
Added indexes to pixelpost_pixelpost
Added indexes to pixelpost_visitors
Updated indexes...
table pixelpost_version updated to 1.4.1 ...
The tables are all set.
Done.
Let's see if we can save images in the folder images:
» Images folder is writable, which is a good thing.
Let's see if we can save thumbnails in the folder thumbnails:
» Thumbnails folder is writable.
Next thing you want to do is login to the admin interface and get started posting.
PIXELPOST does not come with any warranties. I sure hope it'll work great for you and give you a worryfree great photoblog.
But I still get stuck in the admin interface. I talked to my provider and he said something about my password being placed in a MD5 hash and this might be the problem... Does anyone of you know more about this?
raminia
12-19-2005, 09:56 PM
md5 hash is not the problem. is the way pp saves your password for security.
Try to add:
error_reporting(0);
to /admin/index.php in next line just after <?
B-art
12-21-2005, 07:21 PM
Thx for the help. Unfortunately this doesn't help either. The page just reloads. :confused:
Do you see errors when you try this?
error_reporting(2047);
If there are errors, please show them to us.
B-art
12-21-2005, 07:57 PM
This is what it says:
Notice: Undefined index: x in d:\www\b-artwork.nl\www\pixelpost\includes\12cropimageinc.p hp on line 30
Notice: Undefined index: x in d:\www\b-artwork.nl\www\pixelpost\admin\index.php on line 63
Notice: Undefined index: x in d:\www\b-artwork.nl\www\pixelpost\admin\index.php on line 122
Notice: Undefined index: x in d:\www\b-artwork.nl\www\pixelpost\admin\index.php on line 134
Notice: Undefined index: x in d:\www\b-artwork.nl\www\pixelpost\includes\12cropimageincsc ripts.php on line 30
Notice: Undefined index: view in d:\www\b-artwork.nl\www\pixelpost\includes\12cropimageincsc ripts.php on line 30
and:
Notice: Undefined variable: loginmessage in d:\www\b-artwork.nl\www\pixelpost\admin\index.php on line 212
So, the installation went great. But when you are try to log in your are kicked back to the login screen?
Does it give an error? Like "wrong password"?
B-art
12-21-2005, 08:21 PM
nope no error, just reloads the admin index screen
When you don't see any errors like "Wrong password and username" try the follow thing.
Go to /admin/index.php and go to line 122. You will find there this script.
if($_GET['x'] == "login") {
$cfgrow_password = $cfgrow['password'];
if(($cfgrow['admin'] == $_POST['user']) AND ($cfgrow_password == md5($_POST['password']))) {
// login is valid, set cookie
if (setcookie("pixelpost_admin",$cfgrow_password,time() +60*60*60*60))
header("Location:index.php");
unset($login);
} else { $loginmessage = "Username or Password Incorrect.<br />
<a href='#' onclick=\"flip('askforpass'); return false;\">Forgot password?</a><p />
"; }
} // if (login = yes) end
if($_GET['x'] == "logout") {
setcookie("pixelpost_admin","nope",time() -60);
header("Location:index.php");
}
Change this script in this script.
if($_GET['x'] == "login") {
$cfgrow_password = $cfgrow['password'];
if(($cfgrow['admin'] == $_POST['user']) AND ($cfgrow_password == md5($_POST['password']))) {
// login is valid, set cookie
if (setcookie("pixelpost_admin",$cfgrow_password,time() +60*60*60*60, "/pixelpost/"))
header("Location:index.php");
unset($login);
} else { $loginmessage = "Username or Password Incorrect.<br />
<a href='#' onclick=\"flip('askforpass'); return false;\">Forgot password?</a><p />
"; }
} // if (login = yes) end
if($_GET['x'] == "logout") {
setcookie("pixelpost_admin","nope",time() -60, "/pixelpost/");
header("Location:index.php");
}
I change the lines with "setcookie". Remove all your cookies and startup your browser again.
Try it and tell me what happens.
If that's not working try "/pixelpost/admin/" instand of "/pixelpost/" on the lines with "setcookie".
if($_GET['x'] == "login") {
$cfgrow_password = $cfgrow['password'];
if(($cfgrow['admin'] == $_POST['user']) AND ($cfgrow_password == md5($_POST['password']))) {
// login is valid, set cookie
if (setcookie("pixelpost_admin",$cfgrow_password,time() +60*60*60*60, "/pixelpost/admin/"))
header("Location:index.php");
unset($login);
} else { $loginmessage = "Username or Password Incorrect.<br />
<a href='#' onclick=\"flip('askforpass'); return false;\">Forgot password?</a><p />
"; }
} // if (login = yes) end
if($_GET['x'] == "logout") {
setcookie("pixelpost_admin","nope",time() -60, "/pixelpost/admin/");
header("Location:index.php");
}
B-art
12-21-2005, 09:38 PM
Thx for all the help, but unfortunately (and very frustrating) the index page still reloads without effect :(
You must talk with your ISP about switching off PHP's warning display - thats all you need and what solves problem.
One more thing. If you use Firefox, can you search for the cookie with the name "pixelpost_admin". If it's not there you have a browser problem.
When you find it can you tell me the path of the cookie? I think the cookie is put in a "directory" we don't know.
To get the same "error" I placed my cookie in a total different place than pixelpost is searching. The effect was the same as you discribed.
You can also try Pixelpost 1.5 this version is not working with cookies, but with sessions.
B-art
12-22-2005, 06:43 PM
Well I'll be damned! 1.5 actually works for me!!! :) :)
I'll just wait for the stable version then.
http://www.b-artwork.nl/pixelpost
thx a bunch guys!!
Krimboss
10-04-2006, 10:05 PM
I am facing a similar problem, I have installed PixelPost 1.5 on IIS, when I try to log in, I am redirected to the same login page again (although username and password are correct).
However, when I check the "Log me on automatically each visit" checkbox, I log in properly with no problems. Its worth mentioning here that it does NOT log me on automatically the next visit!
Note: Cookies are enabled on my machine.
It must be a problem of supporting cookies/sessions on IIS (if they are both at least enabled?).
Hi,
I've just been trying to log into my pixelpost site and I'm running into the same issue.
First I couldn't remember my admin password (long holiday :) ) so that kept me busy for a while ;)
After that I used the password_recovery.php , and it reported back that the password had been changed which is what I wanted.
The problem is now that I could not get past the admin login screen. When I enter the right username/password the page would just 'refresh' .. no errors and no other notifications.
However when I ticked the "Log me on automatically each visit" checkbox, I can log in properly with no problems.
My setup:
- Apple OSX 10.4 (basically FreeBSD server)
- Pixelpost 1.5
- PHP-version 4.4.2 (Pixelpost's min requirement: PHP version: 4.3.0 )
- MySQL version 4.1.12 (Pixelpost's min requirement: MySQL: 3.23.58 )
- GD-lib bundled (2.0.28 compatible) with JPEG support
- File Uploads to pixelpost site are possible.
- Server Software Apache/2.0.55 (Unix) PHP/4.4.2 DAV/2 mod_ssl/2.0.55
- OpenSSL/0.9.7i
- EXIF Pixelpost is using exifer v1.5 for EXIF-information.
Also, this worked perfectly for me before my holiday. Never had a problem
I will be updating everything to the latest releases soon but I just thought I'd also mention here that I ran into this problem.
Ray
What about sessions as it looks like issue related to it. Did you set directory in which PHP should save its session data?
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.