Can't change the file upload size

The release related discussions, plans and questions.

Can't change the file upload size

Postby tlinkjira » Thu Jan 29, 2009 12:06 am

I have changed
define ('TL_IMPORT_LIMIT', 10485760) in custom.config
and
upload_max_file_size =10M in php.ini

then restarted Apache

but still can't upload a bigger file. any suggestions?
tlinkjira
TestLink user
 
Posts: 9
Joined: Thu Jan 29, 2009 12:02 am

Postby havlatm » Wed Feb 04, 2009 11:57 am

There is also limit for size of one line.
havlatm
Member of TestLink Community
 
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Postby tlinkjira » Wed Feb 04, 2009 6:14 pm

Well, I'm just trying to change the max size. What's the max size of file upload in 1.7.4 and how do we exactly make that change in config.

Test Link is a great tool. You guys have done great work. Hats off to you.
tlinkjira
TestLink user
 
Posts: 9
Joined: Thu Jan 29, 2009 12:02 am

Postby unixadmin007 » Thu Feb 05, 2009 6:32 am

change limit in your php.ini file, by default its 2MB
unixadmin007
Advanced user
 
Posts: 18
Joined: Thu Jan 29, 2009 5:24 pm

Postby tlinkjira » Thu Feb 05, 2009 5:20 pm

I have already made following change

define ('TL_IMPORT_LIMIT', 10485760) in custom.config
and
upload_max_file_size =10M in php.ini

what else I need to change. This is in 1.7.4.
tlinkjira
TestLink user
 
Posts: 9
Joined: Thu Jan 29, 2009 12:02 am

Postby unixadmin007 » Thu Feb 05, 2009 5:25 pm

u changed it to your TL configuration, but you need to change in PHP setting as well, locate php.ini file and search for ; Maximum allowed size for uploaded files.
upload_max_filesize =
and change it to 10M
unixadmin007
Advanced user
 
Posts: 18
Joined: Thu Jan 29, 2009 5:24 pm

Postby havlatm » Wed Feb 11, 2009 9:54 am

You can call the phpinfo() function to find the location of your php.ini file, it will also tell you the current values for the following settings that we need to modify

* file_uploads
* upload_max_filesize
* max_input_time
* memory_limit
* max_execution_time
* post_max_size

TestLink has only these two maxima:
Code: Select all
/** some maxima related to importing stuff in TL */
// Maximum uploadfile size
// Also check your PHP settings (default is usually 2MBs)
define('TL_IMPORT_LIMIT', '204800'); // in bytes

/** maximum line size of the imported file */
define('TL_IMPORT_ROW_MAX', '10000'); // in chars


Write to google exact message you receive as error if it doesn't help.
havlatm
Member of TestLink Community
 
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech


Return to TestLink 1.7 (Closed)



Who is online

Users browsing this forum: No registered users and 0 guests

cron