SQL statement that failed below

Open Realty n’aime pas trop que l’on s’absente quand on enregistre une annonce, et le message d’erreur suivant apparaît alors.

SQL statement that failed below :


SELECT DISTINCT(listingsformelements_id) FROM default_classformelements WHERE


ERROR REPORT www.votresite.com : January 24, 2008, 1:10:15 pm


SQL ERROR : SELECT DISTINCT(listingsformelements_id) FROM
default_classformelements WHERE
Server Type : Apache
Request Method : GET
Query String : action=edit_listings&edit=5960
User Agent : Mozilla/5.0 (Windows ; U ; Windows NT 5.1 ; fr ; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Request URI : /admin/index.php ?action=edit_listings&edit=5960
POST Variables : array (
’action’ => ’’,
)
GET Variables : array (
’action’ => ’edit_listings’,
’edit’ => ’5960’,
’printer_friendly’ => false,
’delete’ => ’’,
)

Pour corriger il faut passer par phpmyadmin.
Sélectionner la base de données :
sélectionner la table : default_fr_listingsdbelements
ranger par listingsdb_id pour trouver celle qui pose problème (ici 5960)
rajouter la property_class (2 par exemple)
sélectionner default_classlistingsdb, classer par listingsdb_id et normalement il manque l’annonce ( ici 5960)
il faut rajouter un enregistrement exemple 4286 2 5660 4285 étant le dernier nombre enregistré

Voilà c’est corrigé.





Publié par: Philippe Donnart
Associé à Open-Realty

Vous êtes ici :Sommaire >> Divers