WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

#1 24.02.2021 18:35:40

freerk55
Member

Not able to ad a new group or change anything in an existing group

Hello
I can add new users but a new group is impossible.
I get a white screen, and after renewing the page northing has happened

Does anyone know what this soused this behaviour?

Freerk Jongsma

Offline

#2 24.02.2021 18:40:21

florian
Administrator

Re: Not able to ad a new group or change anything in an existing group

PHP version, WBCE version?
Any entries in the error log?

Online

#3 24.02.2021 18:43:41

freerk55
Member

Re: Not able to ad a new group or change anything in an existing group

I give you the last lines of the error log
2021-02-24T16:38:45+00:00 [Warning] /framework/wsession.php:[56] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T16:38:45+00:00 [Warning] /framework/wsession.php:[60] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T16:38:45+00:00 [Warning] /framework/wsession.php:[79] from /framework/initialize.php:[215] WSession::Start "session_name(): Cannot change session name when session is active"
2021-02-24T16:38:45+00:00 [Warning] /framework/wsession.php:[80] from /framework/initialize.php:[215] WSession::Start "session_set_cookie_params(): Cannot change session cookie parameters when session is active"
2021-02-24T16:38:45+00:00 [Notice] /framework/wsession.php:[82] from /framework/initialize.php:[215] WSession::Start "session_start(): A session had already been started - ignoring"
2021-02-24T16:39:02+00:00 [Warning] /framework/dbsession.php:[76] from /framework/initialize.php:[212] DbSession->__construct "session_set_save_handler(): Cannot change save handler when session is active"
2021-02-24T16:39:02+00:00 [Warning] /framework/wsession.php:[42] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T16:39:02+00:00 [Warning] /framework/wsession.php:[47] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T16:39:02+00:00 [Warning] /framework/wsession.php:[56] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T16:39:02+00:00 [Warning] /framework/wsession.php:[60] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T16:39:02+00:00 [Warning] /framework/wsession.php:[79] from /framework/initialize.php:[215] WSession::Start "session_name(): Cannot change session name when session is active"
2021-02-24T16:39:02+00:00 [Warning] /framework/wsession.php:[80] from /framework/initialize.php:[215] WSession::Start "session_set_cookie_params(): Cannot change session cookie parameters when session is active"
2021-02-24T16:39:02+00:00 [Notice] /framework/wsession.php:[82] from /framework/initialize.php:[215] WSession::Start "session_start(): A session had already been started - ignoring"
2021-02-24T16:39:02+00:00 [Exception] There was an unknown exception: syntax error, unexpected ',' in line (23) of /modules/globalcomments/info.php
2021-02-24T16:39:08+00:00 [Warning] /framework/dbsession.php:[76] from /framework/initialize.php:[212] DbSession->__construct "session_set_save_handler(): Cannot change save handler when session is active"
2021-02-24T16:39:08+00:00 [Warning] /framework/wsession.php:[42] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T16:39:08+00:00 [Warning] /framework/wsession.php:[47] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T16:39:08+00:00 [Warning] /framework/wsession.php:[56] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T16:39:08+00:00 [Warning] /framework/wsession.php:[60] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T16:39:08+00:00 [Warning] /framework/wsession.php:[79] from /framework/initialize.php:[215] WSession::Start "session_name(): Cannot change session name when session is active"
2021-02-24T16:39:08+00:00 [Warning] /framework/wsession.php:[80] from /framework/initialize.php:[215] WSession::Start "session_set_cookie_params(): Cannot change session cookie parameters when session is active"
2021-02-24T16:39:08+00:00 [Notice] /framework/wsession.php:[82] from /framework/initialize.php:[215] WSession::Start "session_start(): A session had already been started - ignoring"

WBCE Version: 1.4.4
Tag: 1.4.4
PHP Version: 7.3.23

I see that there is something wrong :
2021-02-24T16:39:02+00:00 [Exception] There was an unknown exception: syntax error, unexpected ',' in line (23) of /modules/globalcomments/info.php

Offline

#4 24.02.2021 19:00:57

florian
Administrator

Re: Not able to ad a new group or change anything in an existing group

I see that there is something wrong :
2021-02-24T16:39:02+00:00 [Exception] There was an unknown exception: syntax error, unexpected ',' in line (23) of /modules/globalcomments/info.php

This causes actually the issue.
Have a look at the file mentioned in the exception (/modules/globalcomments/info.php), the file should look like this

<?php
/**
  This module is free software. You can redistribute it and/or modify it under
  the terms of the GNU General Public License - version 2 or later, as published
  by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html.

  This module is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of 
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
  GNU General Public License for more details.

 -------------------------------------------------------------------------------
**/

/* -------------------------------------------------------- */
// Must include code to stop this file being accessed directly
if(defined('WB_PATH') == false) { die('Illegale file access /'.basename(__DIR__).'/'.basename(__FILE__).''); }
/* -------------------------------------------------------- */


$module_directory 	= 'globalcomments';
$module_name 		= 'GlobalComments';
$module_function 	= 'tool';
$module_version 	= '0.6.2';
$module_platform 	= '1.0';	

$module_author 		= 'Chio Maisriml, beesign.com';
$module_license 	= 'GNU General Public License';
$module_description     = 'Manages and displays comments anywhere you want. ';

?>

Last edited by florian (24.02.2021 19:27:03)

Online

#5 24.02.2021 19:27:27

florian
Administrator

Re: Not able to ad a new group or change anything in an existing group

Sorry, wrong version posted. Now it's corrected.

Online

#6 24.02.2021 19:31:43

florian
Administrator

Re: Not able to ad a new group or change anything in an existing group

Btw, the long list of notices/warnings have no correlation to the group editing issue but (probably) come from the color picker in the template. If so, try this: https://forum.wbce.org/viewtopic.php?pid=22261#p22261

Online

#7 24.02.2021 23:05:41

freerk55
Member

Re: Not able to ad a new group or change anything in an existing group

florian wrote:

Sorry, wrong version posted. Now it's corrected.

Only difference was
if(defined('WB_PATH') == false) { die('Illegale file access /'.basename(__DIR__).'/'.basename(__FILE__).''); }
was commented out with // in front of it

Offline

#8 24.02.2021 23:17:41

freerk55
Member

Re: Not able to ad a new group or change anything in an existing group

Now I only have a section which is repeating:
2021-02-24T21:14:25+00:00 [Warning] /framework/dbsession.php:[76] from /framework/initialize.php:[212] DbSession->__construct "session_set_save_handler(): Cannot change save handler when session is active"
2021-02-24T21:14:25+00:00 [Warning] /framework/wsession.php:[42] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T21:14:25+00:00 [Warning] /framework/wsession.php:[47] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T21:14:25+00:00 [Warning] /framework/wsession.php:[56] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T21:14:25+00:00 [Warning] /framework/wsession.php:[60] from /framework/initialize.php:[215] WSession::Start "ini_set(): A session is active. You cannot change the session module's ini settings at this time"
2021-02-24T21:14:25+00:00 [Warning] /framework/wsession.php:[79] from /framework/initialize.php:[215] WSession::Start "session_name(): Cannot change session name when session is active"
2021-02-24T21:14:25+00:00 [Warning] /framework/wsession.php:[80] from /framework/initialize.php:[215] WSession::Start "session_set_cookie_params(): Cannot change session cookie parameters when session is active"
2021-02-24T21:14:25+00:00 [Notice] /framework/wsession.php:[82] from /framework/initialize.php:[215] WSession::Start "session_start(): A session had already been started - ignoring"

And that's not only when I try to chanche something of the group page
Interesting but not about my error where I started this post for.(??)

Last edited by freerk55 (25.02.2021 00:12:14)

Offline

#9 24.02.2021 23:22:05

freerk55
Member

Re: Not able to ad a new group or change anything in an existing group

florian wrote:

Btw, the long list of notices/warnings have no correlation to the group editing issue but (probably) come from the color picker in the template. If so, try this: https://forum.wbce.org/viewtopic.php?pid=22261#p22261

I had to add those lines just before  ?> at the end

Offline

#10 25.02.2021 10:47:04

florian
Administrator

Re: Not able to ad a new group or change anything in an existing group

So both issues are solved now?

Online

Board footer

Powered by FluxBB

up