BuBu93
17/09/2010, 00h24
Bonjour a tous, je rencontre une erreur sql quant je veut éditer un post une erreur du styl:
Database error in vBulletin 4.0.6:
Invalid SQL:
SELECT
fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
at.contenttypes
FROM attachment AS a
INNER JOIN filedata AS fd ON (fd.filedataid = a.filedataid)
LEFT JOIN attachmenttype AS at ON (at.extension = fd.extension)
WHERE
a.posthash = '567bdb56bb7b082f6a5647738ee94973'
AND
a.userid IN (2)
AND
a.contenttypeid = 1
ORDER BY a.contentid, a.displayorder;
MySQL Error : Unknown column 'a.displayorder' in 'field list'
Error Number : 1054
Request Date : Thursday, September 16th 2010 @ 11:57:14 PM
Error Date : Thursday, September 16th 2010 @ 11:57:16 PM
Script : http://nom_du_site.fr/newthread.php?do=newthread&f=3
Referrer : http://nom_du_site.fr/forumdisplay.php?3-Pr%E9sentations
IP Address : **.***.***.**
Username : VanillaNeko
Classname : vB_Database
MySQL Version : 5.0.90-log
j'ai désactivé les hacks au cas ou il y en est un qui soit plus compatible en vb 4.0.6.
J'ai également vue que Simon, avais trouver une solution pour le même problème il me semble, mais sur vb 4.0.5.
Liens du sujet en question ici: http://www.vbulletin-ressources.com/forum/showthread.php?t=22536&p=162067
Mon responsable qui gère la base SQL est en vacance et moi je m'y connais pas. :swoon1:
Merci d'avance pour votre aide ! ;)
Database error in vBulletin 4.0.6:
Invalid SQL:
SELECT
fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
at.contenttypes
FROM attachment AS a
INNER JOIN filedata AS fd ON (fd.filedataid = a.filedataid)
LEFT JOIN attachmenttype AS at ON (at.extension = fd.extension)
WHERE
a.posthash = '567bdb56bb7b082f6a5647738ee94973'
AND
a.userid IN (2)
AND
a.contenttypeid = 1
ORDER BY a.contentid, a.displayorder;
MySQL Error : Unknown column 'a.displayorder' in 'field list'
Error Number : 1054
Request Date : Thursday, September 16th 2010 @ 11:57:14 PM
Error Date : Thursday, September 16th 2010 @ 11:57:16 PM
Script : http://nom_du_site.fr/newthread.php?do=newthread&f=3
Referrer : http://nom_du_site.fr/forumdisplay.php?3-Pr%E9sentations
IP Address : **.***.***.**
Username : VanillaNeko
Classname : vB_Database
MySQL Version : 5.0.90-log
j'ai désactivé les hacks au cas ou il y en est un qui soit plus compatible en vb 4.0.6.
J'ai également vue que Simon, avais trouver une solution pour le même problème il me semble, mais sur vb 4.0.5.
Liens du sujet en question ici: http://www.vbulletin-ressources.com/forum/showthread.php?t=22536&p=162067
Mon responsable qui gère la base SQL est en vacance et moi je m'y connais pas. :swoon1:
Merci d'avance pour votre aide ! ;)