[pmwiki-users] I want to auth based on pre-existing _SESSION variable with name in it.

Petko Yotov 5ko at 5ko.fr
Sat Sep 26 20:46:43 PDT 2026


On 27/09/2026 04:34, Christopher Cox wrote:
> I get an error: PHP Warning:  Undefined global variable $_SESSION in 
> /var/www/agora/pmwiki/local/config.php on line 56

Add before the conditional:
   pm_session_start();

If you later define any of these $EnableCookieSecure, 
$EnableCookieHTTPOnly, $CookieSameSite, they should be moved before 
pm_session_start().

Petko

-- 
If you upgrade :  https://www.pmwiki.org/Upgrades




More information about the pmwiki-users mailing list