• 03-03-2009, 22:47:53
    #1
    Arkadaşlar biraz önce wp_posts u silip tekrar yüklemem gerekiyordu.
    phpmyadminden yedeğini alıp sildim yazdığım yazılarda edit yaptım.
    fakat şimdi yüklemeye çalıştığımda in line 1 hatası alıyorum..

    eklemeye çalıştıgım sorgu
    -- Tablo yapısı: `wp_posts`
    --
    
    CREATE TABLE `wp_posts` (
      `ID` bigint(20) unsigned NOT NULL auto_increment,
      `post_author` bigint(20) NOT NULL default '0',
      `post_date` datetime NOT NULL default '0000-00-00 00:00:00',
      `post_date_gmt` datetime NOT NULL default '0000-00-00 00:00:00',
      `post_content` longtext NOT NULL,
      `post_title` text NOT NULL,
      `post_category` int(4) NOT NULL default '0',
      `post_excerpt` text NOT NULL,
      `post_status` varchar(20) NOT NULL default 'publish',
      `comment_status` varchar(20) NOT NULL default 'open',
      `ping_status` varchar(20) NOT NULL default 'open',
      `post_password` varchar(20) NOT NULL default '',
      `post_name` varchar(200) NOT NULL default '',
      `to_ping` text NOT NULL,
      `pinged` text NOT NULL,
      `post_modified` datetime NOT NULL default '0000-00-00 00:00:00',
      `post_modified_gmt` datetime NOT NULL default '0000-00-00 00:00:00',
      `post_content_filtered` text NOT NULL,
      `post_parent` bigint(20) NOT NULL default '0',
      `guid` varchar(255) NOT NULL default '',
      `menu_order` int(11) NOT NULL default '0',
      `post_type` varchar(20) NOT NULL default 'post',
      `post_mime_type` varchar(100) NOT NULL default '',
      `comment_count` bigint(20) NOT NULL default '0',
      PRIMARY KEY  (`ID`),
      KEY `post_name` (`post_name`),
      KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`ID`),
      KEY `post_parent` (`post_parent`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=974 ;
    
    --
    -- Tablo döküm verisi `wp_posts`
    --
    
    INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_category`, `post_excerpt`, `post_status`, `comment_status`, `ping_status`, `post_password`, `post_name`, `to_ping`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`) VALUES
    ilginç doğrusu daha oncede yaşamıştım fakat hatırlayamadım bu durumu nasıl çözdüğümü teşekkürler.

    Yüklerken aldığım hata..
    Hata
    
    SQL sorgusu:
    
    --
    -- Tablo döküm verisi `wp_posts`
    --
    INSERT INTO `wp_posts` ( `ID` , `post_author` , `post_date` , `post_date_gmt` , `post_content` , `post_title` , `post_category` , `post_excerpt` , `post_status` , `comment_status` , `ping_status` , `post_password` , `post_name` , `to_ping` , `pinged` , `post_modified` , `post_modified_gmt` , `post_content_filtered` , `post_parent` , `guid` , `menu_order` , `post_type` , `post_mime_type` , `comment_count` )
    VALUES
    
    MySQL çıktısı: Belgeler
    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
  • 03-03-2009, 22:49:24
    #2
    Üyeliği durduruldu
    <öneri> arkadaşlar her zaman mysqldumper'ile yedek alıp yükleyin böyle sorunlar olmaz <öneri>
  • 03-03-2009, 22:54:30
    #3
    önerin için teşekkürler.
    fakat benim sorunum dumperle alakası değil yani sql boyutunu actıgı ıcın yüklememe gibi durum yok hata veriyor fakat tekrardan öylede bi deneyeceğim.
  • 07-03-2009, 01:02:27
    #4
    Tabloları Karşılaştırarak Sorunumu Giderdim.
    Teşekkürler.