osTicket Awesome now has Dark Mode.

New // By popular demand
English Arabic Catalan Chinese (Simplified) Croatian Czech Danish Dutch Finnish French German Greek Hebrew Indonesian Italian Japanese Korean Mongolian Norwegian Polish Portuguese Russian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese
osTicket Awesome Navigation
  • FAQs
  • Customers
    • Log In
    • Account
    • Downloads
    • Instructions
    • Forum
  • Client Demo
  • Staff Demo
  • FAQs
  • Customers
    • Log In
    • Account
    • Downloads
    • Instructions
    • Forum
  • Client Demo
  • Staff Demo

[Resolved] pwreset.php invalid path

To Parent Forum
    • November 5, 2020 at 12:39 pm #7017
      S
      pifane
      Participant

      Hello,

      I have an issue right now. User cant ask for a password reset.

      When on page http://support/support/pwreset.php , user enter their username or email, and after that they fell on a page and it said : invalid path.

      I replied on official forum too : https://forum.osticket.com/d/98528-user-password-reset-page-doesn-t-work


    • November 9, 2020 at 9:21 pm #7028
      J
      jsusoy
      Participant

      We are having the same issue. “Send Password Reset Email” to users, or the user uses the forgot password link. The user then receives the password reset email and follows the reset link and receives and “Invalid Path” error on osTicketAwesome. Any help is appreciated. This issue is blocking us from deploying osTicketAwesome to production.

    • November 9, 2020 at 10:38 pm #7031
      J
      jsusoy
      Participant

      UPDATE: I tried with original osTicket theme and the password reset URL works fine.

    • November 10, 2020 at 7:53 am #7033
      S
      pifane
      Participant

      I sent them an email couple of days ago, no answer.

      Others with the same issue?

    • November 10, 2020 at 4:45 pm #7036
      J
      jsusoy
      Participant

      The issue is the second line of include/staff/login.header.php:

      defined(‘OSTSCPINC’) or die(‘Invalid path’);

      However, defining this in pwreset.php gets rid of the “Invalid Path” error, the password reset screen is not displaying.

       

    • November 13, 2020 at 10:43 am #7050
      J
      jsusoy
      Participant

      Upon further investigation it looks like include/client/pwreset.login.php is including elements from the include/staff area for which the proper variables are not defined.

      I downloaded a previous version of the theme and copied the include/client/pwreset.login.php file from it (which is completely different) into the current theme and that fixed everything. It is now working.

    • November 18, 2020 at 11:55 am #7065
      stevland
      Keymaster

      Hey guys, 

      I’m sorry for the delayed response. 

      I have actually looked into this a couple of times and I tried unsuccessfully to figure out what the issue is. But both times I eventually became distracted by other demands and forgot to respond to this request. Sorry about that.

      I could have sworn that one of the first things that I did was to compare the unedited pwreset.login.php file from osTicket with its osTicket Awesome counterpart.

      I don’t recall seeing anything that stood out as potentially troublesome. But your tip is extremely useful, @jsusoy. Thank you for tha!

      I will take another run at this today and hopefully have a fix included in the next release (this week).

    • November 18, 2020 at 12:25 pm #7066
      S
      pifane
      Participant

      Thanks a lot.

      I will wait for your “official” fix, i dont want to make it worse 😀

    • November 19, 2020 at 7:57 am #7078
      stevland
      Keymaster

      Hi @pifane,

      As it turns out, the fix is quite easy. And I have to thank @jsusoy for helping me discover the issue.

      Please download and extract this file. And then upload the two files (pwreset.login.php and pwreset.sent.php) to include/client/, overwriting the files that are currently on your server.

      Or you can wait and upgrade to one of the new releases that will be coming out shortly to catch up with osTicket 1.14.4 and 1.15.

    • November 19, 2020 at 9:07 am #7081
      S
      pifane
      Participant

      It work fine ! Thank you very much !

You must be logged in to reply to this topic.

Topic Tagspasswordpwreset.login.phpreset
  • FAQs
  • Downloads
  • Forums
  • Contact

osTicket Awesome theme by Red e Technology

osTicket is a product of Enhancesoft