Problem Downloading big file " file not found..." (SOLVED)

Talk about anything that doesn't fit in the other catagories :) (and of course is about Group-Office)

Moderator: Developers

Problem Downloading big file " file not found..." (SOLVED)

Postby mbarroso » Mon Oct 11, 2010 3:06 pm

Hello,
I need help to understand what's going on when I try to download Big files from the module FILE.
I can download all files under 10mb but not the big files, I have the follow error:

http://zzzxxxx.com/groupoffice/modules/ ... oad&id=558

file not found!!!! (ERR_FILE_NOT_FOUND)


I set in the configuration file of groupoffice config.php the follow parameter:

$config['max_file_size']="10000000000";
...

$config['max_attachment_size']="10000000000";

with this configuration I can Upload big files but I can't download.

The users are shared the directories and I try to download as well as admin but I have the same problem. I try to put the permission to the file to 777, but nothing is change, I try to use GOTA ( Group Office Transfer Agent 1.0.4. ) but the same result.

the version that are using is the full version (payed) Version Group Office : 3.4.12

could you help me to find a solution?
do you need more details?
Thanks a lot in advance for your help
Regards
Last edited by mbarroso on Thu Oct 21, 2010 9:52 am, edited 1 time in total.
mbarroso
 
Posts: 16
Joined: Mon Oct 11, 2010 2:46 pm

Re: Problem Downloading big file " file not found..."

Postby Intermesh » Fri Oct 15, 2010 7:17 am

Do you have output_buffering enabled in php.ini?
Best regards,

Merijn Schering
Intermesh
User avatar
Intermesh
Site Admin
 
Posts: 7133
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch

Re: Problem Downloading big file " file not found..."

Postby mbarroso » Fri Oct 15, 2010 2:33 pm

I change output_buffering to On insted of the default value 4096. I restart the httpd but nothig is chenged. Do you have any other ideas?
Thanks a lot for you help.
Regards
mbarroso
 
Posts: 16
Joined: Mon Oct 11, 2010 2:46 pm

Re: Problem Downloading big file " file not found..."

Postby mbarroso » Fri Oct 15, 2010 2:45 pm

Hello I run the gotest and I found the follow warning:

Group-Office test script

Output buffering : Warning: output_buffering is enabled. This will increase memory usage might cause memory errors
Memory limit : Warning: Your memory limit setting (16.0 MB) is less then 32MB. It's recommended to allow at least 32 MB


I don't understood where I have to change the memory limit.
Could be this configuration the causes of the problem that I have?

Thanks a lot again for your help
mbarroso
 
Posts: 16
Joined: Mon Oct 11, 2010 2:46 pm

Re: Problem Downloading big file " file not found..."

Postby mbarroso » Fri Oct 15, 2010 4:20 pm

OK, I found the solution. In the file php.ini I chenged also the memory limit from 16MB to 128MB and everything in OK now.
Thanks a lot any way for the help.

PROBLEM SOLVED!!!

bye
mbarroso
 
Posts: 16
Joined: Mon Oct 11, 2010 2:46 pm

Re: Problem Downloading big file " file not found..."

Postby Intermesh » Mon Oct 18, 2010 9:04 am

You should disable output_buffering. Because of output buffering PHP buffers the entire file when downloading it.
Best regards,

Merijn Schering
Intermesh
User avatar
Intermesh
Site Admin
 
Posts: 7133
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch

Re: Problem Downloading big file " file not found..."

Postby mbarroso » Mon Oct 18, 2010 9:42 am

Done, Thank a lot.
bye
mbarroso
 
Posts: 16
Joined: Mon Oct 11, 2010 2:46 pm


Return to Group-Office main discussion

Who is online

Users browsing this forum: No registered users and 1 guest