Page 2 of 2

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

Posted: Sun Dec 11, 2016 8:59 pm
by dsa
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

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

Posted: Sun Dec 11, 2016 10:49 pm
by cmb
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.

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

Posted: Sun Dec 11, 2016 11:02 pm
by cmb
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.