Support

Pre-sales

#24152 Cron-Job / EMail-Warnings: PHP Warning: session_destroy():

Posted in ‘Pre-sales and Account Questions’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by user88882 on Monday, 11 January 2016 06:38 CST

user88882
Dear Sir or Madam

I installed a CRON-JOB:
/usr/local/bin/php /home/swissm4/www/startup-club.ch/cli/akeeba-backup.php --profile=2

In the Mail I got the following warnings:
PHP Warning: session_destroy(): Trying to destroy uninitialized session in /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php on line 729
Warning: session_destroy(): Trying to destroy uninitialized session in /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php on line 729
PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php on line 757
Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php on line 757
PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php on line 623
Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php on line 623
PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php:729) in /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php
on line 651
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php:729) in /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php
on line 651
PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php:729) in /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php
on line 651
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php:729) in /home/swissm4/www/startup-club.ch/libraries/joomla/session/session.php
on line 651

Is there a way to solve these errors?

Kind regards

Stefan Schneider

tampe125
Akeeba Staff
Hello,

you can safely ignore these errors.
We had to add a workaround in around scripts since Joomla 3.4.7 was broken and didn't allowed CLI scripts to run, the only drawback are the warning you are seeing.
However, since version 3.4.8 of Joomla fixed this problem, we will remove the workaround (and thus the warnings) in the next version of Akeeba Backup.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user88882
Hello,

thanks a lot for your answer!

Kind Regards

Stefan Schneider

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!