Jump to content

cricket

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by cricket

  1. I've set memory_limit same as post_max_size and upload_max_filesize to recreate the case on test server. In conclusion, memory_limit is the cause of upload failure. Memory_limit should be increased to accommodate upload and other functions. It is why small files upload just fine, but large files not. Problem solved.
  2. Result of 50MB file upload via InputfieldFile ---------Firefox upload test----------------------------------------------------------- Progress bar stalls at 99% ---------Console output----------- [22:28:41.797] SyntaxError: JSON.parse: unexpected character @ .../wire/modules/Jquery/JqueryCore/JqueryCore.js?v=162:16 ----------PHP error log---------- [00:28:41] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 50000001 bytes) in Unknown on line 0 [00:30:10] PHP Warning: Unknown: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/pws/:/home/pws/store/openssl/) in Unknown on line 0 [00:30:10] PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0 ---------Chrome upload test------------------------------------------------------------ Progress bar stalls at 100% ---------Console output----------- Failed to load resource: the server responded with a status of 404 (Page Not Found) Uncaught SyntaxError: Unexpected token < JqueryCore.js:16 e.extend.parseJSON JqueryCore.js:16 $.parent.each.fileData InputfieldFile.js:171 ----------PHP error log---------- [01:15:41] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 50000001 bytes) in Unknown on line 0 --------IE upload test------------------------------------------------------------ Upload doesn't begin; Ajax doesn't function.
  3. Hi everyone, I face same problem with file upload. The ajax processed small file without a problem (around 3MB), but when it is time for large files (greater than 6MB) it stalls at 99%. FF console outputs error 'JSON.parse: unexpected character'. My share hosting limits at Hostgator safe mode = Off (cannot adjust) memory_limit = 256M (MAXIMUM) max_execution_time = 30 (MAXIMUM in seconds) max_input_time = 60 (MAXIMUM in seconds) post_max_size = 64M (MAXIMUM) upload_max_filesize = 64M (MAXIMUM) enable_dl = Off (cannot adjust) File is below 64MB limit. What could it be?
×
×
  • Create New...