• 27-10-2015, 22:28:37
    #1
    Parse error: syntax error, unexpected 'if' (T_IF) in "include/helpers/notification-helper.php on line 1

    arkdaşlar bu hatayı veriyor yüklemeye çalışıyorum wordpress temayı çözemedim

    o php sayfasına ait kodlarda bu
    <?php
    /**
    * @Start notification helper class
    * @return
    */
    
    if( !class_exists( 'CS_Notification_Helper' ) ) {
    	class CS_Notification_Helper{
    		
    		public $message;
    		
    		public function __construct() {
    			// Do Something here..
    		}
    		
    		public function success( $message = 'No recored found' ) {
    			global $post;
    			
    			$output	 = '';
    			$output	.= '<div class="col-md-12 cs-succ_mess"><p>';
    			$output	.= $message;
    			$output	.= '</p></div>';
    			
    			echo force_balance_tags ( $output ); 		
    		}
    		
    		public function error( $message='No recored found' ) {
    			global $post;
    		   
    		   $output	 = '';
    		   $output	.= '<div class="col-md-12 cs-error"><p>';
    		   $output	.= $message;
    		   $output	.= '</p></div>';
    		  
    		   echo force_balance_tags ( $output ); 	
    		
    		}
    	  
    		public function warning( $message='No recored found' ) {
    		  global $post;	
    			
    		  $output	 = '';
    		  $output	.= '<div class="col-md-12 cs-warning"><p>';
    		  $output	.= $message;
    		  $output	.= '</p></div>';
    		 
    		 echo force_balance_tags ( $output ); 
    		}
    		
    		public function informations($message='No recored found') { 
    		  global $post;
    		 
    		  $output	 = '';
    		  $output	.= '<div class="col-md-12 cs-informations"><p>';
    		  $output	.= $message;
    		  $output	.= '</p></div>';
    		 
    		 echo force_balance_tags ( $output ); 
    		
    		}
    	}
    }
    
    $cs_notification = new CS_Notification_Helper();
    global $cs_notification;
    ?>
  • 28-10-2015, 01:32:32
    #2
    dosyayı filezillada aktarım tipini ikili yaparak tekrar sunucuya yükleyin
  • 28-10-2015, 09:31:46
    #3
    bat1kan adlı üyeden alıntı: mesajı görüntüle
    dosyayı filezillada aktarım tipini ikili yaparak tekrar sunucuya yükleyin
    hocam allah razı olsun halloldu