Erreur 500 dans appel class en local
bonjour,
J'ai fait un script simple pour appeler une class,
la class marche avec tout un ensemble de script et seulement sur cette page j'ai une erreur 500 à chaque appel.
Voila la page en entier
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
// connexion + class
require("../../inc/connexion.php");
require("../../class/reference.php");
// On recupere les variables
$id = htmlentities($_POST['id'],ENT_QUOTES);
$row = htmlentities($_POST['row'],ENT_QUOTES);
$value = htmlentities($_POST['value'],ENT_QUOTES);
$maj_reference = new reference($id);
if($row == "rubrique")
{
$maj_reference->SetRubrique($value);
}
else if($row == "cat2")
{
$maj_reference->SetCat2($value);
}
$maj_reference->add(); |
Je ne vois vraiment pas d'où sa peut venir :?