A fatal error occurred. Enable debug mode for further inform

Questions about how to install and problems installing - please read the documentation first!
dsa
Posts: 24
Joined: Sun Dec 11, 2016 12:09 am

Re: A fatal error occurred. Enable debug mode for further in

Post by dsa » Sun Dec 11, 2016 8:59 pm

more info

http://stackoverflow.com/questions/3570 ... -from-php7

other consideration:

if in config.php downloads must be assumed under userfiles, I thing that should be explained there

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: A fatal error occurred. Enable debug mode for further in

Post by cmb » Sun Dec 11, 2016 10:49 pm

dsa wrote:Fatal error: Uncaught Error: Call to undefined function utf8_decode() in /var/www/simusol.org/public_html/Z/plugins/utf8/native/core.php:32
Ah, yeah, ext/xml is missing. Great that you already solved that issue. :)
dsa wrote:perhaps is a good idea to tell people not to just copy the file, or change the program so by copying it its enough
Isn't the documentation in the Wiki enough?
dsa wrote:and document that in some cases you will need that package installed
The xml extension is already documented as requirement.

BTW: consider to also install ext/mbstring; something like:

Code: Select all

sudo apt-get install php7.0-mbstring
This is supposed to make the Utf8 Plugin faster.

Note that probably most of our users are running on shared hosting with little, if any, available configuration. It seems to me, that ext/xml and ext/mbstring are enabled by default most of the time.
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: A fatal error occurred. Enable debug mode for further in

Post by cmb » Sun Dec 11, 2016 11:02 pm

dsa wrote:if in config.php downloads must be assumed under userfiles, I thing that should be explained there
I agree, that this could be better documented. Note that you can make these settings visible in the online configuration by removing the following lines from cmsimple/metaconfig.php:

Code: Select all

$mcf['folders']['userfiles']="hidden";
$mcf['folders']['downloads']="hidden";
$mcf['folders']['images']="hidden";
$mcf['folders']['media']="hidden";
Afterwards there will be help icons with some info for these settings.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply