Page 1 of 1

Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 7:02 am
Author: .QUACK.Major.Pain
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

When I upload .rar and.zip files in FTP or cPanel, when downloaded and opened, they are always corrupt.

Getting these error:

! Seek error in the file C:Documents and SettingsBreckDesktopCOOLSAT6000_NORW_147_20070818.zip
! An attempt was made to move the file pointer before the beginning of the file.


Seem to be getting errors on everything I upload.

Re: Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 7:39 am
Author: Helter
do you have the same errors if you just zip and unzip?

Re: Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 8:01 am
Author: .QUACK.Major.Pain
No - I can zip a group of files and re-open it OK
Just a problem when uploaded and downloaded.

I found in the past that .zip worked no and then but .rar never seem to work.

Re: Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 9:09 am
Author: Helter
run cookieMOD for all of your sites.

Re: Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 9:28 am
Author: .QUACK.Major.Pain
What and where is cookie mod?

PostPosted: Sat Aug 18, 2007 1:57 pm
Author: tmotley

Re: Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 2:15 pm
Author: .QUACK.Major.Pain
Thx tmotley.

Re: Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 2:20 pm
Author: .QUACK.Major.Pain
I tried it and got a bunch of errors:


Warning: main() [function.main]: Unable to access ./../extension.inc in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 24

Warning: main(./../extension.inc) [function.main]: failed to open stream: No such file or directory in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 24

Warning: main() [function.main]: Unable to access ./../extension.inc in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 24

Warning: main(./../extension.inc) [function.main]: failed to open stream: No such file or directory in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 24

Warning: main() [function.include]: Failed opening './../extension.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 24

Warning: main() [function.main]: Unable to access ./../common. in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 25

Warning: main(./../common.) [function.main]: failed to open stream: No such file or directory in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 25

Warning: main() [function.main]: Unable to access ./../common. in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 25

Warning: main(./../common.) [function.main]: failed to open stream: No such file or directory in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 25

Warning: main() [function.include]: Failed opening './../common.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 25

Fatal error: Call to undefined function: session_pagestart() in /home4/stuffupf/public_html/myfriendsareyourfriends/forum/cookie.php on line 33

Could it be because I have my forum setup http://www.myfriendsareyourfriends.com/forum/?

Re: Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 2:23 pm
Author: .QUACK.Major.Pain
Actually I only uploaded the file and not the entire folder.
Got it working, but got CT error.
Debugging it now.

Re: Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 2:35 pm
Author: .QUACK.Major.Pain
Would this cookieMOD work for my site http://www.stuffupforgrab.com?

My issue is with my files uploaded to http://www.stuffupforgrab.com/downloads/ folder.
The .zip and .rar files are the ones giving errors.
I can upload and download the files unzipped without any problem, it's just the compressed.
Everyone else gets the same errors downloading files I upload.

Re: Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 3:21 pm
Author: Helter
create a folder in your web root. Name it anything. upload a zipped file to it. In your browser, go to http://www.yoursite.com/the_new_folder/the_filename.zip

if it is also corrupted, then I would look to apache and ask your host.

Re: Problem uploading .rar and .zip files

PostPosted: Sat Aug 18, 2007 3:58 pm
Author: .QUACK.Major.Pain
Tried that and got the same errors when unzippiing.

Re: Problem uploading .rar and .zip files

PostPosted: Tue Aug 21, 2007 5:50 pm
Author: .QUACK.Major.Pain
Would transferring files in ascii be the cause of the errors?

Also would the downloads folder CHMOD have to be changed or is that OK as it is?

Re: Problem uploading .rar and .zip files

PostPosted: Tue Aug 21, 2007 8:57 pm
Author: Helter
normally the upload folder must be 777, but I believe your server is setup differently, so yours should be 755

Re: Problem uploading .rar and .zip files

PostPosted: Tue Aug 21, 2007 9:02 pm
Author: .QUACK.Major.Pain
Would the wrong CHMOD or transferring in ascii cause these problems?

Re: Problem uploading .rar and .zip files

PostPosted: Tue Aug 21, 2007 9:15 pm
Author: Helter
i dont know if it should be ASCII or Binary. I always use auto select.

i dont know what errors you will recieve using suexec and incorrect chmods other than page not found errors

Re: Problem uploading .rar and .zip files

PostPosted: Wed Aug 22, 2007 4:44 am
Author: .QUACK.Major.Pain
Ok - I was told for uploading pictures to my server, it had to set to Ascii