Forum Replies Created
-
AuthorPosts
-
Денис
ParticipantOk, the problem was because of strange additional symbols at the beginning of the serialized row
https://monosnap.com/file/0nde3JgWZtczaI4XckY3qYBZRcDmERFor some reason in the admin panel of WordPress, they do not show up. If copy-paste this "clear" version and past it to the database meta boxes and content will appear.
Денис
ParticipantBut what did you do for the sections__add to fix it? Is there a wrong format too?
I mean, I see that the other pages, like "about-us" or "policy", are missing their meta boxes as well. And I see them in custom fields. The same situation.
But I am not sure how to debug it, when we have big strings and it is not obvious.
I found several unserialize services which can unserialize string. Some of them throw errors some of them not and return an array. I do not see anything suspicious here (about us page)a:4:{i:0;a:4:{s:12:"section-name";s:29:"Intelligent testing solutions";s:18:"sections__template";s:8:"overview";s:8:"overview";a:2:{s:15:"overview__title";s:29:"Intelligent testing solutions";s:19:"overview__sub-title";s:157:"We work to provide the digital economy with automated testing solutions that are affordable, simple, and comprehensive to meet a variety of automation needs.";}s:8:"contacts";a:1:{s:15:"contacts__items";a:1:{i:0;a:1:{s:14:"contacts__type";s:5:"email";}}}}i:1;a:4:{s:12:"section-name";s:11:"Our mission";s:18:"sections__template";s:8:"features";s:8:"features";a:1:{s:18:"features__articles";a:2:{i:0;a:4:{s:5:"title";s:11:"Our mission";s:4:"text";s:149:"We have seen our clients face the frustration of finding an automation solution that is affordable, comprehensive, easy to set up, and simple to use.";s:5:"image";s:2:"47";s:18:"features__articles";a:1:{i:0;a:2:{s:21:"title_icon_visibility";s:4:"text";s:4:"text";s:387:"To tackle these problems, we initially developed intelliQ Studio as a free alternative to commercial test automation solutions, and as a versatile tool that is easy to use for both beginning and advanced testers. Since then, intelliQ Studio's adoption rate has accelerated. The tool was ranked as a top automation tool by popular automation websites and by many testing communities. ";}}}i:1;a:4:{s:5:"title";s:9:"Our story";s:4:"text";s:151:"We have seen our clients face the frustration of finding an automation solution that is affordable, comprehensive, easy to set up, and simple to use. ";s:5:"image";s:2:"46";s:18:"features__articles";a:1:{i:0;a:2:{s:21:"title_icon_visibility";s:4:"text";s:4:"text";s:385:"To tackle these problems, we initially developed Katalon Studio as a free alternative to commercial test automation solutions, and as a versatile tool that is easy to use for both beginning and advanced testers. Since then, Katalon Studio's adoption rate has accelerated. The tool was ranked as a top automation tool by popular automation websites and by many testing communities. ";}}}}}s:8:"contacts";a:1:{s:15:"contacts__items";a:1:{i:0;a:1:{s:14:"contacts__type";s:5:"email";}}}}i:2;a:4:{s:12:"section-name";s:8:"Contacts";s:18:"sections__template";s:8:"contacts";s:8:"features";a:1:{s:18:"features__articles";a:1:{i:0;a:1:{s:5:"image";s:2:"47";}}}s:8:"contacts";a:4:{s:15:"contacts__title";s:10:"Questions?";s:20:"contacts__title-text";s:71:"Have a question for the team about our products or our services? Shoot!";s:25:"contacts__additional-info";s:52:"Organization number: 87163457836, Stockholm, Sweden.";s:15:"contacts__items";a:2:{i:0;a:3:{s:4:"icon";s:2:"21";s:14:"contacts__type";s:5:"email";s:17:"contacts__contact";s:16:"[email protected]";}i:1;a:3:{s:4:"icon";s:2:"21";s:14:"contacts__type";s:5:"phone";s:17:"contacts__contact";s:14:"+46 73430 5337";}}}}i:3;a:5:{s:12:"section-name";s:36:"The future of test automation is now";s:18:"sections__template";s:4:"hero";s:4:"hero";a:2:{s:11:"hero__title";s:36:"The future of test automation is now";s:13:"hero__buttons";a:1:{i:0;a:3:{s:11:"button_text";s:14:"Request a Demo";s:15:"button_behavior";s:9:"open_page";s:11:"button-link";s:31:"http://intelliq.se/#get-started";}}}s:8:"features";a:1:{s:18:"features__articles";a:1:{i:0;a:1:{s:5:"image";s:2:"47";}}}s:8:"contacts";a:1:{s:15:"contacts__items";a:1:{i:0;a:1:{s:14:"contacts__type";s:5:"email";}}}}}Денис
ParticipantYep. Through the database, it works fine. Not sure why it was not from the admin panel, through the custom fields.
Field popups__add was not in database at all.
Do you have any ideas about why it may happen? Plugin? Virus? Credentials vulnerability? Other stuff?
Денис
ParticipantI made fixes with the correct format of data provided by you through the admin panel, by updating custom fields data.
But after updates those custom fields are gone now https://monosnap.com/file/rLgiXJvBzqGw2LJmeuwBDRc7likjqy
And sections data is blinking on page reload.Денис
ParticipantOk, thank you. Do you have any suggestions about why it may happen?
Денис
ParticipantIf yes what email address we could use?
Денис
ParticipantWill it work if we send you login/password from the actual website?
Денис
ParticipantI should ask my client first. I think we could try to debug it by ourselves at first.
Денис
ParticipantGuys? Any suggestions?
Денис
Participantsections.php file (metabox config) https://codepen.io/maliyshock/pen/ExVvjxW
this is template for the main page https://codepen.io/maliyshock/pen/yLYoNyY?editors=1000custom fields and settings of the main page https://monosnap.com/file/YWHYo0y3MMsUY659DC7RsCt1jD8Yjz
No, the field ID did not change.
Денис
ParticipantAlready did. The fields are still empty.
Денис
ParticipantSometimes the field has different sizes.
Like here https://monosnap.com/file/ehRc0moSn6j03xD5F7VOlQxib3xvy4July 18, 2019 at 9:28 AM in reply to: ✅The select field, which would show the list of values from specified type #15397Денис
ParticipantTrue. The thing is the name of the sections should be unique, cause they go to the top navigation menu, between the sections. So there would no mistake for the client.
But you are right. Your decision is bulletproof.
Anyways, it would be awesome to have the kind of type of the field, which could get the specified list of other filled fields on the fly. I think it should be simple to do for devs and it adds more flexibility. My decision does not work on the fly right now, cause it does not uses Ajax and I need to reload the page, if I added some other sections or names.
July 18, 2019 at 4:02 AM in reply to: ✅The select field, which would show the list of values from specified type #15391Денис
ParticipantFew minutes after I made this post I asked myself. Why would not I use the same functionality for admin panel as for pages?
Cause it works!
Screenshot_1: https://monosnap.com/file/jiYwzrMwVLDYLyUJq5vbOh40YBahIi
The same file with $meta_boxes config I made request to get the meta boxes usingget_post_metamethod with$_GET['post']to get the id of current page.Then I created another array, to filter out sections without any id-s.
I usedmakeIdFromStringcustom method to rid off all of the spaces and capital letters
And then I put this array to the config.
That's it. It works. -
AuthorPosts