Simple Machines Community Forum

SMF Support => Türkçe Bölümü (Turkish) => Language Specific Support => Arşiv => Aiheen aloitti: iPhoneDestek - toukokuu 21, 2009, 07:08:52 AP

Otsikko: Güncelleme sorunu 1.18 sürümünden 1.19
Kirjoitti: iPhoneDestek - toukokuu 21, 2009, 07:08:52 AP
buradaki en basit olan http://www.simplemachines.org/community/index.php?topic=95612.0 (http://www.simplemachines.org/community/index.php?topic=95612.0) uygulamayı yaptım ve bu sorunla karşılaşdım

Upgrade yaparkanda bu  seçenek aktif' di  Put the forum into maintenance mode during upgrade.  ve ben sadece hiç bir değişiklik yapmadan DEVAM ettirdim.

Karşıma bu sorun çıktı:

Updating Settings.php... Successful.
Updating and creating indexes... Unsuccessful!
This query:

    ALTER TABLE smf_smileys
    ORDER BY LENGTH(code) DESC;

Caused the 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 'LENGTH(code) DESC' at line 2



Hatam nerede ???
Otsikko: Re: Güncelleme sorunu 1.18 sürümünden 1.19
Kirjoitti: iPhoneDestek - toukokuu 21, 2009, 08:05:53 AP
Kendi doktorum kendim oldum. Araştırlarıma göre bu sorunla karşılaşan bu uygulamayı yapsınlar.

Ben yaptım ve sorunsuz çalışıyor.


Düzenle

Sources/ManageSmileys.php

Bul Line 654:
LainaaORDER BY LENGTH(code) DESC", __FILE__, __LINE__);

Degiştir:
LainaaORDER BY code DESC", __FILE__, __LINE__);

Bul / Line 990:
LainaaORDER BY LENGTH(code) DESC", __FILE__, __LINE__);

Degiştir:
LainaaORDER BY code DESC", __FILE__, __LINE__);

Düzenle upgrade_1-1.sql

Bul / Line 181:
LainaaORDER BY LENGTH(code) DESC;

Degiştir:
LainaaORDER BY code DESC;
Otsikko: Re: Güncelleme sorunu 1.18 sürümünden 1.19
Kirjoitti: Yağız... - toukokuu 21, 2009, 08:46:19 AP
Doktorluğunuzu konu açmadan önce yapsaydınız keşke.