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

 

2 years ago#11018

juergen
1.4K Posts
53.2K 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
2 years 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.
2 years ago#11024

juergen
1.4K Posts
53.2K 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

2 years 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.
2 years ago#11037

juergen
1.4K Posts
53.2K 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: 2 years ago#11043

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

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

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

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

More News

HH-Support

Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register