Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Le forum «   Soupçons de bogues «  

8.6beta30.21 : problème déplacement sections avec Manage content [Solved]

Christophe Battarel -- on Aug. 18 2008, from Grenoble-Chambery
YACS Team - Développement et intégration
Christophe Battarel
Responsable technique et co-gérant altairis
Mon Blog
UPDATE `sections` SET anchor='section:2', anchor_type=SUBSTRING_INDEX('section:2', ':', 1), anchor_id=SUBSTRING_INDEX('section:2', ':', -1), edit_name='admin', edit_id='1', edit_address='', edit_action='article:update', edit_date='2008-08-18 11:30:38' WHERE id = 69 1054: Unknown column 'anchor_type' in 'field list'

Effectivement, la table sections ne contient pas de champ anchor_type (ni anchor_id).

Il faut soit ajouter ces champs dans la table sections, soit mettre en commentaires leur utilisation (lignes 2054-2055 de sections/sections.php sur cette version)

Files

20080818 patch sections.tgz 18,375 bytes, 67 downloads
edited by Bernard on Aug. 19 2008 · Zoom

Solution Manager: Bernard

A solution has been made available
Bernard
avatar
from nearby-an-airport
Associate, 7053 posts

on Aug. 19 2008


Bien vu Christophe ! A force de faire ressembler les sections aux articles, on finit par faire un copier-coller de trop ... Heureusement, c'est le seul script du module des sections où ce problème est arrivé. Le patch ci-dessous contient une version de sections/sections.php expurgée de toute référence aux champs anchor_type et anchor_id.

20080818-patch-sections.tgz

 
Share
Information channels
Recent files