OVH Community, votre nouvel espace communautaire.

Espace web et Jpgraph - Installation blocante


Abuche
28/09/2015, 16h10
JPGRAPH
// Version info
define('JPG_VERSION','3.5.0b1');
// Minimum required PHP version
define('MIN_PHPVERSION','5.1.0');
------------------------------------------------------
Erreur serveru ( page blanche )
Warning: require_once(../jpgraph/src/jpgraph.php): failed to open stream: No such file or directory in /home/rpareseaye/www/aff_graph.php on line 4
Fatal error: require_once(): Failed opening required '../jpgraph/src/jpgraph.php' (include_path='.:/usr/local/php5.4/lib/php') in /home/rpareseaye/www/aff_graph.php on line 4

D'où vient cette limitation 5.4 est supérieur à 5.1.0 minimum requis?
Si il y a un problème de sécurité avec JPGRAPH , pouvez vous apporter des précisions?

JE PEUX UPLOADER DES IMAGES STATIQUES ET CELA IRA PLUS VITE


Abuche
26/09/2015, 12h19
Bonjour,

Gd est actif, et je bloque sur mon espace www OVH avec Jpgraph.
Comment déclarer cette librairie qui n'est pas fourni au départ ?

Depuis /home/ ... , le rquire_once n'est pas actif pour un tracé graphique
ci dessous ...
require_once ('/home/rpareseaye/www/jpgraph/src/jpgraph.php');

Code:
';
}
// Some data
// echo 'rrr';
// Width and height of the graph
$width = 800; $height = 400;
$subtitle="JPGRAPH : ".$t2;

// Create a graph instance
$graph = new Graph($width,$height);
$graph->SetMargin(60,30,40,40);
 
// $graph->SetScale('linlin',-20,+40);
$graph->SetScale('linlin',0,12000);
// $graph->yaxis->scale->ticks->Set(4); 
$graph->yaxis->scale->ticks->Set(1000);
$graph ->xaxis->SetPos(""); 
$graph->xaxis-> SetTickLabels("                                                        ");

$graph->SetShadow();
//$graph->SetBox();

// Create a new impuls type scatter plot
$sp1 = new ScatterPlot($ydata);
$sp1->mark->SetType(MARK_SQUARE);
$sp1->mark->SetFillColor("red");
$sp1->SetImpuls();
$sp1->SetColor("blue");
$sp1->SetWeight(2);
$sp1->mark->SetWidth(8);
 
$graph->Add($sp1);
 
$graph->Stroke();

?>
@+
Cdlt