nickmomrik
New member
After setting up the auth via WordPress I was getting these errors:
I also kept getting logged out of DaDaBIK.
By adding
to the top of
the problems seem to be resolved (so far).
Hadn't been able to determine if using the P2 theme, which does a lot of background AJAX polling, has been part of the problem yet. The reason I think it might be part of the issue is because I was also getting the PHP warnings on some of the
loads.
WordPress: 6.3
DaDaBIK: 11.10-Elba enterprise
PHP Version: 7.4.33
mysql version: 5.7.42-0ubuntu0.18.04.1
Web server: Apache/2.4.57 (Ubuntu)
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
By the way, I noticed in all of the documentation and code that the p in WordPress isn't properly capitalized. ;-)
Code:
PHP Warning: session_name(): Cannot change session name when headers already sent in ...
PHP Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in ...
PHP Warning: session_set_cookie_params(): Cannot change session cookie parameters when headers already sent ...
PHP Warning: session_start(): Cannot start session when headers already sent in ...
By adding
Code:
if ( defined( 'DOING_CRON' ) && DOING_CRON ) {
return;
}
Code:
set_user_session()
Hadn't been able to determine if using the P2 theme, which does a lot of background AJAX polling, has been part of the problem yet. The reason I think it might be part of the issue is because I was also getting the PHP warnings on some of the
Code:
wp-admin/admin-ajax.php
WordPress: 6.3
DaDaBIK: 11.10-Elba enterprise
PHP Version: 7.4.33
mysql version: 5.7.42-0ubuntu0.18.04.1
Web server: Apache/2.4.57 (Ubuntu)
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
By the way, I noticed in all of the documentation and code that the p in WordPress isn't properly capitalized. ;-)
Last edited: