View Full Version : Install, Setup all fine - but no Login after first Log-Out
First of all:
Thanks a lot folks, for working on this nice (&nice looking) Photoblog-project!
... here's the problem:
I installed PP 1.7 - everything runs smooth. I install the autoresize-Addon, and the lightbox-link-to-fullsize-image-Addon. Then I upload some images ... all fine.
THEN: I log out for the first time ................................. and that's it then. I type name & password, ... I can't login no more.
I still can view the Blog ( http://www.magnolia.ch/Ruedi-Durscher/ ) . But when I try to login, I can wait for ever ... I get a white screen, when I'm lucky... mostly nothing happens.
--> I installed the whole thing 3 (!!) times now (cleared the mysql-database, the browser Caches, restarted my router, tried different browsers ... same fun each time.
Server: Apache Version Apache/1.3.34 (Unix) (Gentoo) mod_ssl/2.8.25 OpenSSL/0.9.7e
PHP: PHP Version 4.4.2-pl6-gentoo
MySQL: Client API version 4.0.27
Session Support enabled
01-13-2008, 09:10 PM
When logging in, try selecting the "remember me" checkbox. Does this make any difference?
well, it helped once. but after I logged out again, next login-attempt: nothing happens, even with this remember-me-box checked.
Seems like the sessions are not being closed, when you leave, or so ... because: if I wait for about 20min till I try to Login again, it works ... but I don't think that this is a very effective way to work with this ....
PS: Even the browser hangs itself up on this login-attempt. I have to restart it (or use another browser) to even reach the Blog (not the Admin-Section) again. Maybe something within the cookie? I just don't know ...
01-14-2008, 08:22 AM
please open your admin/index.php and look out for this line 42:
change it to
and upload the changed version to your server.
Then play your login-logout game again, now an error message should be shown instead of the blank page. Tell us the error message, I guess it is an Addon which is not compatible to v1.7
Hy, thanks for replying. Here's the message I get, when I do the changes as you said, and just acces the admin/index.php-page (even without login in):
[ I edited this, because as I ot told from the PP-Crew: Notices don't make pages unusable, and there only were notices showing up here ...]
01-14-2008, 10:34 AM
Don't care about notices, they won't break your page.
Please try to log in as you did before and look out for an error message
ok, there is no error, when I login (just another notice ...), but here's what I get, when I log-out:
Warning: Cannot modify header information - headers already sent by (output started at /home/magnolia.ch/htdocs/Ruedi-Durscher/admin/index.php:149) in /home/magnolia.ch/htdocs/Ruedi-Durscher/admin/index.php on line 187
Warning: Cannot modify header information - headers already sent by (output started at /home/magnolia.ch/htdocs/Ruedi-Durscher/admin/index.php:149) in /home/magnolia.ch/htdocs/Ruedi-Durscher/admin/index.php on line 188
Warning: Cannot modify header information - headers already sent by (output started at /home/magnolia.ch/htdocs/Ruedi-Durscher/admin/index.php:149) in /home/magnolia.ch/htdocs/Ruedi-Durscher/admin/index.php on line 189
... seemslike there's a problem with the Cookie?
01-14-2008, 11:05 AM
so now you could log in?
It would be interesting to see the error which comes up with a failed login
The warnings are not so dangerous too... I guess they come from the fact that there is an error reported before the header redirect. Or did you change something in the admin/index.php besides the line I told you?
Could you confirm that there is no empty line and no spaces before the <?php in the beginning? (Best viewed with a hex-editor)
Do you allow to accept Cookies for your blog? If not, this should not cause an error but who knows...
no spaces, or other alterations, than what you told me to do in /admin/index.php
but hey, ... this starts to be too much for me:
when I put in
only then, I can easily login and logout and login again
when I take it out again and put in:
I can't login anymore
cyber-voodoo, oh my aking head
PS: And if login fails: there is no error-message at all, just a white page <-- this is when "error_reporting(0);" is in action
01-14-2008, 11:59 AM
Plz change it to error_reporting(E_ALL ^ E_NOTICE) and try again.
Did you check your Cookie settings?
yes, cookies are enabled in my browser.
changed /admin/index.php as you said, now: no more login
... I don't know so much about php, but I installed about a thousand times wordpress-blogs, phpbb's and so forth, and what comes to my mind is: that by setting "error_reporting(E_ALL);" the PP-blog manages to get the information sent in the right order, while without it, you get the error "headers already sent by ..." - well just a thought, ... and no clue how or where to fix it
01-14-2008, 12:25 PM
just a "thinking into the blue":
try this one:
naaaaah, I don't really wanna go there:
when I add
as you said, I get redirected to "admin/install.php?view=db_fix", asking me to re-enter all information abou my db and stuff. this equals another re-install of PP 1.7. And I don't wanna install it a fourth time, really
now I get this, even when I just try to look at my Photoblog:
Connect DB Error: Too many connections Cause #2
(error reporting is set to "0" again)
I'm quite sure:
When attempting to login to my PP-Admin-Area, PP starts a session, allthough I can't see the Admin-Interface. So when I restart the Browser, killed the cookies and all, try to do a log-In again, another Session gets started, and another and another, and in the end there are "Too many connections".
I think this is what happens, because: Just now (after x failed attempts to login, and browser-restarts, this error message and all) I tried to access the Admin-Area again, by using the direct URL, and I got connected, even without havin to enter a login .... now that seems so utterly wrong to me.
ah darned ... I really hope I can get PP to work, since the theme "horizon" I use is a very beautifull template for a photoblog ... :(
01-14-2008, 12:34 PM
ok ok, was just an idea...
sometimes it helps to stop the php machine and start it again (just like an old car)
01-14-2008, 12:36 PM
Connect DB Error: Too many connections Cause #2
So all you have to do now is to wait... Sorry
np, I'm very thankfull for your help ;)
I just can't see any solution ahead right now. the page is loading again - but still the same problem as at the start of the thread
Ok, thanks for your help. I'l uninstall it now. Try again at a later time of the project
01-17-2008, 02:12 PM
If you want, private message me with the following details and i'll have a look myself.
FTP server/username/password and database username/password/hostname and I'll setup a temporary installation and run through some code changes to see what i can do to make things happen :)
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.