Welcome Guest, Not a member yet? Register   Sign In
upload jpg problem
#7

[eluser]Evil Wizard[/eluser]
just as a test, because I have had issues with the upload class before, change the file type of the jpg image to, say a doc file type. The upload class doesn't look too carefully at the actual mime type of the uploaded file, only that the file extension is in the allowed files list. After, try changing the file type of one of the other images (gif or png) to the name of the jpg that won't upload. That should let you know if the problem is with the file type or the specific file. Also check that the path in ...
Code:
$config['upload_path'] = 'imgs/content/'.$nome_autor;
is actually valid and writable, you could get more feedback if you did a var_dump on the upload class display_errors method after the upload fails.


Messages In This Thread
upload jpg problem - by El Forum - 05-14-2009, 03:43 AM
upload jpg problem - by El Forum - 05-14-2009, 03:50 AM
upload jpg problem - by El Forum - 05-14-2009, 03:54 AM
upload jpg problem - by El Forum - 05-14-2009, 04:00 AM
upload jpg problem - by El Forum - 05-14-2009, 04:06 AM
upload jpg problem - by El Forum - 05-14-2009, 05:55 AM
upload jpg problem - by El Forum - 05-14-2009, 10:16 AM
upload jpg problem - by El Forum - 05-19-2009, 05:48 AM
upload jpg problem - by El Forum - 05-28-2009, 03:19 PM
upload jpg problem - by El Forum - 05-29-2009, 05:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB