Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
Adrenalizer3
Regular
Regular



Joined: Jun 22, 2003
Posts: 54

PostPosted: Wed Feb 17, 2010 12:50 pm Reply with quote

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 
View user's profile Send private message
Adrenalizer3







PostPosted: Wed Feb 17, 2010 12:53 pm Reply with quote

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 
wHiTeHaT
Life Cycles Becoming CPU Cycles



Joined: Jul 18, 2004
Posts: 579

PostPosted: Wed Feb 17, 2010 1:28 pm Reply with quote

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.
 
View user's profile Send private message Send e-mail
Adrenalizer3







PostPosted: Wed Feb 17, 2010 1:33 pm Reply with quote

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.
 
wHiTeHaT







PostPosted: Wed Feb 17, 2010 2:51 pm Reply with quote

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.
 
Adrenalizer3







PostPosted: Wed Feb 17, 2010 3:00 pm Reply with quote

Thanks for the reply.
I havent changed any files. Thats the thing. It's a brand new install of RNv2.4
 
wHiTeHaT







PostPosted: Wed Feb 17, 2010 3:24 pm Reply with quote

switch to a default theme comming with ravennuke and try all again.

For the upload files stuff i mean
 
Adrenalizer3







PostPosted: Wed Feb 17, 2010 6:36 pm Reply with quote

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.
 
Adrenalizer3







PostPosted: Thu Feb 18, 2010 2:39 am Reply with quote

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 Wink 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.
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Thu Feb 18, 2010 8:18 am Reply with quote

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!
 
View user's profile Send private message
Adrenalizer3







PostPosted: Thu Feb 18, 2010 12:05 pm Reply with quote

No problemo. Any idea what the HTTP1.1 switches do as far as cruising the internet?
 
wHiTeHaT







PostPosted: Thu Feb 18, 2010 1:33 pm Reply with quote

@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!
 
wHiTeHaT







PostPosted: Thu Feb 18, 2010 1:41 pm Reply with quote

oww yeahhhhh and for a little fun... scroll 4 post down ...lol
 
Adrenalizer3







PostPosted: Thu Feb 18, 2010 3:04 pm Reply with quote

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.
 
Adrenalizer3







PostPosted: Thu Feb 18, 2010 3:17 pm Reply with quote

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
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©