6 replies to this topic
#1
Posted 29 July 2012 - 02:09 PM
Hi, after an image upload my processwire site http://www.cosascegli.it go to refresh... i've tried to enter with http://www.cosascegli.it/processwire/ with my pc with 4 browsers and with another pc but don't go!!!
I'm sure 100% that user and password are ok... what is the problem? I don't have message on screen about the login, only a fast refresh...
Can be a problem with the session/cache? I've see database and i haven't see problems... now there are a lot of problems in the site, specially in the language system...
I'm sure 100% that user and password are ok... what is the problem? I don't have message on screen about the login, only a fast refresh...
Can be a problem with the session/cache? I've see database and i haven't see problems... now there are a lot of problems in the site, specially in the language system...
#2
Posted 29 July 2012 - 02:32 PM
Try this, at least you will be able to login immediately
taken from here http://processwire.c...sword-function/
<?php $users->get("admin")->setOutputFormatting(false)->set('pass', 'yo123')->save();taken from here http://processwire.c...sword-function/
#3
Posted 29 July 2012 - 02:43 PM
thank u but don't go...Try this, at least you will be able to login immediately
<?php $users->get("admin")->setOutputFormatting(false)->set('pass', 'yo123')->save();
taken from here http://processwire.c...sword-function/
#5
Posted 29 July 2012 - 03:26 PM
Ah right, so presumably there was no space for PHP to create the session file - that would explain it.
#6
Posted 30 July 2012 - 07:23 AM
Hello Guys,
I am new to this platform. so far love the idea behind system. however i am facing a small problem relating to login any help or suggestion will be really useful...
Scenario:
I have created a seperate login page for members on my website, login works great and redirect to after login page which is perfect.... but when i logout of the page and immediately try re-login... it give me login failed error... but if i wait for couple of minutes and login, it works... i am not sure what i am missing...
any ideas...
TJ
I am new to this platform. so far love the idea behind system. however i am facing a small problem relating to login any help or suggestion will be really useful...
Scenario:
I have created a seperate login page for members on my website, login works great and redirect to after login page which is perfect.... but when i logout of the page and immediately try re-login... it give me login failed error... but if i wait for couple of minutes and login, it works... i am not sure what i am missing...
any ideas...
TJ
#7
Posted 30 July 2012 - 09:18 AM
Beyond my response from your PM, I'd also suggesting doing a redirect after the logout, just in case that's causing any issue here.
Also make sure that no data is sent before the logout and/or redirect. Cookies (sessions) and redirects happen as a result of http headers, which are sent before any output. Once output is sent, headers are no longer applicable. So you could get unusual behavior if you'd output anything before the $session->logout() call.
if($input->get->logout) {
$session->logout();
$session->redirect('./');
}
Also make sure that no data is sent before the logout and/or redirect. Cookies (sessions) and redirects happen as a result of http headers, which are sent before any output. Once output is sent, headers are no longer applicable. So you could get unusual behavior if you'd output anything before the $session->logout() call.
Also tagged with one or more of these keywords: Login
Community Support →
Getting Started →
Register users and add page same as usernameStarted by vineonardo, 14 May 2013 |
|
|
||
Community Support →
General Support →
When logging in to Admin getting unable to generate password hashStarted by alanfluff, 10 May 2013 |
|
|
||
Community Support →
General Support →
System error on login failureStarted by onjegolders, 03 May 2013 |
|
|
||
Community Support →
General Support →
Calling logout from within a wordpress installStarted by AnotherAndrew, 24 Apr 2013 |
|
|
||
Community Support →
General Support →
Multisite install login problem?Started by photoman355, 09 Apr 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













