Lines Matching refs:error
42 else { echo "error cant write $file".PHP_EOL;exit(1); }
45 if ($md5!="07dd8594450e8c18ab8a79d7cb4573c7") { echo "md5 error".PHP_EOL;exit(1); }
48 if ($width!=1) { echo "width error".PHP_EOL;exit(1); }
49 if ($height!=1) { echo "height error".PHP_EOL;exit(1); }
50 if ($type!=2) { echo "type error".PHP_EOL;exit(1); }
51 if (!isset($info["APP0"])) { echo "APP0 error".PHP_EOL;exit(1); }
64 if (md5(base64_encode($iptc))!="7056c4b3060f92a4f9e5b7d0caa61859") { echo "iptc md5 error".PHP_EOL;…
70 if ($content === false) {echo "iptcembed error".PHP_EOL;exit(1); }
73 else { echo "error cant write $file2".PHP_EOL;exit(1); }
79 if ($ret===false) { echo "getimagesize error".PHP_EOL;exit(1); }
81 if ($width!=1) { echo "width error".PHP_EOL;exit(1); }
82 if ($height!=1) { echo "height error".PHP_EOL;exit(1); }
83 if ($type!=2) { echo "type error".PHP_EOL;exit(1); }
84 if (!isset($info["APP0"])) { echo "APP0 error".PHP_EOL;exit(1); }
85 if (!isset($info["APP13"])) { echo "APP13 error".PHP_EOL;exit(1); }
87 $error=0;
92 echo "error iptc tag $tag not found".PHP_EOL;
93 $error++;
97 … echo "error tag $tag : bad value ($string != ".$iptc_data_from_created_image[$tag][0].")".PHP_EOL;
98 $error++;
105 if ($error==0) { echo "OK".PHP_EOL;exit(0);}
106 echo "something wrong: $error errors".PHP_EOL;