Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2018 14:25:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227771] www/dokuwiki: Add hash extension to USE_PHP
Message-ID:  <bug-227771-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227771

            Bug ID: 227771
           Summary: www/dokuwiki: Add hash extension to USE_PHP
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: delphij@FreeBSD.org
          Reporter: yasu@utahime.org
          Assignee: delphij@FreeBSD.org
             Flags: maintainer-feedback?(delphij@FreeBSD.org)

Created attachment 192808
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192808&action=
=3Dedit
patch file

* Add hash extension to USE_PHP. Without it following runtime error happens
when you login the wiki.

  Fatal error: Uncaught Error: Call to undefined function hash_equals() in
/usr/local/www/dokuwiki/inc/PassHash.class.php:94 Stack trace: #0
/usr/local/www/dokuwiki/inc/auth.php(1215): PassHash->verify_hash('XXXXXXXX=
',
'XXXXXXXX') #1 /usr/local/www/dokuwiki/lib/plugins/authplain/auth.php(69):
auth_verifyPassword('XXXXXXXX', 'XXXXXXXX') #2
/usr/local/www/dokuwiki/inc/auth.php(225):
auth_plugin_authplain->checkPass('XXXXXXXX', 'XXXXXXXX') #3
/usr/local/www/dokuwiki/inc/auth.php(177): auth_login('XXXXXXXX', 'XXXXXXXX=
',
false, false) #4 /usr/local/www/dokuwiki/inc/events.php(111):
auth_login_wrapper(Array) #5 /usr/loc
al/www/dokuwiki/inc/events.php(256): Doku_Event->trigger('auth_login_wrap..=
.',
true) #6 /usr/local/www/dokuwiki/inc/auth.php(109):
trigger_event('AUTH_LOGIN_CHEC...', Array, 'auth_login_wrap...') #7
/usr/local/www/dokuwiki/inc/init.php(215): auth_setup() #8
/usr/local/www/dokuwiki/doku.php(34): require_once('/usr/local/www/...') #9
{main} thrown in /usr/local/www/dokuwiki/inc/PassHash.class.php on line 94

* Bump PORTREVISION because of dependecy change.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227771-7788>