The headers from the Linux server where it works aren't much different.$im = imagecreatefrompng(pic1.png);That line has a syntax error, you need to quote the filename. Try to write better, more principled code. Check for extra whitespace in the PHP file. The permissions for the domain are not restricted. his comment is here
How can an advanced (circa 7000 AD) spacefaring human civilization be prevented from entering its own solar system? And if I have to guess, I'd go for Headers already sent :) –Wouter Huysentruit Aug 13 '13 at 11:31 @Marek I'm downloading image file(open in text editor), but I've already enabled php_gd2.dll and memory_limit in php.ini is also 128M. Portions of this content are ©1998–2016 by individual mozilla.org contributors. news
share|improve this answer answered Nov 22 '14 at 3:57 Roberto M. 12 thanks for your answer but problem was in my apache server configuration. –Saleh Salehizadeh Jan 6 '15 This causes the webserver to report the wrong mime-type. Does pic1.gif exist in the same directory? Learn from the classics in the field and the better advanced textbooks; don't be satisfied with the easily digested "how to" guides and online documentation - it's shallow.-- Bjarne StroustrupHe that
Password Register FAQ Community Calendar Today's Posts Search Community Links Social Groups Pictures & Albums Members List Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... It's just more sensible and reliable to have two files. –Gordon Aug 2 '10 at 8:39 add a comment| up vote 9 down vote If you base64 encode the output, you Build me a brick wall! The Image Cannot Be Displayed Because It Contains Errors Asp Net Quote Postby luzuyr » 21 Mar 2016, 19:58 Saved "generated" by public.php image: http://rghost.net/75BhzK8PQWhich package is command hd from?
Join them; it only takes a minute: Sign up PHP GD: The image cannot be displayed because it contains errors up vote 1 down vote favorite I try to make Captcha Jpg Cannot Be Displayed Because It Contains Errors Why are wavelengths shorter than visible light neglected by new telescopes? The first suggestion should have been to remove the header() line and look at the error messages that probably are shown. –fschmengler Feb 17 '13 at 9:53 Do you http://stackoverflow.com/questions/18207352/the-image-cannot-be-displayed-because-it-contains-errors-image-generator Last edited by luzuyr on 21 Mar 2016, 21:05, edited 2 times in total.
I went to "Tools > Page Info > Media" and the image was not blocked. The Image Cannot Be Displayed Because It Contains Errors Wordpress Know what you are doing, that it works, and why it works. It does find the image because if i change the filename it gives me file-get_content error. We solved the problem by manually upgrading with "yum update libtiff".
Is there still a way to prevent Trump from becoming president? this content Please ask a new question if you need help. I have 2.0.28 and see the same behavior as you. If ESR picked up a bug from Firefox 24, it'll never be fixed (except when ESR jumps to Firefox 31, that is). ''Bugefun wrote:'' It gives me that error when I The Image Cannot Be Displayed Because It Contains Errors Imgur
Login with github. PHP is sending a connection header, but that shouldn't cause a problem. very helpful tip! weblink Quote Postby fox » 21 Mar 2016, 19:24 try saving the file that results in opening that URL and looking inside, the answer is probably there, most likely a PHP or
Just start your document with At our site we experienced this problem too, on a Scientific Linux release 6.3 with firefox-24.5.0-1.el6_5.i686.
Can a text in Latin be understood by an educated Italian who never had any formal teaching of that language? Possible repercussions from assault between coworkers outside the office An attempt to make a linked list iterator "safe" My cat sat on my laptop, now the right side of my keyboard Possible repercussions from assault between coworkers outside the office What is the meaning of \meaning? The Image Cannot Be Displayed Because It Contains Errors Java What is a satisfactory result of penetration testing assessment?
You need to take the steps appropriate to your editor to remove any BOM. Chosen solution Bugefun wrote: I'm using Firefox ESR 24.5.0 Can you try the latest release version? Try to add error_reporting( E_ALL ); ini_set( 'display_errors', 1 ) on top of your page –kjetilh Feb 17 '13 at 9:59 I tried removing the header line, The screen check over here Last edited by Tarick; 23-10-2007 at 16:15.
share|improve this answer edited Aug 2 '10 at 8:05 answered Aug 2 '10 at 8:00 Johan 3,1012241 Sorry i didn't understand. I'll upload to a Linux server to test there as well and check the versions.GIF output works correctly on a Linux server with GD 2.0.34.Are you running this on a Windows Would we find alien music meaningful? Try to write better, more principled code.