WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: Cazz on December 25, 2021, 11:02:50 PM

Title: There was an uncatched exception
Post by: Cazz on December 25, 2021, 11:02:50 PM
Hi
I did upload the file, create a config.php file
Create folders and add them writable
Everything looks nice but when I push the button I get

Code: [Select]
There was an uncatched exception
Call to undefined function mb_strtolower()
in line (113) of (/framework/helpers/mb_extension.php):

The log just say

Code: [Select]
<?php header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found');echo '404 Not Found'flush(); exit; ?>created: [Sat, 25 Dec 2021 21:58:20 +0000]
[399] Create config.php
[485] check class database and include
[494] save.php WB_INSTALL_PROCESS
[505] save.php install-struct.sql
[540] save.php wb_settings
[565] save.php wb_users
[634] config.php successfully written *** auto generated config file for 2.13.0


Title: Re: There was an uncatched exception
Post by: hgs on December 27, 2021, 11:42:08 AM
Can it be that the
https://forum.WebsiteBaker.org/index.php/topic,31973.0/topicseen.html
already solves your question and problem?

Title: Re: There was an uncatched exception
Post by: Cazz on December 27, 2021, 12:18:52 PM
Hmm no
To make it go forward I did have to create catalog manual and add it write.
When the setup did find the folder it give me permission to add my MySQL info.

That I can do is remove every file and folder (and clean up my MySQL database and take screenshot to show what I see.
Title: Re: There was an uncatched exception
Post by: Cazz on December 27, 2021, 12:50:04 PM
ok I have now create a new WB and even take screenshots to show what I see and have done

1)
(http://www.mrnobody.nu/screenshot/1.jpg)
I did create a emty config.php file

2)
(http://www.mrnobody.nu/screenshot/2.jpg)
It want me to check Step 1 or two so I can't do so much so I did first give three folder writable


3)
(http://www.mrnobody.nu/screenshot/2.2.jpg)
Still does not give me permission to move on so I did create the four folders and make them writable
Was not sure about log folder so I did create a var and inside that folder I create a log in.

4)
(http://www.mrnobody.nu/screenshot/3.jpg)
Now I have green and can move one and I add some info about MySQL and select a login name and a password.
But then I get the rror that I did show on the first post.

Title: Re: There was an uncatched exception
Post by: dbs on December 27, 2021, 02:06:52 PM
Hi, who is your hoster?
Title: Re: There was an uncatched exception
Post by: Cazz on December 27, 2021, 02:37:33 PM
Is on my private server that run Ubuntu 20.04 with Latest version of PHP and MySQL
And Apache2
Title: Re: There was an uncatched exception
Post by: Cazz on December 27, 2021, 11:04:24 PM
I have almost got it to work.
Not sure what Website Baker need for extension for PHP and Apache

But I have install some and I can now login but when I go to pages I get

Code: [Select]
There was an uncatched exception
Call to a member function fetchRow() on null
in line (273) of (/admin/pages/index.php):
Title: Re: There was an uncatched exception
Post by: hgs on December 28, 2021, 10:03:03 AM
I believe that is still valid

Requirements

    At least 25 MB webspace (modules, media, templates need more)
    PHP 7.4.x and up, PHP-8 up (FastCGI, FPM) recommended
    MySQL 5.5 or higher
    PHP Safe Mode = off
    Activated PHP Session Support

I hope this helps you
Title: Re: There was an uncatched exception
Post by: Cazz on December 30, 2021, 03:55:58 PM
Someone found this on the German Wiki page of Website Baker

Quote
OS: Linux (empfohlen)
HTTP-server: Apache2
Webspace: min. 100Mb
SQL-Server: MySQL-8.0 / MariaDB-10.2.x
PHP: 7.3 aufwärts als FPM/FastCGI Anwendung (7.4 empfohlen)
PHP Extensions: mbstring, intl, gd, curl, ftp, crypt, zip
PHP min. Configuration:
upload_max_filesize = 2M
memory_limit = 128M

And now it works :)
Title: Re: There was an uncatched exception
Post by: hgs on December 30, 2021, 07:40:13 PM
 (Y)