Kadir Özdemir

  • Ben Kimim
  • PHP
  • Sencha Touch
  • Home/
  • Genel /
  • WordPress 2.1 de Link hatasi

WordPress 2.1 de Link hatasi

Skorp 04.03.2007 Leave a Comment

en son yayinlanmis olan wordpress versiyonunda bazi theme lerde linkleri göstermede sorun olusa biliyor .

bude linklerin artik kategoriler menüsünden yönetildigi icin olusuyor.
hata mesaji 

WordPress database error: [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]SELECT cat_id, cat_name FROM

2.1 e upgrade yapanlar bu sorunu yasiyorsa wp-content/themes/xxxx/sidebar.php dosyasini acip su satirlari degismeleri önerilir.


$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->categories");
foreach ($link_cats as $link_cat) {
?>
<li id="linkcat-<?php echo $link_cat->cat_id; ?>"><?php echo $link_cat->cat_name; ?>
<ul>
<?php wp_get_links($link_cat->cat_id); ?>
</ul>
</li>
<?php }
 wp_list_bookmarks();
Skorp
2007-03-04
Tags:
Wordpress
Share story:
← PreviousMod-Security 2.1.x Türkce Kilavuz
Next →The Month of Php bugs

Written by Skorp

View all articles by Skorp

Website: http://www.skorp.eu

Related Articles

  • Silverstripe snippetler

  • Silverstripe login sorunu

  • Silverstripe: Sorgulari Cachleme

  • Php 5.4 yayinlandi

  • Silverstripe yeni sayfa tipleri

Leave a Comment Cancel Reply

Your email address will not be published. Required fields are marked *

Social networks

Etiket Bulutu

Android Bilgisayar & Internet C# Cms css diger Kodlar featured Genel Java Javascript Linux Mobile PHP Silverstripe typo3 Veritabani Windows Zend Framework

Links

  • H E R K O N U
  • Hüseyin Koyun
  • Urban23k

Son Yorumlar

  • Primary Key – Unique ve Index nedir? için Onur
  • Centos de apache, php ve mysql kurulumu için sezer fidancı
  • React Native – Kurulum için React Native | Kadir Özdemir
  • React Native için React Native – Kurulum | Kadir Özdemir
  • Ben Kimim için serkan

Twitter

Follow @skorp54
There is an error in twitter widget, please make sure that you have set up the Twitter API settings
  • Ben Kimim
  • PHP
  • Sencha Touch

Arsivler

Kategoriler

Copyright © 2014 webberz.at