• 01-08-2010, 01:39:17
    #1
    bbpress forumun son sürümünü wp ye entegre halde kurdum ancak istenmiyen bir durumdan dolayı geri kaldırıp kurmaya çalıştım. Ancak bu seferde bir türlü yönetici eklenemedi filan diye bir yazı gelmeye başladı. Admin paneline girmeye çalışıncada aşağıdaki yazı çıkıyor.

    Wordpressin Türkiye destek sitesinde ise hiç bir yere ulaşamıyorum. Kurulum %100 oraya göre ancak orda hatalar vardı ve bende resmi sitesinden biraz destek alıp kurdum. Tekrar Türkiye destek sitesine girince orda nasıl kaldırılacağı yazıyordu onu uyguladım kaldırdım bu seferde geri kuruluşta dediğim hata çıktı. Bu alttaki yazıda ne diyor. Bir şeyi filan güncelleştirememiş mi?

    Alıntı
    You're running in safe mode which does not allow this upgrade script to set a running time limit. Depending on the size of your database and on which parts of the script you are running, the script can take quite some time to run (or it could take just a few seconds). To throw caution to the wind and run the script in safe mode anyway, remove the first few lines of code in the bb-admin/upgrade.php file. Backups are always a good idea.
  • 01-08-2010, 03:51:07
    #2
    Özet olarak bb-admin/upgrade.php dosyası içindeki ilk birkaç satırı silin diyor. Baktım, kodlarda eğer safe mode açık ise işlemi öldürüyor. O satırı iptal ediniz.

    Kodlar dosyanın en başında...


    [ AÇ ]

    bb-admin/upgrade.php

    [ BUL ]

    // Remove these lines if you want to upgrade and are using safe mode
    if ( ini_get('safe_mode') )
        die("You're running in safe mode which does not allow this upgrade
        script to set a running time limit.  Depending on the size of your
        database and on which parts of the script you are running, the script
        can take quite some time to run (or it could take just a few seconds).
        To throw caution to the wind and run the script in safe mode anyway,
        remove the first few lines of code in the <code>bb-admin/upgrade.php</code>
        file. Backups are always a good idea.");
    // Stop removing lines
    [ BUNUNLA DEĞİŞTİR ]

    // Remove these lines if you want to upgrade and are using safe mode
    /*
    if ( ini_get('safe_mode') )
        die("You're running in safe mode which does not allow this upgrade
        script to set a running time limit.  Depending on the size of your
        database and on which parts of the script you are running, the script
        can take quite some time to run (or it could take just a few seconds).
        To throw caution to the wind and run the script in safe mode anyway,
        remove the first few lines of code in the <code>bb-admin/upgrade.php</code>
        file. Backups are always a good idea.");
    */
    // Stop removing lines
  • 01-08-2010, 12:20:26
    #3
    Dediklerinizi yaptım ve sorun çözüldü çok teşekkürler. Ancak bir türlü Türkçeleşmiyor...

    Aşağıdaki iki işlemide yaptım. bbpress sürümüne göre dil dosyası yükleme farklı oluyormuş bende sürümün ki çalışmayınca diğerini denedim.

    Alıntı
    Öncelikle teknik değişikliklerden bahsedeyim. Önceki sürümlerde bbPress sürümünüzü Türkçe yapmak için bb-includes dizinine “languages” isimli bir klasör oluşturuyor ve içine “tr_TR.po” adındaki dil dosyamızı kopyalıyorduk. Son olarak bb-config.php dosyamızdaki define(‘BBLANG’, ‘‘); satırını define(‘BBLANG’, ‘tr_TR’); satırı ile yer değiştiriyorduk ve işlem tamamlanıyordu.

    Oysa şimdi bazı değişiklikler yapmışlar. Öncelikle sadece .mo dil dosyası atabiliyoruz. po uzantılı dil dosyalarını kabul etmiyor. İkinci olarak “languages” isimli klasörümüzü bb-includes içine değil direk ana dizine (root) kuruyoruz ve ismi de artık “languages” değil, “my-languages” olacak. Yine bu klasörüne içine .mo uzantılı dil dosyamızı atıyoruz ve bb-config.php dosyasındaki işlemleri aynen gerçekleştiriyoruz. Hepsi bu kadar. Sorun sadece iki sürüm arasındaki farklılıklardan kaynaklanıyor.
    Her iki şekildede dil dosyası yüklememe rağmen çalışmadı ne yapmalıyım.
  • 01-08-2010, 12:52:29
    #4
    1.0.2 sürümü için şöyle imiş, ben denemedim, ayar dosyasında öyle yazıyor...

    http://svn.automattic.com/bbpress/ta...fig-sample.php

    /**
     * bbPress Localized Language, defaults to English.
     *
     * Change this to localize bbPress. A corresponding MO file for the chosen
     * language must be installed to a directory called "my-languages" in the root
     * directory of bbPress. For example, install de.mo to "my-languages" and set
     * BB_LANG to 'de' to enable German language support.
     */
    define( 'BB_LANG', '' );
    bbPress in bulunduğu kök dizine "my-languages" dizini içinde olacakmış dil dosyası, dil dosyası seçimi de wordpress gibi, bb-config.php içinden yapılacak.

    .
  • 01-08-2010, 12:56:17
    #5
    Alexis malesef olmadı. Yardımın için teşekkürler.