Author Topic: There was an uncatched exception  (Read 596 times)

Offline Cazz

  • Posts: 79
There was an uncatched exception
« 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



Offline hgs

  • Betatester
  • **
  • Posts: 1539
    • EFG MG
Re: There was an uncatched exception
« Reply #1 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?

LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline Cazz

  • Posts: 79
Re: There was an uncatched exception
« Reply #2 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.

Offline Cazz

  • Posts: 79
Re: There was an uncatched exception
« Reply #3 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)

I did create a emty config.php file

2)

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)

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)

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.


Offline dbs

  • Betatester
  • **
  • Posts: 8730
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: There was an uncatched exception
« Reply #4 on: December 27, 2021, 02:06:52 PM »
Hi, who is your hoster?

Offline Cazz

  • Posts: 79
Re: There was an uncatched exception
« Reply #5 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

Offline Cazz

  • Posts: 79
Re: There was an uncatched exception
« Reply #6 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):
« Last Edit: December 27, 2021, 11:12:32 PM by Cazz »

Offline hgs

  • Betatester
  • **
  • Posts: 1539
    • EFG MG
Re: There was an uncatched exception
« Reply #7 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
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline Cazz

  • Posts: 79
Re: There was an uncatched exception
« Reply #8 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 :)

Offline hgs

  • Betatester
  • **
  • Posts: 1539
    • EFG MG
Re: There was an uncatched exception
« Reply #9 on: December 30, 2021, 07:40:13 PM »
 (Y)
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)