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?
Can't change the file upload size
-
- Advanced user
- Posts: 18
- Joined: Thu Jan 29, 2009 5:24 pm
-
- Advanced user
- Posts: 18
- Joined: Thu Jan 29, 2009 5:24 pm
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:
Write to google exact message you receive as error if it doesn't help.
* 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