razor_x
28th May 2004 15:14 UTC
NSISdl problem
I keep getting "server did not specify content header length".I am assuming this has to do with the PHP set-up on the server,but as I cant make changes to the server software is there anyway for me to use this plug-in?or am i just stuck?
b_avery@yahoo.c
28th May 2004 19:53 UTC
Can you download maunally what you are after from the server?
zimsms
28th May 2004 20:06 UTC
Have you tried the updated nsisdl plugin?
Updated Plugin Thread
I haven't had any of these problems, so I'm not sure if this will solve your problems. However, if you do a search in the forum for "nsisdl" you will find lots of threads.
Cheers!
razor_x
28th May 2004 21:50 UTC
Originally posted by b_avery@yahoo.c
Can you download maunally what you are after from the server?
ya I can dl manually no problems...just when I use the plugin i get "server did not specify content length"
@zimsms thanks for the suggestion but same result.
seems NSISdl.dll cant negotiate default php settings?
and ya ive searched.Only a couple obscure references to this problem but nothing concrete.
razor_x
30th May 2004 10:48 UTC
"server did not specify content header length".
anyone? ....anyone know why i get this and can i do anything?
Joost Verburg
30th May 2004 10:55 UTC
The NSISdl plug-in requires the content length HTTP header. If you have dynamic PHP content you'll have to put the length of your data in a variable and you should send that header manually.
razor_x
31st May 2004 16:28 UTC
thxz joost for the reply...could you please supply a simple example? this action doesn't seem to be documented anywhere...and there's no real explaination i can find anywhere on this.Dynamic PHP should be fairly common....
Joost Verburg
31st May 2004 19:32 UTC
See the bottom of this script for an example:
http://cvs.sourceforge.net/viewcvs.p...30&view=markup
razor_x
1st June 2004 16:40 UTC
link gives a "bad gateway" error...
Joost Verburg
1st June 2004 16:59 UTC
That's because of SourceForge server maintenance, try again later.
razor_x
2nd June 2004 18:47 UTC
hmm..maintenance seems to be taking a long time....is there a simple example that can just be attached or added to post?basically the syntax of how the header lenghth is added to a NSIS script?I dont think my case is unique...would be handy knowledge to be able to use the plugin to dl from a standard invision board.