MOST RESOLVED The server closed the connection
Posted: 13. December 2013 23:02
Getting this error, and not sure how to resolve please?
File is .csv and 8meg
The server closed the connection without sending any data.
This wrror was using CHROME
This is Firefox:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24 bytes) in E:\xampp\phpMyAdmin\libraries\import.lib.php on line 511
1) 1.8.0 XAMPP new install Windows 2003 Server R2
2) php.ini had 2 meg upload core set and gave me error.
3) I know have the following:
upload_max_filesize = 32M
memory_limit = 128M
post_max_size = 48M
max_execution_time = 300 /* was 30 */
max_input_time = 600 /* was 60 */
*****************
Lines 507 - 527
File is .csv and 8meg
The server closed the connection without sending any data.
This wrror was using CHROME
This is Firefox:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24 bytes) in E:\xampp\phpMyAdmin\libraries\import.lib.php on line 511
1) 1.8.0 XAMPP new install Windows 2003 Server R2
2) php.ini had 2 meg upload core set and gave me error.
3) I know have the following:
upload_max_filesize = 32M
memory_limit = 128M
post_max_size = 48M
max_execution_time = 300 /* was 30 */
max_input_time = 600 /* was 60 */
*****************
Lines 507 - 527
- Code: Select all
/**
* If the cell is NULL, don't treat it as a varchar
*/
if (! strcmp('NULL', $cell)) {
return $last_cumulative_size;
}
/**
* What to do if the current cell is of type VARCHAR
*/
elseif ($curr_type == VARCHAR) {
/**
* The last cumulative type was VARCHAR
*/
if ($last_cumulative_type == VARCHAR) {
if ($curr_size >= $last_cumulative_size) {
return $curr_size;
} else {
return $last_cumulative_size;
}
}