|
|
|
|
Bonjour,
Je suis en stage et je dois développer une application de gestion de l'activité des agents de mon service.
Les chefs de service veulent récupérer des statistiques sous forme de % et de graphiques.
On m'a dit qu'il existait JPGraph et un de mes responsables m'a donné un script de test qui utilise JPGraph.
J'ai activé la dll g2d dans mon php.ini mais j'ai les erreurs suivantes qui me turlupinent (!!) :
Notice: Undefined index: TEMP in c:\program files\easyphp1-8\www\graph\jpgraph.php on line 186 Notice: Undefined offset: 1 in c:\program files\easyphp1-8\www\graph\jpgraph.php on line 430 JpGraph Error: Your PHP installation does not seem to have the required GD library. Please see the PHP documentation on how to install and enable the GD library.
Coucou oberion,
|
Je me suis motivée et j'ai été super rapide !!
Notice: Undefined index: TEMP in c:\program files\easyphp1-8\www\graph\jpgraph.php on line 186
Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\graph\jpgraph.php:186) in c:\program files\easyphp1-8\www\graph\jpgraph.php on line 5875
Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\graph\jpgraph.php:186) in c:\program files\easyphp1-8\www\graph\jpgraph.php on line 5876
Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\graph\jpgraph.php:186) in c:\program files\easyphp1-8\www\graph\jpgraph.php on line 5877
Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\graph\jpgraph.php:186) in c:\program files\easyphp1-8\www\graph\jpgraph.php on line 5878
Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\graph\jpgraph.php:186) in c:\program files\easyphp1-8\www\graph\jpgraph.php on line 5880
‰PNG IHDRô×Ñ‘ÔIDATxœíÝÝqã8PjkR˜4I0—~Ÿ£ÇÁt.œ ¤„÷k._J"òêœêš¢ešÚîkÌGhšuû¼üçŸ Ç7ÏXŸÏïþhš¦ëºÚzDÛ¶W?ÿ«i>FÇwXé_ð¶Nóð*í(àãû‡}²ÿ}ö¾|Xµ˜p—Ýÿ÷ŸÚ x½ï嚯ýzrÄŒÜOM¬¹ÿ’ì@€Ÿ?Ž? ÷æBdŸ¾(Ù—e¸5TâÎvñKW¾þÙ-yÙÛñnÞ°,ÃmíÈëß}zØÕjá,Þ¤›Ô"Ü96Œ^ûô+°FÙeæ4NùaÔyú⸲1Ÿ\:sú»¯}íÍvNïéÍnž¾Ñõ–_?óúMé& ŒÜ™äìpþÞ1þQNÝ¥ûÒœÄÜðúÄvN|¯æ{ÊŸíæô¾O9ólã§wÆŒÜ9ïJ^œÈÒƒÇdžޯy÷לûÿjÛvúo,Þp
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
p$Ü w€@ p$Ü w€@ p$ÜýÑ4MÛ¶µ›Àœ6ŸŸŸãþüY«)ÌEY p$Ü w€@ÿW‚ƒ Î8Ž’IEND®B`‚
:S je comprends donc encore moins !! ellessa mange des cerises
|
Peut-être je fais des conneries ... !!
180: //------------------------------------------------------------------------
181: // Automatic settings of path for cache and font directory
182: // if they have not been previously specified
183 ://------------------------------------------------------------------------
184: if (!defined('CACHE_DIR')) {
185: if (strstr( PHP_OS, 'WIN')) {
186: DEFINE('CACHE_DIR', $_SERVER['TEMP'] . '/');
187: } else {
188: DEFINE('CACHE_DIR','/tmp/jpgraph_cache/');
189: }
190: }
Et voilà ce que j'en ai fait : 180: //------------------------------------------------------------------------
181: // Automatic settings of path for cache and font directory
182: // if they have not been previously specified
183 ://------------------------------------------------------------------------
184: if (!defined('CACHE_DIR')) {
185: DEFINE('CACHE_DIR','/tmp/jpgraph_cache/');
186: }
C'est grave de faire ça ?? Je ne comprends même pas ce que ça voulait dire ce que j'ai supprimé !! ellessa mange des cerises |
Re,
|
Répondre à elsadelatoundra
|