Login impossible after upgrade (1.3.1 > 1.4.5)

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Login impossible after upgrade (1.3.1 > 1.4.5)

Post by cyppher.nl »

Hi all,

After upgrading the phpwcms installation for one of my clients, we're not able to login anymore. I've done some research on this forum, however none of the (english written) solutions work.

I've upgraded v 1.3.1 to latest from svn (which is I believe v 1.4.5) through setup script. Did all the sql-updates, all went ok.

When I try to login (login.php) and enter my credentials, the page is redirected back to login.php, no backend phpwcms.php screen. The user is actually logged in (logged in phpwcms_userlog table) and when I enter phpwcms.php?do=articles I can see the backend screen. However 'home' link in screen doesn't work anymore (browser reloads current page).

The client paid me for upgrading, but now can't use his site.
I'm not sure where to start solving, any hints?

Thanks for any suggestions!
How do you do? And how do you do your wife?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Login impossible after upgrade (1.3.1 > 1.4.5)

Post by flip-flop »

Hi,

- be shure that all files are uploaded right.
- any external module in use?

Knut
Last edited by flip-flop on Wed 17. Mar 2010, 22:04, edited 2 times in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Re: Login impossible after upgrade (1.3.1 > 1.4.5)

Post by cyppher.nl »

No external modules in use, it's a pretty straight-forward phpwcms based site.
I'll double-check files with my favorite **** tool (Beyond Compare), thanks for the tip.
How do you do? And how do you do your wife?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Login impossible after upgrade (1.3.1 > 1.4.5)

Post by flip-flop »

Load it up again.

Such a big step, I would make only with a parallel installation.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Re: Login impossible after upgrade (1.3.1 > 1.4.5)

Post by cyppher.nl »

he guys

after a fresh new install of phpwcms 1.4.5 in a new folder on the same server, the login.php still redirects to login.php after filling in the right credentials.

Why is login.php redirecting to login.php in 1.4.5? Older releases (previously had 1.3.1 installed) had no login issues.

It's a fresh install, no content, no external stuff, just phpwcms "out of the box" install.
I know that hosting provider has PHP running on Windows IIS, but should be no issue, right??

Server config: http://www.mokumbootverhuur.nl/cms/incl ... hpinfo.php

Any hints?

thanks
How do you do? And how do you do your wife?
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Re: Login impossible after upgrade (1.3.1 > 1.4.5)

Post by cyppher.nl »

Login using Safari (Mac OS) gives me this error:

PHP Warning: implode() [function.implode]: Invalid arguments passed in D:\www\mokumbootverhuur.nl\www\cms\include\inc_lib\backend.functions.inc.php on line 290

Seems like phpwcms version checking is failing. Any thoughts on this?

Thanks!
How do you do? And how do you do your wife?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Login impossible after upgrade (1.3.1 > 1.4.5)

Post by flip-flop »

Change your server from IIS to apache. Everything will be fine.
Or contact Oliver, he seems to know the trick.

MS could never produce a functioning webserver/applications.
And they will not succeed in the future.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Re: Login impossible after upgrade (1.3.1 > 1.4.5)

Post by cyppher.nl »

As this site is hosted on an external hosting provider, we're not able to change their server configuration from IIS to Apache...

@Oliver: Can you provide me a few instructions for the hosting provider to solve this issue? I don't want to hack the phpwcms core in order to get this working. I believe the hosting settings could be finetuned, however a change from IIS to Apache is not possible.

Thanks!
How do you do? And how do you do your wife?
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Login impossible after upgrade (1.3.1 > 1.4.5)

Post by Oliver Georgi »

disable version check in config or merge with updated backend.functions.inc.php.
http://code.google.com/p/phpwcms/source ... hp&old=395
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Re: Login impossible after upgrade (1.3.1 > 1.4.5)

Post by cyppher.nl »

@Oliver, Thanks that solves the login issue.

So login.php redirected me to login.php (after filling in the right credentials) in phpwcms 1.4.5 on a Windows IIS based hosting provider.
Solution is to disable version checking in config or updating backend.functions.inc.php from latest at svn repos.
How do you do? And how do you do your wife?
Post Reply