This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
phptsmadmin/includes/jpgraph/docs/chunkhtml/aph.html

23 lines
56 KiB
HTML
Raw Normal View History

2011-05-28 09:51:52 +00:00
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Appendix H. Error messages</title><link rel="stylesheet" type="text/css" href="manual.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.0"><link rel="home" href="index.html" title="JpGraph Manual"><link rel="up" href="pt09.html" title="Part IX. Appendices"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Appendix H. Error messages</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center">Part IX. Appendices</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="appendix" title="Appendix H. Error messages"><div class="titlepage"><div><div><h2 class="title"><a name="app.err-msg"></a>Appendix H. Error messages</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="aph.html#id2646869">H.1. Core error messages</a></span></dt><dt><span class="sect1"><a href="aphs02.html">H.2. QR 2D Barcode error messages</a></span></dt><dt><span class="sect1"><a href="aphs03.html">H.3. Datamatrix 2D barcode error messages</a></span></dt></dl></div>
<p> This list have all error messages that can be thrown by the library. In addition to the
English locale there is also a German translation (See <a class="xref" href="ch06s02.html#sec2.localizing-errmsg" title="Localizing error messages">Localizing error messages</a>). Most error messages takes one (or several
argument that gives additional specific information and the placeholder in the error
messages shows where this additional information should be placed. </p>
<p>For more general information on error handling we refer to <a class="xref" href="ch06.html" title="Chapter 6. Error handling">Chapter 6. <i>Error handling</i></a></p>
<div class="sect1" title="Core error messages"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2646869"></a>Core error messages</h2></div></div></div>
<p>The following tables lists all error messages that can be generated by standard core
graphs types</p>
<p>
</p><div class="table"><a name="id2646887"></a><p class="title"><b>Table H.1. English error messages</b></p><div class="table-contents">
<table summary="English error messages" border="0"><colgroup><col class="c1"><col class="c2"></colgroup><thead><tr><th> Error code </th><th> Error message </th></tr></thead><tbody><tr><td><code class="code">10</code></td><td class="errmsg">&lt;table border="1"&gt;&lt;tr&gt;&lt;td style="color:darkred; font-size:1.2em;"&gt;&lt;b&gt;JpGraph Error:&lt;/b&gt;
HTTP headers have already been sent.&lt;br&gt;Caused by output from file &lt;b&gt;%s&lt;/b&gt; at line &lt;b&gt;%d&lt;/b&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Explanation:&lt;/b&gt;&lt;br&gt;HTTP headers have already been sent back to the browser indicating the data as text before the library got a chance to send it's image HTTP header to this browser. This makes it impossible for the library to send back image data to the browser (since that would be interpretated as text by the browser and show up as junk text).&lt;p&gt;Most likely you have some text in your script before the call to &lt;i&gt;Graph::Stroke()&lt;/i&gt;. If this texts gets sent back to the browser the browser will assume that all data is plain text. Look for any text, even spaces and newlines, that might have been sent back to the browser. &lt;p&gt;For example it is a common mistake to leave a blank line before the opening "&lt;b&gt;&amp;lt;?php&lt;/b&gt;".&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</td></tr><tr><td><code class="code">11</code></td><td class="errmsg">No path specified for CACHE_DIR. Please specify CACHE_DIR manually in jpg-config.inc</td></tr><tr><td><code class="code">12</code></td><td class="errmsg">No path specified for TTF_DIR and path can not be determined automatically. Please specify TTF_DIR manually (in jpg-config.inc).</td></tr><tr><td><code class="code">13</code></td><td class="errmsg">The installed PHP version (%s) is not compatible with this release of the library. The library requires at least PHP version %s</td></tr><tr><td><code class="code">1001</code></td><td class="errmsg">Unknown encoder specification: %s</td></tr><tr><td><code class="code">1002</code></td><td class="errmsg">Data validation failed. Can't encode [%s] using encoding "%s"</td></tr><tr><td><code class="code">1003</code></td><td class="errmsg">Internal encoding error. Trying to encode %s is not possible in Code 128</td></tr><tr><td><code class="code">1004</code></td><td class="errmsg">Internal barcode error. Unknown UPC-E encoding type: %s</td></tr><tr><td><code class="code">1005</code></td><td class="errmsg">Internal error. Can't encode character tuple (%s, %s) in Code-128 charset C</td></tr><tr><td><code class="code">1006</code></td><td class="errmsg">Internal encoding error for CODE 128. Trying to encode control character in CHARSET != A</td></tr><tr><td><code class="code">1007</code></td><td class="errmsg">Internal encoding error for CODE 128. Trying to encode DEL in CHARSET != B</td></tr><tr><td><code class="code">1008</code></td><td class="errmsg">Internal encoding error for CODE 128. Trying to encode small letters in CHARSET != B</td></tr><tr><td><code class="code">1009</code></td><td class="errmsg">Encoding using CODE 93 is not yet supported.</td></tr><tr><td><code class="code">1010</code></td><td class="errmsg">Encoding using POSTNET is not yet supported.</td></tr><tr><td><code class="code">1011</code></td><td class="errmsg">Non supported barcode backend for type %s</td></tr><tr><td><code class="code">2001</code></td><td class="errmsg">Number of colors is not the same as the number of patterns in BarPlot::SetPattern()</td></tr><tr><td><code class="code">2002</code></td><td class="errmsg">Unknown pattern specified in call to BarPlot::SetPattern()</td></tr><tr><td><code class="code">2003</code></td><td class="errmsg">Number of X and Y points are not equal. Number of X-points: %d Number of Y-points: %d</td></tr><tr><td><code class="code">2004</code></td><td class="errmsg">All values for a barplot must be numeric. You have specified value nr [%d] == %s</td></tr><tr><td><code class="code">2005</code></td><td class="errmsg">You have specified an empty array for shadow colors in the bar plot.</td></tr><tr><td><code class="code">2006</code></td><td class="errmsg">Unknown position for values on bars : %s</td></tr><tr><td><code class="code">2007</code></td><td class="errmsg">Cannot create GroupBarPlot from empty plot array.</td></tr><tr><td><code class="code">2008</code></td><td class="errmsg">Group bar plot element nbr %d is undefined or empty.</
</div></div><p><br class="table-break"></p></div>
</div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"><a accesskey="u" href="pt09.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>