Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Failed first time installation

Asked Modified Viewed 961 times
W
wayne
W
wayne 10
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

I am installing the latest php-fusion on Freebsd-13.0 with php 8.0.7 myql 8.0.25 and apache2.4.48
I have all the packages installed, and PHP tests fine. I have installed php-fusion as per the readme-en.html

When I hit the website I get this error

Fatal error: Uncaught Error: Call to undefined function PHPFusion\Installer\session_start() in /usr/local/www/apache24/data/includes/classes/PHPFusion/Installer/Install.core.php:134 Stack trace: #0 /usr/local/www/apache24/data/install.php(22): PHPFusion\Installer\Install_Core::getInstallInstance() #1 {main} thrown in /usr/local/www/apache24/data/includes/classes/PHPFusion/Installer/Install.core.php on line 134

Can anyone help
0 replies

5 posts

R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

You do not have sessions extension installed. It's weird, but it's not preinstalled on FreeBSD. It's common extension that is always preinstalled (except for FreeBSD..)

Quick googling: with this command you can install extension pkg install php80-session
0 replies
W
wayne
W
wayne 10
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Thankyou, also found php80-filter, php80-mysqli, and php80-pdo missing. After loading all packages, I got a bit further.
Now the install PHP screen stops after step 3 Database Setting, and does not step on. Then I get this error in the httpd-error.log

PHP Fatal error: Uncaught Error: Undefined constant PDO::MYSQL_ATTR_INIT_COMMAND in /usr/local/www/apache24/data/includes/db_handlers/pdo_functions_include.php:153\nStack trace:\n#0 /usr/local/www/apache24/data/setup.php(291): dbconnect()\n#1 {main}\n thrown in /usr/local/www/apache24/data/includes/db_handlers/pdo_functions_include.php on line 153
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

You still do not have a properly configured server

https://stackoverflow.com/questions/2...d-with-pdo


Why you don't use something preconfigured? There are tons of LAMP stacks or maybe standard hosting instead of vps.
0 replies
W
wayne
W
wayne 10
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Yeah it may be easier but, I don't learn anything that way. Finally got it working.
Another package missing php80-pdo_mysq and restart php and apache.

One minor problem that was easy sorted, in the setup.php line 1915 refers to .htaccess which didn't exist.
Creating an empty .htaccess fixed it.

Thanks for help.
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

.htaccess is automatically generated during installation.
0 replies

Category Forum

Installation Issues- 9

Labels

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
W
W
wayne 10
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet