Hello,
I have a custom PHP to verify en username/password.
Until Joomla 4.5.5 it worked fine, after upgrading to Joomla 5.1.1 it throws an error (http 500) with message "Could not find class".
This is the code which worked fine until version 4.5.5
Tx for your help
Davy
I have a custom PHP to verify en username/password.
Until Joomla 4.5.5 it worked fine, after upgrading to Joomla 5.1.1 it throws an error (http 500) with message "Could not find class".
This is the code which worked fine until version 4.5.5
Code:
define( '_JEXEC', 1 ); define('JPATH_BASE', '..' ); define( 'DS', DIRECTORY_SEPARATOR ); require_once( JPATH_BASE .DS.'includes'.DS.'defines.php' ); require_once( JPATH_BASE .DS.'includes'.DS.'framework.php' ); jimport('joomla.user.helper'); $isOK = JUserHelper::verifyPassword($userpass, $hash, $userid);
Davy
Statistics: Posted by wct34 — Fri Jun 07, 2024 7:35 am