New Server / Admin Login stop working ... (Researched!!!)

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
kennydphips
Posts: 15
Joined: Tue 5. Oct 2010, 15:05

New Server / Admin Login stop working ... (Researched!!!)

Post by kennydphips »

All, how do? Keen to see if the community can help here.
Firstly, let me give some respect to these articles that Oliver and others have given some direction on:

- http://forum.phpwcms.org/viewtopic.php? ... dmin+login
- http://forum.phpwcms.org/viewtopic.php? ... dmin+login
- http://forum.phpwcms.org/viewtopic.php? ... de#p123318

I have read through and have work through the suggestions, alas still having a few issues and alas, have some 3 sites running phpWCMS, a great product! :D

So ... lets use my own site as an example, www.kennyphipps.com. This was moved to a new server recently and the admin login stopped working.
I understand this is due to some differences in the way php handles the password in the code (correct me if I am wrong!) and so tried to database edits suggested via phpMyAdmin. I even created another admin user to test.

I then created a sub-domain, dev.kennyphipps.com (limited content moved across, but the DB is a complete export!), copying the database contents via .sql export/import, and uploaded the latest release (1.4.5) and ran an upgrade against the copied database, alas this still can't login.

QUESTIONS:
- The original database had been upgraded before, alas as I can't login, I can't tell you the current version, is this obvious anywhere else?
- When running the upgrade, the SQL updates to be run talk about 1.4 > v1.5, but the latest version is 1.4.5, and so not sure how this relates to what version the database should be? (I have gone with the latest being a good rule of thumb?)
- I note in the one of the above articles, that replacing some of the login (and include) files is suggested, however as I am using the latest, do I still need to?
- IMPORTANT: ON the latest code: the login redirects to the login screen, but DOES NOT report "Login Errors" as before. [Clue? Authentication successful? Redirect incorrect?)

Appreciate any and all help.
Regards,
Kenny :D
Last edited by kennydphips on Mon 11. Oct 2010, 14:00, edited 2 times in total.
-------
Kenny Phipps | http://www.kennyphipps.com
kennydphips
Posts: 15
Joined: Tue 5. Oct 2010, 15:05

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by kennydphips »

Futher info: previous server version info: PHP Version 5.2.9 (from phpinfo.php)
New server info: PHP Version 5.1.6 (from phpinfo.php)

Are there differences in the way phpWCMS handles authentication between these versions?
-------
Kenny Phipps | http://www.kennyphipps.com
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by update »

Sounds as if you where missing an update step...
Which server: linux, windows?
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
kennydphips
Posts: 15
Joined: Tue 5. Oct 2010, 15:05

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by kennydphips »

... and I have tried to move the login.php file between installs as there was mentioned that this file can redirect in correctly.
Alas, no difference. :(
-------
Kenny Phipps | http://www.kennyphipps.com
kennydphips
Posts: 15
Joined: Tue 5. Oct 2010, 15:05

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by kennydphips »

Hey Claus, hosted on Linux, you need versions?
Do you mean an upgrade step in phpWCMS, or during the move in servers?
-------
Kenny Phipps | http://www.kennyphipps.com
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by update »

If you did move everything this should be fine. When upgrading you have to go through every step, even if there isn't a v1.5 yet.
Did you really copy every new file replacing the old ones?
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by update »

It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
kennydphips
Posts: 15
Joined: Tue 5. Oct 2010, 15:05

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by kennydphips »

The instances we moved had not been upgraded in a while as it was quite difficult last time maybe 18 months ago - likely due (from memory) to the age of the version installed and the number of differences between the installed version and the version to be upgraded to.

Now, the files were copied "down" via FTP and then "up" via FTP and this did complete without error, and we did run all of the .sql updates, yes.
-------
Kenny Phipps | http://www.kennyphipps.com
kennydphips
Posts: 15
Joined: Tue 5. Oct 2010, 15:05

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by kennydphips »

I ran through the "Admin account in database" article as well, and actually have an additional admin account in there now too.
What I notice is that when I try and login, there is no text advising of login errors, just the regualr admin login page ... suggesting that I have been successfully authenticated, but not redirected.
-------
Kenny Phipps | http://www.kennyphipps.com
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by update »

All files in root where copied too?
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
kennydphips
Posts: 15
Joined: Tue 5. Oct 2010, 15:05

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by kennydphips »

All file that were in the httpdocs folder, yes! Not sure there has ever been files placed outside this, right?
A straight "Select All", <DOWNLOAD>, Select All, <UPLOAD>, yes. Hence my confusion :?
-------
Kenny Phipps | http://www.kennyphipps.com
kennydphips
Posts: 15
Joined: Tue 5. Oct 2010, 15:05

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by kennydphips »

Do you know if there is somewhere I can look that will tell me the current installed version?
I ask as not being able to log in, I can tell :?
-------
Kenny Phipps | http://www.kennyphipps.com
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by flip-flop »

>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
kennydphips
Posts: 15
Joined: Tue 5. Oct 2010, 15:05

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by kennydphips »

Fantastic, I will cycle through and determine the versions, this will give us - me - some better info to ask for help on.
Cheers Flip-Flop
-------
Kenny Phipps | http://www.kennyphipps.com
kennydphips
Posts: 15
Joined: Tue 5. Oct 2010, 15:05

Re: New Server / Admin Login stop working ... (Researched!!!)

Post by kennydphips »

Guys, do you think if I move the sites back to the older servers, run the upgrades again that I would solve this issue?
-------
Kenny Phipps | http://www.kennyphipps.com
Post Reply