• Resolved paxton111

    (@paxton111)


    Hi,
    I have a lot of mappings on my site.
    When I try to add a new mapping, the path to the desired root remains empty. It doesn’t throw any particular error, just leaves the mapped page field empty.
    I’ve noticed when I delete a couple of random mappings, then it works fine. Could you please tell me what could be the issue?

    Thanks

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    is it possible to provide a short screencast?

    Thread Starter paxton111

    (@paxton111)

    Hi Matthias, I’m unable to share screencast as it contains some private URLs, but essentially, once I hit save, and go to check the newly added mapping, it looks like this: https://ibb.co/1JpqDnk

    It doesn’t throw any particular error, it says that the mapping is saved successfully (when in fact wasn’t).

    Once I delete a couple of random mappings, then it saves normally. I’ve checked the storage space – that doesn’t appear to be an issue as I have plenty of storage.
    I guess that is somehow related to the fact that I have a lot of mappings (over 100). Really need to solve this 🙂

    Thanks

    Plugin Author matthias.wagner

    (@matthiaswagner)

    the mappings are stored in the database, so the storage won’t be any problem. maybe it could happen that the db-field get’s stripped, since all mappings are serialized and stored as a single options-entry. but than the domain should disappear too…

    we have some hints when saving entries, which appear if domains/paths are already used in another mapping. are you sure that none of these hints appear in addition to the “saved successfully”??

    Thread Starter paxton111

    (@paxton111)

    Yes. I deleted all mappings and will start over. Will see how it goes now. I will keep you posted. Thanks!

    Thread Starter paxton111

    (@paxton111)

    The problem appears again. I’m sure that there are no duplicate mappings.

    Once I delete any mapping previously added, it saves normally. But after I try to add more mappings, it won’t save normally (path is missing). I need to solve this. Is it possible to send you admin details so that you can take a look? Or if you could advise me in which direction to look?

    Plugin Author matthias.wagner

    (@matthiaswagner)

    we can try to reproduce the issue but i can not give you any estimate, since that big amount is not used anywhere in our own projects. as you may know, we do not earn any money with that plugin and just let the community use it while we build it for our own purpose… so we can not spend too much time on such individual issues, while we try to fix bugs which occur more often.

    thanks for your understanding,
    matt

    Thread Starter paxton111

    (@paxton111)

    I understand – but my project depends on this plugin, I would have used other plugins for this. I kindly asked you to give me direction since your plugin obviously doesn’t work.

    Thread Starter paxton111

    (@paxton111)

    Is it possible to insert the mappings directly into the database? I know that it’s serialized data under wp_options.

    Plugin Author matthias.wagner

    (@matthiaswagner)

    i have also kindly explained why it is not possible for us to dive deeper into this. if you use free software, you should not expect service like if you paid for something.
    and since it is open source, feel free to dive into the code and build whatever you want and need for yourself on top of it 😉

    regarding your second question: you can use a online tool like https://www.unserialize.me/ to see how the array of mappings is stored, then build your own serialized string (with such tool, php or whatever) and save it in the options.

    good luck!
    matt

    Thread Starter paxton111

    (@paxton111)

    Okay, thank your Matt. Appreciate your help (if you allow me to suggest it would be good to mention in the plugin description that there is unknown limit as to how much mappings can be added so that people like me know in advance).

    Kind regards

    Plugin Author matthias.wagner

    (@matthiaswagner)

    hello,

    one more thing comes into my mind: try to increase the php max_input_vars setting: https://jannah.helpscoutdocs.com/article/7-how-to-increase-the-php-max-input-vars

    matt

    Thread Starter paxton111

    (@paxton111)

    Okay, thank you. I will test this by deleting all mappings and then adding again. Will let you know if it worked. Thanks Matt!

    Plugin Author matthias.wagner

    (@matthiaswagner)

    it should not be necessary to delete them! just change that variable, be sure that server accepts more input vars and then try adding some more mappings 🙂

    Thread Starter paxton111

    (@paxton111)

    Woohoo! Seems to be working. 🙂 I’ve placed max_input_vars = 5000 in my user.ini file. It’s saving new mappings normally now. Such a relief.
    Really appreciate your help Matt! Will give it a 5 start review 😉

    Best,

    Marko

    Plugin Author matthias.wagner

    (@matthiaswagner)

    glad to hear 🙂
    if you use our plugin for commercial purposes we’d also be happy about a small donation for maintaining support 😉

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Not saving’ is closed to new replies.