Posted this on ubercart.org but seems a bit quiet over there. This is rather a specific bug that is really causing me a headache so I hope someone else can at least recreate it and verify that it's not just my setup.
When you assign an attribute that contains more than 47 options (give or take) to a product, then go to the options tab to pick which options should be used for that product, changes are not saved after submission. No warning messages are issued, it just seems to ignore the update.
I can reproduce this in a clean installation of 1.3 and 1.5. It definitely works perfectly with 47 options or less but not with any number greater than that. uc_object_options_form_validate is never called up when there are too many options but it is otherwise. I'm really surprised no-one else seems to have spotted this rather crucial bug. Could it be an issue with my vps configuration?
Cheers,
Will
Comments
Comment #1
willdashwood commentedUpdate: It is an issue with my server but I'm not sure what. I've just moved the test site over to a shared hosting account with a reasonably similar setup and it worked fine. Here's my phpinfo and here's the shared hosting phpinfo. I'm planning on rebuilding Apache with PHP 5.2.6 along with a few other changes that I've been waiting to do (adding SOAP, PDO and removing Magic Quotes). Does anyone have any tips for what else I could try?
Possibly best to move this thread somewhere else but then other people who stumble upon this problem with attributes/options might be looking here in the future.
Many thanks!
Comment #2
willdashwood commentedProblem sorted thanks to the excellent support at UKHost4u. They suspected it might be related to a similar issue they'd had in the past where people posting messages on phpBB boards were having them truncated. 2 simple lines added to the php.ini did the trick.
Worth remembering if you have Suhosin installed on your server. It's been driving me mad and seemed that I was the only one with it.
Comment #3
willdashwood commented