If I try to edit or delete countries through the Predefined Values interface, my changes are not saved. I can edit the other built-in lists, but not country.
Is this a bug or by design? I'm thinking it might be by design because the country field seems to be hard-coded in a few places.
If I remove countries from phpMyAdmin, will that cause problems? I'm thinking that it should be no problem, unless I remove them all or one that is already being used.
Will an update mess with my predefined fields? Or is the data generally left alone during updates?
|
Take a look at this post and this might help out what you are trying to do:
https://www.boonex.com/forums/topic/How-to-sort-countries-list.htm
|
I removed every country bar three. See attachment.
I didn't experience any problems and it seems to be working fine for me.
Admin/Builders/Predefined Values
Select Country from dropdown list
Delete as required
Move up and down as required.
|
@TruckingSpace My issue isn't about the sorting. I only need a few countries and don't want the long list.
@demmy That's exactly what I did, but it doesn't save. When I click the arrows they move. When I click the x, they disappear. But when I click save, everything is back to the way it was. What version were you on when you edited them?
|
@Toxalot, I'm using 7.2.1 and I only did it about a week ago. I didn't have any problems as far as I can recall. A lot has happened since then and my head is spinning ;-)
Try it on the demo site and see how you go.
|
You need to set max_input_vars =1800 in php.ini. If you are on shared hosting this may not be possible. Ask your host to do this for you.
After the change is made you should be able to save large MySQL inserts.
If I try to edit or delete countries through the Predefined Values interface, my changes are not saved. I can edit the other built-in lists, but not country.
https://dolphin-techs.com - Skype: Dolphin Techs |
If you are using Apache/php as an Apache mod, then you need to restart Apache; some forget this step when editing the php.ini file. Geeks, making the world a better place |
It's possible I got around that problem by deleting one or two items at a time. If my memory serves me correctly, there are occasions where changes aren't saved. Maybe @dolphin_Jay has just explained why. |
@dolphin_jay and @geek_girl Thanks.
@demmy The demo site is the first place I tried. And I was trying to just delete one or two as a test. Problem is that the code deletes all existing ones and then does an insert for the entire new list which apparently runs into the max_input_vars wall. I just tried deleting a whole bunch at once and that works.
|
Rules → http://www.boonex.com/terms |
The problem has been fixed:
So do we need to make any additional changes to get the fix to take effect? Because the exact same thing is still happening? I change or delete country info and it comes right back after saving.
|
The fix is part of the newest beta release. You'd have to upgrade or apply the fix manually to have the fix working on your own copy of Dolphin. |
Thanks Tox.
May check out the new Beta depending upon stability and feature set.
BTW: is this the 7.3 or 7.2.2? I seem to remember talk of an upcoming 7.3 that was all html5 and CSS3 (no flash). Anyway, if you've got it, let me know what you think. Close to stable? New features?
Gotta run
DivineArc
|
They skipped 7.2.2 and 7.3 Beta literally JUST came out. I haven't tested yet, and I'm on shared hosting at the moment so can't try the new chat.
https://www.boonex.com/n/say-hello-to-dolphinpro-7-3-beta-in-the-new-c
|
You're right, just came out just about as we were speaking. ...looks verrry interesting. I think I may just do a bit of dabbling anyway - this way I'll be all set for when 7.3 release comes out.
BTW: If anybody's heard of an ETA, please inform. Looks like this one's coming out quite a bit early, which is great news!
|
ETA: Andrew stated in the comments, "About a week or two, depending on how beta goes." |
Woaah... I missed that. I guess I will go ahead and get a jump start. That's great news!
And thanks for getting back Tox.
|