Skip to main content

#56 Problem saving NorrCompetion options - Joomla 4

Posted in ‘NorrCompetition’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
8.1

Latest post by b2z on Thursday, 01 June 2023 23:11 EEST

guildofe

Please examine important information regarding our working hours and our support policy at the bottom of this page (under Support Policy Summary). To insert image, please use external image hosting like https://postimages.org/ and just paste image URL to your message above. Thank you!

Hi Since upgrading to Joomla 4 (Norr Competition 2.0.2) we have not been able to save changes to NorrCompetion options. On clicking save in the admin screen the screen returns to the main Joomla options - so it looks as though the save is failing. I have tried editing administrator/components/com_competition/config.xml directly to change the parameter that I want to alter but it appears that this is not being read. For example, if I var_dump($itemParams) in layouts/default/tmpl/participant.php changes that I have made in the main administrator/components/com_competition/config.xml file don't appear in $itemParams. Switching on debug and changing error reporting to maximimum doesn't produce anything helpful as far as I can tell What am I missing here? It feels like something obvious but I can't see it. Thanks, Zoë

guildofe
PS - I was looking in the wrong place. It's the update to com_competition paramaters in jos_extensions that fails and I guess that this is where the mudule gets it's parameters from not the config.xml file.

b2z
Hi Zoë,

Try to increase PHP setting max_input_vars as the config has many input fields.


Kind regards
Dmitrijs

guildofe
Hi Dmitrijs
Thank you! I tested that on a local copy on my laptop and it fixes it. I don't have any control over the php.ini file on the server but will submit a request to ask them if we can have max_input_vars increased. The default seems to be 1000 - I set it to 2000 which seems to work fine.
Zoë

guildofe
Hi - thanks, now fixed on the main sites using .user.ini (which I didn't know about :-/). Happy to close this, Thanks again,
Zoë

b2z
Glad you have solved it 👍
Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.