Topic Closed
creisi
48 Posts
creisi productions

On a page with many sections, I can't copy or delete sections. No problem on pages with less sections. Debug Info:

Backtrace
Request ?
Line 1
Column 0

Details
message expected expression, got '<'
fileName https://www.example.com/include/thirdparty/js/jquery.js?v=5.1
Line-1 <!DOCTYPE html>
Line-2 <html lang="de">
responseStatus 200
statusText OK
type POST
ajaxdata cmd=save_inline&section=undefined&req_time=1530445785&section_order%5B%5D=0&section_order%5B%5D=1&se

 

1 year ago#11018

juergen
1.4K Posts
51.3K Downloads
16 Plugins
design, web development & visual effects
I can confirm the issue. Large amounts of sections may fail to save. I believe it's because of exceeding the maximum query string length, so we should probably move from GET to POST. I'll yet have to investigate it and hope to fix it for TS 5.1.1
1 year ago#11019

creisi
48 Posts
creisi productions
Thank you juergen :-) Could it be, that it's working on some servers, depending on the settings or php-version, and on others not? But I guess, even if there's no problem on a server, it'll be just a matter of time until the amount is reached when it will become a problem. So - if it helps at all - changing server settings could only be a workaround until TS has changed to POST requests for altering, deleting and saving sections.
1 year ago#11024

juergen
1.4K Posts
51.3K Downloads
16 Plugins
design, web development & visual effects

Can be both the server and the browser, see this post on stackoverflow

Could also be sth. different though

1 year ago#11025

creisi
48 Posts
creisi productions
Tested on two different servers now with different php versions (7.0 and 5.5) and different browsers. Same problem everywhere.
1 year ago#11037

juergen
1.4K Posts
51.3K Downloads
16 Plugins
design, web development & visual effects

Should be fixed with this commit.

Seems to work well here.

Please test and report any issues. It's only an early hotfix.

FYI: In fact we did't use GET but POST to save the section data. So it wasn't an URL string length issue but we actually exceeded max_input_vars on the server side.

Edited: 1 year ago#11043

creisi
48 Posts
creisi productions
Great, thank you juergen. Will test it on week end.
1 year ago#11044

creisi
48 Posts
creisi productions
The fix works perfectly :-) Thank you very much juergen.
1 year ago#11059

Topic Closed

 

News

Typesetter 5.1
8/12/2017

Typesetter 5.0.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register