Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: [SOLVED] Lots of Discount Codes / Can't save event

[SOLVED] Lots of Discount Codes / Can't save event 8 years 8 months ago #25777

  • clawcorp
  • clawcorp's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Karma: 3
  • Thank you received: 2
FYI for others that may encounter this problem:

We had a problem where we could not edit/save our event. We have LOTS of discount codes (618 currently). We use a custom form for generating the codes, so we don't typically use the administrator side for editing the event. However, when we tried to save, no error was generated and Joomla would return to the main administrator page when trying to save the event and no changes were saved.

The error:
PHP Warning:  Unknown: Input variables exceeded 1000.
To increase the limit change max_input_vars in php.ini. in
Unknown on line 0, referer: https://.../home/administrator/index.php?
option=com_dtregister&controller=event&task=edit&cid[]=xx

The fix:
Add max_input_vars=2000 to php.ini. Due to restrictions from our service provider, the php.ini had to be in the Joomla administrator folder.

Please Log in or Create an account to join the conversation.

Last Edit: by nathan.dth.

Lots of Discount Codes / Can't save event 8 years 8 months ago #25779

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
Thanks for sharing that. Events already have a large number of variables being saved... and the more fields you have, the more variables. And in your case, the more discount codes, the more variables.

Please Log in or Create an account to join the conversation.

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .
  • Page:
  • 1
Time to create page: 0.746 seconds