Preview Button Warning: /init.php on line 356 Couldn't start session!

13 posts by 5 authors in: Forums > CMS Builder
Last Post: February 28, 2011   (RSS)

By sidcam - February 8, 2011

Just upgraded to 2.07. When I click on the preview button within a record, it opens up a new window but gives me the following warning...

Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /<filepath>/lib/init.php on line 356 Couldn't start session! 'A session had already been started - ignoring session_start()'!

Just went through the upgrade a second time and I still get the error.

Re: [sidcam] Preview Button Warning: /init.php on line 356 Couldn't start session!

By Djulia - February 8, 2011

Hi,

Yes, that occurs if you activated the plugin Website membership.
Can You try to
[font "Times New Roman"]deactivate it to check ?

Djulia

Re: [Djulia] Preview Button Warning: /init.php on line 356 Couldn't start session!

By sidcam - February 8, 2011

I have no plug in currently installed BUT I do intend to buy that one in the next few days. Is there someplace in the admin for controlling plug ins?

Sid

Re: [Djulia] Preview Button Warning: /init.php on line 356 Couldn't start session!

By Damon - February 8, 2011

Hi,

I haven't been able to recreate that error.

Installed CMS Builder 2.07, activated the Membership plugin, then previewed a record but no error message.

Is there an additional steps I can try?
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] Preview Button Warning: /init.php on line 356 Couldn't start session!

By sidcam - February 8, 2011

I'm moving from shared to VPS hosting later this week. If it still has this problem after the move, I'll fill out the ticket.

Thanks

Sid

Re: [Damon] Preview Button Warning: /init.php on line 356 Couldn't start session!

By Djulia - February 24, 2011 - edited: February 24, 2011

Hi,

Sorry for being late !

I found the origin of my problem. Also, that functions correctly. :)

But, I do not manage to find the origin of an error which the server records on certain installation of cmsB.

Undefined index: hasEditorAccess in ../lib/common.php on line 1187.

I do not have this error message if I am connected as administrator.

Do You have an idea ?

Thanks !

Djulia

Re: [Djulia] Preview Button Warning: /init.php on line 356 Couldn't start session!

By Jason - February 24, 2011

Hi Djulia,

Do you have this error on more than one installation of CMSB? What version of the software are you running?

If you can give me as much information as you can about when you encounter this error and fill our a [url http://www.interactivetools.com/support/]2nd Level Support Request[/url] I can take a closer look.

Thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Djulia] Preview Button Warning: /init.php on line 356 Couldn't start session!

By Dave - February 25, 2011

Hi Djulia,

I had a look through the code and couldn't see anything obvious that could cause that. Are you on 2.07? Could you make sure you uploaded all the /lib/ files?

If it still occurs after that send me the steps to reproduce and I'll track it down. Thanks.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Preview Button Warning: /init.php on line 356 Couldn't start session!

By Djulia - February 25, 2011 - edited: February 25, 2011

Hi,

I perhaps found the origin.

I succeeded in reproducing the error, if I am connected as editor or author, and that a field is indicated as Admin Only.

Can You test ?

Thanks !

Djulia