Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2017-11-14 09:08:53
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Test of the last 4.7
Some first remarks after installing the latest 4.7 dev, new site on Webfaction.
First of all, the installation is a pleasure, with finally the possibility to choose the empty theme for end users! The discovery of uploading files and multiple images! The new help system, which can be disconnected if desired. What a nice piece of software! I look (passively) the exchanges on Github: a lot of exchanges and commits, sometimes the WE and even the night. Thank you and congratulations to all the developers and testers on Github.
- About the following setting: Maximum size of a file sent to the server (bytes). I used to type a very large value, which was then automatically reduced to the actual value of the server. In this version, the number is not corrected, or replaced by a value such as 1.0E + 15.
- I uploaded 5 files sized between 1.8MB and 13MB, it does not work: I have the following message for the 5 files:
xxxxx.zip - The file exceeds the size allowed by the administrator.
The chunks system no longer works ???
Same thing for image uploads. - For tag builder, there is a list for templates (pages) and another list for forms. I like this tool that can replace my bad memory. However, depending on how I share my code between pages and forms, I need the Page Tag Builder on the forms screen. Is it possible to combine the two? Group in 2 tabs, if the list is too long?
Offline
Re: Test of the last 4.7
jpdupont wrote #307829:
About the following setting: Maximum size of a file sent to the server (bytes). I used to type a very large value, which was then automatically reduced to the actual value of the server. In this version, the number is not corrected, or replaced by a value such as 1.0E + 15.
Haha, it would take 2 years to upload at 1Gb/s, fwiw. Thanks, I will truncate the max file size to some system value.
I uploaded 5 files sized between 1.8MB and 13MB, it does not work: I have the following message for the 5 files:
xxxxx.zip - The file exceeds the size allowed by the administrator.
The chunks system no longer works ???
Same thing for image uploads.
It works for me, try to replace 1.0E + 15
with something like 1G
.
Offline
#3 2017-11-14 10:51:47
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: Test of the last 4.7
Thanks Oleg, no error at the begining but with 2 test files :
xxx.zip bien reçu sur le serveur. --> 12Mo
yyy.zip - Le fichier n’a été que partiellement envoyé. --> 149Mo
Last edited by jpdupont (2017-11-14 10:52:30)
Offline
Re: Test of the last 4.7
jpdupont wrote #307834:
Thanks Oleg, no error at the begining but with 2 test files :
yyy.zip - Le fichier n’a été que partiellement envoyé. --> 149Mo
Hmm, at best there are some chunks left from your first attempt. Then reuploading should work, could you try? At worst, the connection was dropped due to some server/browser configuration (timeout?), and this would be annoying to debug.
Offline
#5 2017-11-14 15:53:08
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: Test of the last 4.7
I try with many files. Works with files < 20Mo (about).
All the files > 30, 50, 149, … Mo have the same error message.
Do you want access ?
Offline
Re: Test of the last 4.7
Sorry, I think it was a floating number format (comma instead of point) problem on non-English servers. I have just submitted a patch, please test.
Offline
Re: Test of the last 4.7
Ah, I think I know what happens. If PHP max post size is lower than max file upload size, the chunks are max-post-sized. But, since we include some extra data now (category, title), the overall post size is too large, and the server drops it. Remains to know how to fix this, e.g. how many bytes to reserve for extra data.
Offline
#8 2017-11-14 20:28:23
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: Test of the last 4.7
Here the js error from chrome. Site with last patch. Errors again …
VM455:1 Uncaught SyntaxError: Unexpected token <
at p (jquery.js:2)
at Function.globalEval (jquery.js:2)
at text script (jquery.js:4)
at Qb (jquery.js:4)
at A (jquery.js:4)
at XMLHttpRequest.<anonymous> (jquery.js:4)
p @ jquery.js:2
globalEval @ jquery.js:2
text script @ jquery.js:4
Qb @ jquery.js:4
A @ jquery.js:4
(anonymous) @ jquery.js:4
XMLHttpRequest.send (async)
send @ jquery.js:4
ajax @ jquery.js:4
n @ jquery.fileupload.min.js:1
_chunkedUpload @ jquery.fileupload.min.js:1
(anonymous) @ jquery-ui.js:6
p @ jquery.fileupload.min.js:1
_onSend @ jquery.fileupload.min.js:1
(anonymous) @ jquery-ui.js:6
i.submit @ jquery.fileupload.min.js:1
add @ textpattern.js:1824
_trigger @ jquery-ui.js:6
(anonymous) @ jquery.fileupload.min.js:1
each @ jquery.js:2
_onAdd @ jquery.fileupload.min.js:1
(anonymous) @ jquery-ui.js:6
add @ jquery.fileupload.min.js:1
(anonymous) @ jquery-ui.js:6
(anonymous) @ jquery-ui.js:6
each @ jquery.js:2
each @ jquery.js:2
t.fn.(anonymous function) @ jquery-ui.js:6
(anonymous) @ textpattern.js:1842
dispatch @ jquery.js:3
q.handle @ jquery.js:3
Offline
Re: Test of the last 4.7
I’ve made another fix attempt, please check. FWIW, it consists to reduce chunks size by the (empirically guesstimated) extra data size, to fit into max post size.
Offline
#10 2017-11-15 14:11:06
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: Test of the last 4.7
Fine !
Upload of 5 files at the same time, from 40Mo to 430Mo without bug or error !
Thanks Oleg !
Offline
Pages: 1