session_start not found?

10 views
Skip to first unread message

B Smith

unread,
Aug 28, 2024, 2:20:57 PMAug 28
to bacularis
Hello,

I have installed bacularis 4.0.0 and its dependencies. I'm running FreeBSD. When I attempt to load the panel/config, I get the error "Call to undefined function Prado\Web\session_start()" in source file ${PradoFramework}/Web/THttpSession.php (150). 

Any suggestions to get it running?

Thanks.

Marcin Haba

unread,
Aug 28, 2024, 2:54:42 PMAug 28
to B Smith, bacularis
On Wed, 28 Aug 2024 at 20:21, B Smith <*@sheepdot.org> wrote:
Hello,

I have installed bacularis 4.0.0 and its dependencies. I'm running FreeBSD. When I attempt to load the panel/config, I get the error "Call to undefined function Prado\Web\session_start()" in source file ${PradoFramework}/Web/THttpSession.php (150). 

Hello,

Welcome to the Bacularis user group.

This error is a missing PHP session module. I mean that it can be installed by default with PHP but it can be commented in PHP config. In FreeBSD you need to make sure that in this file:

/usr/local/etc/php/ext-18-session.ini

the session extension is uncommented. It should be:

extension=session.so

but not:

;extension=session.so

After that you need to restart the web server (or php-fpm if you use it).

Please let us know if it helped.

Good luck.

Best regards,
Marcin Haba (gani) 

B Smith

unread,
Aug 28, 2024, 5:48:11 PMAug 28
to bacularis
Hi,

Apparently php-session was not installed, so installing it with pkg solved the issue. Thank you!

Thanks again,

B. Smith

Reply all
Reply to author
Forward
0 new messages