Author |
Message |
Adrenalizer3
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 22, 2003
Posts: 54
|
Posted:
Wed Feb 17, 2010 12:50 pm |
|
I havent had any replies on my last post and it really is a seperate issue from my other post so I thought I would post it as a new topic and try and explain it better.
When testing this with two other people this is how a zipped file that has been uploaded to my website is behaving.
- Upload zipped attachment - (GOOD)
-When a member or me tries to download the zipped file, it open in a new window as it should and asked if you want to open, save, or cancel as it should.
-When you try and open or save (doesnt matter using winzip, winrar,z7 when uploading or opening) You get a error like this: ! C:\Users\myname\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\RSWA5AR3\Desert[1].rar: Unexpected end of archive
-The original zipped file was Desert.jpg and uploaded as Desert.rar Not sure if The CRC is coming up as CRC 000000.I talked with my host provider to find out if it was something I was missing and he had me FTP to my upload file folder and copy the zipped filed to another location other than where the original zip file was uploaded from and open it. It opened up and saved just fine. He then said it was something within the scripting causing the error. So here I am.
Thanks for any help. I really need this feature to work properly but I am stummped. |
Last edited by Adrenalizer3 on Thu Feb 18, 2010 2:40 am; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Adrenalizer3
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 17, 2010 12:53 pm |
|
BTW...This was a brand new installation with no changes except to get rid of the symbols at the top of the page and of course the basic site setup stuff.
Also, I went back into FTP to my upload and I noticed I had three copies of The Desert zipped file listed like this.
desert_128.rar
desert_133.rar
desert_150.rar
So, I guess I need to know why does it get renamed from Desert.rar to desert_128, and why would there be multiple copies all named differently when Ive only uploaded it once, and where does the [1].rar come in when it shows corrupted?
One more thing I noticed...When you add the zipped file and hit the preview button, everything works fine and opens and saves at it should. It's only when you hit the submit button that has this corruption issue.
Thanks again |
Last edited by Adrenalizer3 on Wed Feb 17, 2010 1:28 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jul 18, 2004
Posts: 579
|
Posted:
Wed Feb 17, 2010 1:28 pm |
|
Do you download the files true the download module?
If not , and it is a direct download , then your system is corrupt.
If not, and you try a direct download , what then?
Let someone else upload the files for you and then try again.
(Raven)nuke is used for so long , and such bug report was never came across my eye,for what i can remember. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Adrenalizer3
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 17, 2010 1:33 pm |
|
I do use the forums upload mod. And I have had others upload a zipped file or a rar file or a z7. It doesnt matter. Everything works as it should when you preview the post. It's some time after you hit the submit button that this is happening. If I ftp to that folder and copy it to my HD it will open right. But if someone is in my forums, and they try and download it it comes up as corrupted. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 17, 2010 2:51 pm |
|
I dont now how the attachment mod is installed in phpbb2 , i t was a longtime ago we used it.
You might want to check the files that you changed, once again.
probaly somethings wrong with the header cache. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Adrenalizer3
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 17, 2010 3:00 pm |
|
Thanks for the reply.
I havent changed any files. Thats the thing. It's a brand new install of RNv2.4 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 17, 2010 3:24 pm |
|
switch to a default theme comming with ravennuke and try all again.
For the upload files stuff i mean |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Adrenalizer3
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 17, 2010 6:36 pm |
|
Thanks for the reply, that didnt do anything. Still same issue. I tried a few default themes.
No php guru's have this RN2.4 installed? If you do are your uploads working fine? If so, care to help with this? I have used this site for the last 8-10 years and I have always found a solution to all my problems.. Would someone care to take a peak at it? It's a new site so it's really no big deal.
Thanks guys. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Adrenalizer3
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 18, 2010 2:39 am |
|
Well, I finally solved the problem after hours and hours of reading everyones fixes out in the big WWW. It all started with my zlib settings in php.ini file. (fix didnt work) but it lead me to his next solution that did. It seems to be a IE issue in the advanced settings. If you uncheck HTTP1.1 and HTTP1.1 through proxy connections, clear temp files, everything works like a charm So i'm not sure how important these setting are to have checked as enabled but maybe someone can shed some light for me. Also, maybe there is something I can add to RN2.4 somewhere that would fix this? Maybe help someone else having this issue in the future.
BTW... His post also stated that FF and chrome opened the files perfectly and that it was only IE6,7,and 8 that gave the corrupted error messages when trying to download from the server. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Thu Feb 18, 2010 8:18 am |
|
Thanks for the followup, Adrenalizer3. Glad you resolved it, and I'm sure this will be helpful to someone else. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Adrenalizer3
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 18, 2010 12:05 pm |
|
No problemo. Any idea what the HTTP1.1 switches do as far as cruising the internet? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 18, 2010 1:33 pm |
|
@Adrenalizer3
I think i found the fix you really need , it is a old phpbb forum post from our wel respected friend floppydrive.
goto modules/Forums/ and open download.php
assumning you have the exact file as i ...goto line 202 and spot:
Code:readfile($filename);
|
Replace with
Code:header("Location: $filename");
|
I suspect this is the real fix for you , as i already had the idea it is couse of the header cache.
If it works (i'm 100% it will) , all credits to floppydrivez
Only registered users can see links on this board! Get registered or login! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wHiTeHaT
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 18, 2010 1:41 pm |
|
oww yeahhhhh and for a little fun... scroll 4 post down ...lol |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Adrenalizer3
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 18, 2010 3:04 pm |
|
LOL---Wow the four posts down made my day. Too funny.
BTW trying fix now and will report back.
Thank you so much for helping WhiteHat. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Adrenalizer3
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 18, 2010 3:17 pm |
|
That seems to be working my friend. I enabled my two HTTP1.1 settings and tried the download and it worked. So yes, this is the REAL FIX and the answer I was looking for. Thank you again...I might actually get a good nights sleep now ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|