Ambyomoron
Forum Replies Created
-
Following up on the diagnosis, on my two systems (test and prod), the end of every exported json file is truncated. Whereas the file might be expected to end with:
“isInner”:false}]}
instead, it ends with:
“isInner”:fal
If I add the missing characters manually, the template can be imported with success and appears to be complete. I infer from that that the data in the database is not corrupted.
It remains to be determined why this is happening. I don’t think it is a php timeout, as I am set for 90 secs and the whole procedure doesn’t take more than a few secs. I don’t think it is a lack of memory, as I have 1.5 GB available and no other apps are running and there is only one session. But all this is only conjecture on my part.
Here is my same template exported again: https://gist.github.com/JosiahCarberry/043db496798b43d8e18b53278be406d2
As to your template, Ninja Forms Test, I was able to import it successfully. It shows simply the letter “n” in a single section.
When I export that same template and compare your json file to my exported json file, I notice three differences:
1. The blank line in my file at the beginning
2. The IDs are all different (I suppose this is normal!?)
3. Your file has the two characters “]}” at the end, whereas mine does notSo, is the problem in the database with the template itself, or is the problem in the export of that template to the json file? That is the question.
*** START OF FILE *** (there is indeed a blank line at the beginning) {“version”:”0.3″,”title”:”testt”,”type”:”page”,”data”:[{“id”:”nvrbbov”,”elType”:”section”,”settings”:{“section_layout”:””,”stretch_section”:””,”layout”:”boxed”,”content_width”:{“unit”:”px”,”size”:””},”gap”:”default”,”height”:”default”,”custom_height”:{“unit”:”px”,”size”:400},”column_position”:”middle”,”content_position”:””,”structure”:”10″,”section_background”:””,”background_background”:””,”background_color”:””,”background_image”:{“url”:””,”id”:””},”background_position”:””,”background_attachment”:””,”background_repeat”:””,”background_size”:””,”background_video_link”:””,”background_video_fallback”:{“url”:””,”id”:””},”background_overlay_section”:””,”background_overlay_background”:””,”background_overlay_color”:””,”background_overlay_image”:{“url”:””,”id”:””},”background_overlay_position”:””,”background_overlay_attachment”:””,”background_overlay_repeat”:””,”background_overlay_size”:””,”background_overlay_video_link”:””,”background_overlay_video_fallback”:{“url”:””,”id”:””},”background_overlay_opacity”:{“unit”:”px”,”size”:0.5},”section_border”:””,”border_border”:””,”border_width”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”border_color”:””,”border_radius”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”box_shadow_box_shadow_type”:””,”box_shadow_box_shadow”:{“horizontal”:0,”vertical”:0,”blur”:10,”spread”:0,”inset”:””,”color”:”rgba(0,0,0,0.5)”},”section_typo”:””,”heading_color”:””,”color_text”:””,”color_link”:””,”color_link_hover”:””,”text_align”:””,”section_advanced”:””,”margin”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”margin_tablet”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”margin_mobile”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”padding”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”padding_tablet”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”padding_mobile”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”animation”:””,”animation_duration”:””,”css_classes”:””,”_section_responsive”:””,”reverse_order_mobile”:””,”heading_visibility”:””,”responsive_description”:””,”hide_desktop”:””,”hide_tablet”:””,”hide_mobile”:””},”elements”:[{“id”:”vwdfxef”,”elType”:”column”,”settings”:{“_inline_size”:null,”_column_size”:100,”section_style”:””,”background_background”:””,”background_color”:””,”background_image”:{“url”:””,”id”:””},”background_position”:””,”background_attachment”:””,”background_repeat”:””,”background_size”:””,”background_video_link”:””,”background_video_fallback”:{“url”:””,”id”:””},”border_border”:””,”border_width”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”border_color”:””,”border_radius”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”box_shadow_box_shadow_type”:””,”box_shadow_box_shadow”:{“horizontal”:0,”vertical”:0,”blur”:10,”spread”:0,”inset”:””,”color”:”rgba(0,0,0,0.5)”},”section_typo”:””,”heading_color”:””,”color_text”:””,”color_link”:””,”color_link_hover”:””,”text_align”:””,”section_advanced”:””,”margin”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”margin_tablet”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”margin_mobile”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”padding”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”padding_tablet”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”padding_mobile”:{“unit”:”px”,”top”:””,”right”:””,”bottom”:””,”left”:””,”isLinked”:true},”animation”:””,”animation_duration”:””,”css_classes”:””,”section_responsive”:””,”screen_sm”:”default”,”screen_sm_width”:”100″,”screen_xs”:”default”,”screen_xs_width”:”100″},”elements”:[],”isInner”:false}],”isInner”:false} *** END OF FILE ***
As I mentioned above, the theme is twenty-ten, albeit the problem exists with twenty-fifteen. And the problem exists with NO other plugins enabled.
Boaz, can we do four things to try to figure out what is going wrong?
1) I send you an exported json file and you tell me if it is well formed
2) You send me a well formed json file that I try to import
3) You tell me under what circumstances the template import can arrive at a screen where the url of the page displayed is wp-admin/admin-ajax.php and the displayed page consists of simply the message “Invalid file”
3) You tell me if there are any known php or mysql settings (max memory, timeouts, packet size, etc.) that might need tuning to make this work.Unfortunately not. The problem still exists with v. 0.9.3
I’ll let you know if the new version solves the issue.
I guess the question is moot now.
Anyway, the page is fairly complex, with 5-6 sections, various columns, buttons, two videos, two images, and even some text.Well, I deactivated all other plugins – still get the error.
Philip – thanks for this hint. I don’t know how to interpret the information shown in the console (in my case, in Firefox). I don’t see any error messages – just information about the various posts, gets, cookies, xhr, etc.
Thanks, Lyle. That’s just what I want to do.
Only, it doesn’t work! I can create the new template and export the json file with no difficulties, but the import results in a message “Invalid file” on the URL …/wp-admin/admin-ajax.php
Is there any elementor debugging function that might help me identify what is going wrong?Thank you, Boaz. I use that plugin regularly, but it is of no help for what I want to do, which is to simply duplicate a single page (or post) from one site to another. Once duplicated, there might be call for a S&R, but that is a different question.
You might ask why I want to do this? Well, it is a means for simplifying the work, making it faster and more reliable. Once a change is completed and validated on a test site, I want to be able to execute that change on the production site.
I thought I had the same problem, too, but it turned out that the colors of the links on the desktop theme are hardly visible in my case. It might be nice to be able to configure them.
Forum: Plugins
In reply to: [WPtouch - Make your WordPress Website Mobile-Friendly] Mobile/Desktop SwitchFor what its worth, I took a look at your site with my android mobile phone. I see the behavior you describe. But I also see a lot of extraneous characters at the bottom of the home page on the left. I cannot help you resolve this, as I am not a support person for the plugin, but I thought you might want to know this.
Thanks for the CSS hint, Emilio. That works fine for me.
Forum: Plugins
In reply to: [Activity Log - Monitor & Record User Changes] URI too long for filtered logSorry about the previous posts. This forum does not seem able to handle large strings of text.
Using version 2.3.3 of the plugin.Attempting to display a filtered activity log where type = options results in the error message:
Request-URI Too Large
(this is presumably a 414 error)My hosting provider has an absolute limit of 8190 bytes in a URL, which limit is set by Apache.
I cannot seem to post here the URL itself, which goes on and on and on with arguments separated by strings similar to %2525252526 or %252525253D%25252525252F