Ga naar hoofdinhoud

Eigen aanpassingen

E-mail niet muteerbaar

Set name e-mail to readonly so the user is not allowed to change it

Module Error - Save Failed With The Following Error: The content exceeds allowed limits

Save failed with the following error: The content exceeds allowed limits

Kan optreden als de IB-module te groot wordt.

bron: https://www.joomshaper.com/forum/question/7327

In libraries\src\Table\Module.php Change the code a bit, to increase the character limit for Joomla modules

In line 151 of the php file: if ((strlen($this->content) > 65535) || (strlen($this->params) > 65535))

I doubled the limit: if ((strlen($this->content) > 131070) || (strlen($this->params) > 131070))

This then stopped the "Error: The Content Exceeds Allowed Limits"

Oude code

// Prevent to save too large content > 65535
if ((\strlen($this->content) > 65535) || (\strlen($this->params) > 65535)) {

Nieuwe code

// Prevent to save too large content > 65535
// if ((\strlen($this->content) > 65535) || (\strlen($this->params) > 65535)) {

// AH: aanpassing voor Interface Builder

if ((strlen($this->content) > 131070) || (strlen($this->params) > 131070)) {

PHP regular expression limit reached (pcre.backtrack_limit)

Add following two lines in index.php, and you don't need to modify any other file: ini_set('pcre.backtrack_limit',1000000); ini_set('pcre.recursion_limit',1000000);

/Limite PCRE/ ini_set('pcre.backtrack_limit', 300000);

Instead of increasing the memory, trying increasing, in your php.ini, the following value: pcre.backtrack_limit It is defaulted to 1000000 - try increasing it to, say 2000000