• 06-09-2010, 15:39:17
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    merhaba arkadaşlar bugün siteyi açtığımda bu hatayla karşılaştırdım. biraz araştırdım sanırım php sürümüyle alakalı bir sorun fakat bunu düzeltme şansımı yokmu? aldığım hata;
    Deprecated: Function eregi() is deprecated in /home/*/public_html/templates/my_blog_v2/suckerfish.php on line 17
    CV
    Deprecated: Function eregi() is deprecated in /home/*/public_html/templates/my_blog_v2/suckerfish.php on line 17
    
    Deprecated: Function eregi() is deprecated in /home/*/public_html/templates/my_blog_v2/suckerfish.php on line 18
    
    Deprecated: Function eregi() is deprecated in /home/*/public_html/templates/my_blog_v2/suckerfish.php on line 17
    
    Deprecated: Function eregi() is deprecated in /home/*/public_html/templates/my_blog_v2/suckerfish.php on line 18

    hatalı satırlar;

              		if ( eregi( 'index.php\?', $row->link ) ) {
    
            				if ( !eregi( 'Itemid=', $row->link ) ) {
  • 06-09-2010, 15:41:34
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    eregileri preg_match ile değiştirin.
  • 06-09-2010, 15:56:27
    #3
    denedim fakat ozaman da şu hatayı alıyorum;

    Warning: preg_match() [FUNCTION.PREG-MATCH]: Delimiter must not be alphanumeric or backslash in /home/*/public_html/templates/my_blog_v2/suckerfish.php on line 33
    
    Warning: preg_match() [FUNCTION.PREG-MATCH]: Delimiter must not be alphanumeric or backslash in /home/*/public_html/templates/my_blog_v2/suckerfish.php on line 33
    
    Warning: preg_match() [FUNCTION.PREG-MATCH]: Delimiter must not be alphanumeric or backslash in /home/*k/public_html/templates/my_blog_v2/suckerfish.ph
  • 06-09-2010, 15:57:51
    #4
    Üyeliği durduruldu
    if ( ereg_replace( 'index.php\?', $row->link ) ) {

    if ( ereg_replace( 'Itemid=', $row->link ) ) {

    sadece ereg_replace ler $degiskenleri değiştirebilir. belki eski sürüm php de öyle kalmış olabilir..
  • 06-09-2010, 15:58:03
    #5
    Yukarıdaki verdiğiniz kod şöyle olmalı:
                      if ( preg_match( '~index.php\?~i', $row->link ) ) { 
    
                            if ( !preg_match( '~Itemid=~i', $row->link ) ) {
  • 06-09-2010, 15:59:04
    #6
    Üyeliği durduruldu
    by_grafitus adlı üyeden alıntı: mesajı görüntüle
    Yukarıdaki verdiğiniz kod şöyle olmalı:
                      if ( preg_match( '~index.php\?~i', $row->link ) ) { 
    
                            if ( !eregi( '~Itemid=~i', $row->link ) ) {
    evet katılıyorum yalnıs okumusum
  • 06-09-2010, 16:28:16
    #7
    by_grafitus adlı üyeden alıntı: mesajı görüntüle
    Yukarıdaki verdiğiniz kod şöyle olmalı:
                      if ( preg_match( '~index.php\?~i', $row->link ) ) { 
    
                            if ( !preg_match( '~Itemid=~i', $row->link ) ) {

    bu kodu uyguladım düzeldi çok teşekkürler fakat bir hata daha var;

    Warning: Parameter 1 to plgContentAbiviasocbook:: onAfterDisplayTitle() expected to be a reference, value given in /home/*/public_html/libraries/joomla/event/event.php on line 67

    67deki kod

    			return call_user_func_array ( array($this, $event), $args );
  • 06-09-2010, 17:15:26
    #8
    Üyeliği durduruldu
    ChaWusH adlı üyeden alıntı: mesajı görüntüle
    bu kodu uyguladım düzeldi çok teşekkürler fakat bir hata daha var;

    Warning: Parameter 1 to plgContentAbiviasocbook:: onAfterDisplayTitle() expected to be a reference, value given in /home/*/public_html/libraries/joomla/event/event.php on line 67

    67deki kod

    			return call_user_func_array ( array($this, $event), $args );

    			return call_user_func_array ( array($this, $event), $args );
    bu kısımdaki $args başına & koyup deneyin aşağıdaki gibi

    			return call_user_func_array ( array($this, $event), &$args );
  • 06-09-2010, 18:06:39
    #9
    malesef hiçbir değişiklik olmadı :/