Jump to content

Search the Community

Showing results for tags 'login'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. Hello everyone, It seems that I managed to mess up my Login page. I tried to use a custom template for it and when changing the template, I got the warning, that the field «process» will be deleted. (I hope I remember this right …) Of course I ignored the warning and my custom template didn't work properly, so I changed back to the processwire admin template again. Since I logged out, if I try to log in, I see no form, but the message «This page has no Process assigned». Is there a way for me to get back in and fix the Login page?? Any help would be very appreciated and sorry for my carelessness … tron1000
  2. Hi, I've created a frontend login form and redirect to a site where I want to offer some PDFs for registered users. I uploaded the files to a fields called pdf_files und looped through them to show them on the site. No Problem so far, BUT: The direct URLs to the PDFs are public reachable. Is there a way to solve this problem? Many, greets, DV-JF alias, Jens.
  3. Hi, I'm new to Processwire and I have to say that after reading through your forum and some of your tutorials I have taken the plunge and installed PW and quite like the CMF/CMS that you have developed and congratulate you and your communities efforts to date. I have come up against a problem when trying to develop between multiple environments i.e. dev, staging, production. The problem I am facing is that after doing and ProcessWire 2.2.13 installation (without problems) on my dev environment and then I move the site to staging or another developers environment, when I try to login to the Administration area I get a error "Unable to generate password hash". I have tried to empty cache, both browser and physical files and still get the error message and I can't login to the control panel. My Staging environments is running Apache 2 and PHP 5.2.17 (can't upgrade to 5.3 or 5.4 due to another cms legacy issue) and my Dev environment runs on MAMP 2.0 with Apache 2 and PHP 5.2.17 also. I have checked AMP logs and can't see anything out of the ordinary there. Just wondering if I'm missing anything. Any help would be greatly appreciated. Cheers Sambo.
  4. This post is like these two but I've not been able to fix my problem reading those threads (perhaps partly because I don't fully understand some of the exchanges as they skip past things I am not familiar with). With debug turned on, when I try to login I am getting (domain and password substituted out): TEMPLATEFILE : UNABLE TO GENERATE PASSWORD HASH #0 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/PASSWORD.PHP(33): PASSWORD->HASH('MY-PASSWORD') #1 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/SESSION.PHP(310): PASSWORD->MATCHES('MY-PASSWORD') #2 [INTERNAL FUNCTION]: SESSION->___AUTHENTICATE(OBJECT(USER), 'MY-PASSWORD') #3 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(271): CALL_USER_FUNC_ARRAY(ARRAY, ARRAY) #4 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(229): WIRE->RUNHOOKS('AUTHENTICATE', ARRAY) #5 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/SESSION.PHP(262): WIRE->__CALL('AUTHENTICATE', ARRAY) #6 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/SESSION.PHP(262): SESSION->AUTHENTICATE(OBJECT(USER), 'MY-PASSWORD') #7 [INTERNAL FUNCTION]: SESSION->___LOGIN('ADMIN', 'MY-PASSWORD') #8 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(271): CALL_USER_FUNC_ARRAY(ARRAY, ARRAY) #9 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(229): WIRE->RUNHOOKS('LOGIN', ARRAY) #10 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/MODULES/PROCESS/PROCESSLOGIN/PROCESSLOGIN.MODULE(77): WIRE->__CALL('LOGIN', ARRAY) #11 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/MODULES/PROCESS/PROCESSLOGIN/PROCESSLOGIN.MODULE(77): SESSION->LOGIN('ADMIN', 'MY-PASSWORD') #12 [INTERNAL FUNCTION]: PROCESSLOGIN->___EXECUTE() #13 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(271): CALL_USER_FUNC_ARRAY(ARRAY, ARRAY) #14 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(229): WIRE->RUNHOOKS('EXECUTE', ARRAY) #15 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/PROCESSCONTROLLER.PHP(194): WIRE->__CALL('EXECUTE', ARRAY) #16 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/PROCESSCONTROLLER.PHP(194): PROCESSLOGIN->EXECUTE() #17 [INTERNAL FUNCTION]: PROCESSCONTROLLER->___EXECUTE() #18 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(271): CALL_USER_FUNC_ARRAY(ARRAY, ARRAY) #19 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(229): WIRE->RUNHOOKS('EXECUTE', ARRAY) #20 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/ADMIN.PHP(45): WIRE->__CALL('EXECUTE', ARRAY) #21 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/ADMIN.PHP(45): PROCESSCONTROLLER->EXECUTE() #22 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/SITE/TEMPLATES-ADMIN/CONTROLLER.PHP(13): REQUIRE('/VAR/WWW/VHOSTS...') #23 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/SITE/TEMPLATES/ADMIN.PHP(13): REQUIRE('/VAR/WWW/VHOSTS...') #24 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/TEMPLATEFILE.PHP(125): REQUIRE('/VAR/WWW/VHOSTS...') #25 [INTERNAL FUNCTION]: TEMPLATEFILE->___RENDER() #26 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(271): CALL_USER_FUNC_ARRAY(ARRAY, ARRAY) #27 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(229): WIRE->RUNHOOKS('RENDER', ARRAY) #28 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/MODULES/PAGERENDER.MODULE(250): WIRE->__CALL('RENDER', ARRAY) #29 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/MODULES/PAGERENDER.MODULE(250): TEMPLATEFILE->RENDER() #30 [INTERNAL FUNCTION]: PAGERENDER->___RENDERPAGE(OBJECT(HOOKEVENT)) #31 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(271): CALL_USER_FUNC_ARRAY(ARRAY, ARRAY) #32 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(229): WIRE->RUNHOOKS('RENDERPAGE', ARRAY) #33 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(293): WIRE->__CALL('RENDERPAGE', ARRAY) #34 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(293): PAGERENDER->RENDERPAGE(OBJECT(HOOKEVENT)) #35 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(229): WIRE->RUNHOOKS('RENDER', ARRAY) #36 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/MODULES/PROCESS/PROCESSPAGEVIEW.MODULE(97): WIRE->__CALL('RENDER', ARRAY) #37 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/MODULES/PROCESS/PROCESSPAGEVIEW.MODULE(97): PAGE->RENDER() #38 [INTERNAL FUNCTION]: PROCESSPAGEVIEW->___EXECUTE() #39 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(271): CALL_USER_FUNC_ARRAY(ARRAY, ARRAY) #40 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/WIRE/CORE/WIRE.PHP(229): WIRE->RUNHOOKS('EXECUTE', ARRAY) #41 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/INDEX.PHP(192): WIRE->__CALL('EXECUTE', ARRAY) #42 /VAR/WWW/VHOSTS/EXAMPLE.COM/HTTPDOCS/INDEX.PHP(192): PROCESSPAGEVIEW->EXECUTE() #43 {MAIN} So far I have: replaced /wire/ with a fresh 2.3 copy set /site/assets/cache/ plus all contents to 777 set /site/assets/sessions/ plus all contents to 777 installed a copy of PW 2.3 in a sub-domain and checked it can login OK (server environment check) and all OK I am able to update the site by updating locally and then export/importing the database. I would be grateful for any suggestions as to how I can solve this, thanks in advance for comments!
  5. I am new to PW and have been pleased with it so far, however it recently started to jump out of the admin editor back to the login screen. he Login Throttle then prevents me from logging back in for 60 seconds. This is very frustrating. I have two questions. 1. How to I change the Login Throttle so I don't have to wait 60 seconds? 2. This one is more serious. I have noticed in the error. log I get this message (over and over again) So I am assuming this is the reason the Admin editor takes me back to the Login screen. Can anybody give some guidance as to what to do? Here is the error message 2013-07-25 10:36:27 admin http://dwimar.com/estar/http404/ Error: Exception: Method Page::localUrl does not exist or is not callable in this context (in /home3/dwimarc1/public_html/estar/wire/core/Wire.php line 232) #0 /home3/dwimarc1/public_html/estar/site/templates/head.inc(116): Wire->__call('localUrl', Array) #1 /home3/dwimarc1/public_html/estar/site/templates/head.inc(116): Page->localUrl(Object(Language)) #2 /home3/dwimarc1/public_html/estar/site/templates/basic-page.php(8): include('/home3/dwimarc1...') #3 /home3/dwimarc1/public_html/estar/wire/core/TemplateFile.php(125): require('/home3/dwimarc1...') #4 /home3/dwimarc1/public_html/estar/wire/core/Wire.php(271): TemplateFile->___render() #5 /home3/dwimarc1/public_html/estar/wire/core/Wire.php(229): Wire->runHooks(Array, Array) #6 /home3/dwimarc1/public_html/estar/wire/modules/PageRender.module(250): Wire->__call('render', Array) #7 /home3/dwimarc1/public_html/estar/wire/modules/PageRender.module(250): TemplateFile->render('render', Array) #8 /home3/dwimarc1/public_html/estar/wire/core/Wire.php(271): PageRender->___r
  6. Hi guys just moved from 34sp servers to lcn.com ones and as always something had to go wrong... transferred the db and files and linked up, everything worked until I tried logining in - I can't, no errors on the front end. I was also having trouble uploding images on some of my other sites So im guessing its a permissions issue just wondering what it might be, whether i just need to do something on .htacess or whether my hosting providerings can help. I hate sys admin Please any help would be great, Ben
  7. Am seeing an error when failing with a login which I've never seen before. "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Error has been logged." If login succeeds the page redirects fine but when I input an incorrect combination, rather than an else statement I get the above error. The code I'm using is: <?php $out = "<h6>Please login below</h6>"; if($input->post->username && $input->post->pass) { $user = $sanitizer->username($input->post->username); $pass = $input->post->pass; if ($session->login($user, $pass)) { $session->redirect("/"); } else { $out = "<h6>Sorry, your login credentials were not correct.</h6>"; } } ?> <?php include("./header.inc"); ?> <div id="login" class="content"> <div class="row"> <div class="large-5 columns"> <?php echo $out; ?> <form action="./" method="post"> <label for="username">Username</label> <input type="text" name="username" autofocus> <label for="pass">Password</label> <input type="password" name="pass"> <input type="submit" value="Login" class="btn grey"> </form> </div> <!-- /.large-5 columns --> </div> <!-- /.row --> </div> <!-- /#login.content --> <?php include("./footer.inc"); ?> EDIT: Just to say there are no errors in errors.txt
  8. I'm developing a site for a client in a private directory on my web host that is running wordpress. In the clients site, I have a members section that requires a login. I'm having trouble with the logout url which when called will go to the wordpress logout screen when called. This is what I have for code: <div class="login-message">Hello <?php echo $page->title; ?>. Welcome back. <a class="logout" href="?logout=1">Logout?</a></div> I know that it will be fine in a live site but I need to show this functioning as intended for the client. Does anyone have any experience or suggestions on how to resolve this?
  9. I've been testing out the multisite feature of processwire installing via option 1 in the docs. I managed to get everything working by following the first option which requires installing a new version of PW and copying the files over to a site-mysite directory. I'm now testing out the second option which just needs the site files copies to a site- directory and importing the DB from another installation using PhpMyAdmin. The installation worked fine but when I try to login to the admin the username and password I used from my clone site are not recognised. I thought the password would pull over from the SQL database. I'm sure this is something really simple but I'm scratching my head at the moment. Any ideas?
  10. Hi all, I would like to redirect the session after successful login for a specific role. I want to keep a specific role in the front-end most of the time and upon successful login, would like to redirect them to the front page instead of the Pages section in the back-end. How would you suggest hooking into the login function and redirecting that role upon successful login? I know I'll need to use $session->redirect(). Thanks!
  11. Hi Guys, have a site in a sub-domain /blog/ and moved it out to / and the site works but the admin section wont allow me to login, wondering if this is usual and if there would be any reason for this? I've moved the .htaccess file with the site and checked the password is correct in the database. Any help would be awesome, thanks
  12. I'm trying to wrap my head around how to implement a members only section of a site where specific content could be delivered to a site visitor based on their login credentials. For example, "Sarah" logins and she sees content only specified for her and "Bob" logins and sees only content for him, and so on. And it would also need to be easy for the site administrator to easily add the login credentials, and then also easily add content for that user. I have a client who wants to be able to share videos with potential customers and they don't want the general public to see these videos. I have done a PW site that has a members only section, but everyone sees the same content since they have the same login info. I'm thinking that I would have to have the site admin be able to add a new role to a user to be able to view a page specific to them. Can this be done with PW and if so, does anyone have suggestions as to how I can implement this? Thanks!
  13. Lately I’ve been building a little script for a local journalist who manages a open Google Docs spreadsheet where Swiss journalists can enter there social media data like Twitter names etc. The script updates a Twitter list with the collected Twitter names in the spreadsheet, means it gets the document feed through Google Docs API and updates the list through Twitter API. Long story short I’ve been dealing with the oauth authentication mechanism. I started thinking about creating a module for PW to connect user accounts with oauth providers like Twitter. Could be helpful in more community focussed projects.
  14. 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...
  15. I'm getting a "Login Failed" error message after migrating from a VPS to a shared server. This is my first PW site. Could this be a file permissions problem?
  16. I'm trying to get started on user logins. I have read quite a few topics but came up against a small problem. On my header.inc file I have the following code: <ul id="login"> <?php if ($user->isLoggedin()) { ?> <li>Welcome, <?php echo $user->name; ?></li> <li><a href="<?php $session->logout(); ?>">Logout</a></li> <?php } else { ?> <li><a href="<?php echo $config->urls->admin; ?>">Sign-in</a></li> <li>Register</li> <?php } ?> </ul><!-- /#login --> My only aim at the moment is that once logged-in the site will know that the current user (session?) has certain permissions so that when they click on "member-only" pages they will have access. Currently I can get them to login via the admin backend (I may want to change this to my own custom login template) and then the page they are on shows "Welcome, username) so they are logged-in, however when I click to another page they seem to be logged-out again? Is this default behaviour? Should I be going about this in a different way? Thanks guys.
  17. Hello all. I want to link to pw admin from a web page on my site, in wich a user is already logged in. How can I pass the credentials to avoid pw firing the login page? Thanks,
  18. Hi all! I have a site with PW running just fine for some time now, but today I can't login. I put my credentials and there's no error, just the login form reloaded. I used other user's logins and the same happens. Where should I start looking to fix this? I have access to the server (obviously) but not total control over it. Maybe there's something in the server that triggered this. I've read some topics about this and there's no sessions log files to erase (as some suggested). My concern is that I haven't updated this site or changed any file via FTP for some time, just regular PW powered backend editing. I'm using PW 2.1, btw. thanks a lot!
×
×
  • Create New...