Jump to content


Photo

Login big problem

Login

  • Please log in to reply
6 replies to this topic

#1 buothz

buothz

    Jr. Member

  • Members
  • PipPip
  • 45 posts
  • 3

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...

#2 diogo

diogo

    Hero Member

  • Moderators
  • 1,995 posts
  • 1072

  • LocationPorto, Portugal

Posted 29 July 2012 - 02:32 PM

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/

#3 buothz

buothz

    Jr. Member

  • Members
  • PipPip
  • 45 posts
  • 3

Posted 29 July 2012 - 02:43 PM

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/

thank u but don't go...

#4 buothz

buothz

    Jr. Member

  • Members
  • PipPip
  • 45 posts
  • 3

Posted 29 July 2012 - 03:17 PM

RESOLVED: DISK QUOTA EXCETED... My low cost server...

#5 Pete

Pete

    Administrator

  • Administrators
  • 1,756 posts
  • 657

  • LocationChester, England

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 idea96

idea96

    Starter

  • Members
  • 1 posts
  • 0

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

#7 ryan

ryan

    Hero Member

  • Administrators
  • 5,771 posts
  • 3114

  • LocationAtlanta, GA

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.

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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users