4 posts by 2 authors in: Forums > CMS Builder
Last Post: March 12, 2015   (RSS)

Absolutely LOVE the new error reporting feature with v2.64 - it is already an indispensable tool!

I have some error message concerns showing up for all of my v2.64 site upgrades. Probably nothing of concern, but here goes...

1) These two session_start() errors are being reported for all sites:

E_WARNING: session_start(): Cannot send session cache limiter - headers already sent
/home/domain/public_html/cms/lib/database_functions.php (line 762)
http://

E_WARNING: session_start(): Cannot send session cookie - headers already sent
/home/domain/public_html/cms/lib/database_functions.php (line 762)
http://

2) In the cPanel error logs for all sites:

PHP:  syntax error, unexpected '"' in /home/domain/public_html/cms/.user.ini on line 22, referer: http://www.domain.com/cms/admin.php?menu=home

There is no whitespace before opening PHP tags for any web pages, includes, or plugins (no trailing ones, either).
All sites on PHP v5.5.22 + MySQL v5.6.23

None of the above errors affect the live site presentation, but I'm wondering if they could/should be cleared up, or at least noted for future builds.

~ Deborah

Hi Deborah, 

Great feedback, thanks!  And so glad to hear you love the new error reporting feature, we do too! :-)

For this warning: "session_start(): Cannot send session cache limiter - headers already sent", that's from the backup function.  You can safely hide that warning by adding a @ on line 762 as follows:

  @session_start();

And I've update that in the next beta release as well.

And for the cPanel error "syntax error, unexpected '"' ", you can just comment this line with a leading ; like this:

;date.default_longitude "CMSB_CONFIG_USER_INI"

Lastly, .user.ini is a new config file we added and we used the # style comments, and some PHP versions have a problem with those.  So if you get any errors feel free to replace # with ; which is another way of commenting a line in php.ini and .user.ini config files.  And that's safe to ignore as well if you're not getting any errors, it will be updated in the next release as well.

Great feedback, let me know if I can provide any more info on any of that or if you spot anything else.  Cheers!

Dave Edis - Senior Developer
interactivetools.com

Hi Deborah, 

Great feedback, thanks!  And so glad to hear you love the new error reporting feature, we do too! :-)

For this warning: "session_start(): Cannot send session cache limiter - headers already sent", that's from the backup function.  You can safely hide that warning by adding a @ on line 762 as follows:

  @session_start();

And I've update that in the next beta release as well.

And for the cPanel error "syntax error, unexpected '"' ", you can just comment this line with a leading ; like this:

;date.default_longitude "CMSB_CONFIG_USER_INI"

Lastly, .user.ini is a new config file we added and we used the # style comments, and some PHP versions have a problem with those.  So if you get any errors feel free to replace # with ; which is another way of commenting a line in php.ini and .user.ini config files.  And that's safe to ignore as well if you're not getting any errors, it will be updated in the next release as well.

Great feedback, let me know if I can provide any more info on any of that or if you spot anything else.  Cheers!

Dave Edis - Senior Developer
interactivetools.com