Les avertissements suivants se sont produits :
Warning [2] Undefined array key 0 - Line: 1640 - File: showthread.php PHP 8.2.18 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1640 errorHandler->error_callback
/showthread.php 915 buildtree




Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
[Résolu] probleme pour ajouter ou changer un article
#13
J'ai enfin réussi, non sans mal, à mettre à jour mon cms, mais mon problème reste le même.
Voilà l'export SQL de la structure des tables cms_modules_news :

-- phpMyAdmin SQL Dump
-- version 3.3.9
-- http://www.phpmyadmin.net
--
-- Serveur: localhost
-- Généré le : Sam 05 Mai 2012 à 16:30
-- Version du serveur: 5.5.8
-- Version de PHP: 5.3.5

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Base de données: `pascalmassonnat`
--

-- --------------------------------------------------------

--
-- Structure de la table `cms_module_news`
--

CREATE TABLE IF NOT EXISTS `cms_module_news` (
`news_id` int(11) NOT NULL,
`news_category_id` int(11) DEFAULT NULL,
`news_title` varchar(255) DEFAULT NULL,
`news_data` text,
`news_date` datetime DEFAULT NULL,
`summary` text,
`start_time` datetime DEFAULT NULL,
`end_time` datetime DEFAULT NULL,
`status` varchar(25) DEFAULT NULL,
`icon` varchar(255) DEFAULT NULL,
`create_date` datetime DEFAULT NULL,
`modified_date` datetime DEFAULT NULL,
`author_id` int(11) DEFAULT NULL,
`news_extra` varchar(255) DEFAULT NULL,
`news_url` varchar(255) DEFAULT NULL,
PRIMARY KEY (`news_id`),
KEY `cms_news_postdate` (`news_date`),
KEY `cms_news_daterange` (`start_time`,`end_time`),
KEY `cms_news_author` (`author_id`),
KEY `cms_news_hier` (`news_category_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `cms_module_news_categories`
--

CREATE TABLE IF NOT EXISTS `cms_module_news_categories` (
`news_category_id` int(11) NOT NULL,
`news_category_name` varchar(255) DEFAULT NULL,
`parent_id` int(11) DEFAULT NULL,
`hierarchy` varchar(255) DEFAULT NULL,
`long_name` text,
`create_date` time DEFAULT NULL,
`modified_date` time DEFAULT NULL,
PRIMARY KEY (`news_category_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `cms_module_news_categories_seq`
--

CREATE TABLE IF NOT EXISTS `cms_module_news_categories_seq` (
`id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `cms_module_news_fielddefs`
--

CREATE TABLE IF NOT EXISTS `cms_module_news_fielddefs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`type` varchar(50) DEFAULT NULL,
`max_length` int(11) DEFAULT NULL,
`create_date` datetime DEFAULT NULL,
`modified_date` datetime DEFAULT NULL,
`item_order` int(11) DEFAULT NULL,
`public` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Structure de la table `cms_module_news_fieldvals`
--

CREATE TABLE IF NOT EXISTS `cms_module_news_fieldvals` (
`news_id` int(11) NOT NULL,
`fielddef_id` int(11) NOT NULL,
`value` text,
`create_date` datetime DEFAULT NULL,
`modified_date` datetime DEFAULT NULL,
PRIMARY KEY (`news_id`,`fielddef_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `cms_module_news_seq`
--

CREATE TABLE IF NOT EXISTS `cms_module_news_seq` (
`id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

En espérant que vous pourrez m'aider
merci


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)