Parse error: syntax error, unexpected T_DNUMBER in /home/djtr/domains/djtr.net/public_html/hatacoz.php on line 11


bu sekilde bir hata cikiyor...

Ayrica eklentiyi aktif edip mi bu islemi yapacagim yoksa aktif etmeden mi?


papagan33 adlı üyeden alıntı: mesajı görüntüle
Aşağıdaki kodları bir not defterine kaydederek bir isim verin.

   1.
      <?php
   2.
      /*
   3.
      WordPress Force Upgrade Script
   4.
      Copyright (C) 2006  Mark Jaquith
   5.
      */
   6.
      function txfx_log($text) {
   7.
          echo $text . '<br />';
   8.
      }
   9.
      switch ($_GET['step']) :
  10.
          case "1":
  11.
              require('wp-config.php');
  12.
              txfx_log('WordPress loaded...');
  13.
              require('wp-admin/upgrade-functions.php');
  14.
              txfx_log('Upgrade functions loaded...');
  15.
              wp_cache_flush();
  16.
              txfx_log('Object cache flushed...');
  17.
              make_db_current();
  18.
              txfx_log('Database made current...');
  19.
              upgrade_160();
  20.
              txfx_log('Data upgraded...');
  21.
              $wp_rewrite->flush_rules();
  22.
              txfx_log('Rewrite rules flushed...');
  23.
              wp_cache_flush();
  24.
              txfx_log('Object cache flushed...');
  25.
              txfx_log('<br />');
  26.
              txfx_log('Hopefully that did it!  <strong>DELETE THIS FILE FROM YOUR SERVER NOW!</strong>');
  27.
              txfx_log('And then, try to access your <code>/wp-admin/</code>');
  28.
              break;
  29.
          default :
  30.
              txfx_log('This script will attempt to upgrade your database.  It is intended for users of WordPress 1.5 or later.');
  31.
              txfx_log('<strong>You should delete this script from your server after you are done using it!</strong>');
  32.
              txfx_log('<br />');
  33.
              txfx_log('<a href="?step=1">Click here</a> to attempt the upgrade');
  34.
              break;
  35.
      endswitch;
  36.
      ?>
dosyanın ismine hatacoz.php deyiniz bu dosyayı ftpnize yükleyiniz ve dosyayı çağırınız , tekrar deneyiniz. sorunun çözüldüğünde o dosyayı sil .