Menu

#393 Joomla auth not working

Major
open
nobody
None
1
2017-10-12
2017-10-12
Anonymous
No

Hello
Thanks for that great script.
I try to use Joomla integration, but I have a 500 error, here is my setup :

//JOOMLA AUTH
$auth["type"] = "Joomla";
$auth["session"] = "Joomla";
$auth['joomla']['rel_path'] = '../..';
$auth['joomla']['admin_access_levels'] = array("28", "8");
$auth['joomla']['user_access_levels'] = array("11", "23");

Thanks for your help.

Discussion

  • Campbell Morrison

    No, there's no need to change anything in Joomla.

    What's the error that you are getting? It should be in your PHP error log - normally a file called 'error_log' in your MRBS directory. If you can't find it then you can force errors to be displayed in the browser by adding the following lines to the bottom of internalconfig.inc.php:

    error_reporting(-1);
    ini_set('display_errors', '1');
    

    Remember to remove them before putting it into production.

    The most likely cause is that 'rel_path' is wrong and so MRBS can't find the relevant Joomla files. Where is your MRBS installation in relation to Joomla? Where is the MRBS file 'systemdefaults.inc.php' in relation to the Joomla file 'configuration.php'?