• 10-05-2010, 04:07:28
    #1
    Misafir
    forumda çok aradım ama ya çok eskimiş konular silinmiş yada ben bulamadım XtraUpload sistemi kurucam ödev-not sistemi için ama her seferinde şu hatayı alıyorum
    Parse error: syntax error, unexpected '?' in /home/desieorg/public_html/7tepe/system/application/libraries/Loader.php on line 1
    filezilla yerine başka bir ftp programı kullan demiş birisi ama denedim yine sonuç alamadım eğer üyelikli başka ödev-not sistemi için kurulabilicek bildiğiniz upload-download sitemi varsa onuda yazabilirsiniz çok teşekkürler...
  • 10-05-2010, 13:07:31
    #2
    Üyeliği durduruldu
    kodlara bakmak gerek o satirdaki. verdigi hataya göre yazim hatasi var
  • 10-05-2010, 22:18:46
    #3
    Misafir
    hocam google ın kod bölümünden dosyayı direk indirip yolluyorum ftp ile bu sorunu veriyor çözemedim bitürlü :S
  • 11-05-2010, 23:14:18
    #4
    Misafir
    bir fikri olan yokmu arkadaşlar ??
  • 11-05-2010, 23:33:20
    #5
    /7tepe/system/application/libraries/Loader.php

    dosyasının ilk 2-3 satırını buraya yazar mısınız?
  • 12-05-2010, 00:11:40
    #6
    Misafir
    buyrun hocam en baştan aldım

    <?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
    /**
     * CodeIgniter
     *
     * An open source application development framework for PHP 4.3.2 or newer
     *
     * @package		CodeIgniter
     * @author		ExpressionEngine Dev Team
     * @copyright	Copyright (c) 2008, EllisLab, Inc.
     * @license		http://codeigniter.com/user_guide/license.html
     * @link		http://codeigniter.com
     * @since		Version 1.0
     * @filesource
     */
    
    // ------------------------------------------------------------------------
    
    /**
     * Loader Class
     *
     * Loads views and files
     *
     * @package		CodeIgniter
     * @subpackage	Libraries
     * @author		ExpressionEngine Dev Team
     * @category	Loader
     * @link		http://codeigniter.com/user_guide/libraries/loader.html
     */
    class CI_Loader {
    
    	// All these are set automatically. Don't mess with them.
    	var $_ci_ob_level;
    	var $_ci_view_path		= '';
    	var $_ci_is_php5		= FALSE;
    	var $_ci_is_instance 	= FALSE; // Whether we should use $this or $CI =& get_instance()
    	var $_ci_cached_vars	= array();
    	var $_ci_classes		= array();
    	var $_ci_loaded_files	= array();
    	var $_ci_models			= array();
    	var $_ci_helpers		= array();
    	var $_ci_plugins		= array();
    	var $_ci_varmap			= array('unit_test' => 'unit', 'user_agent' => 'agent');
    	
    
    	/**
    	 * Constructor
    	 *
    	 * Sets the path to the view files and gets the initial output buffering level
    	 *
    	 * @access	public
    	 */
    	function CI_Loader()
    	{	
    		$this->_ci_is_php5 = (floor(phpversion()) >= 5) ? TRUE : FALSE;
    		$this->_ci_view_path = APPPATH.'views/';
    		$this->_ci_ob_level  = ob_get_level();
    				
    		log_message('debug', "Loader Class Initialized");
    	}
    	
    	// --------------------------------------------------------------------
    	
    	/**
    	 * Class Loader
    	 *
    	 * This function lets users load and instantiate classes.
    	 * It is designed to be called from a user's app controllers.
    	 *
    	 * @access	public
    	 * @param	string	the name of the class
    	 * @param	mixed	the optional parameters
    	 * @param	string	an optional object name
    	 * @return	void
    	 */	
    	function library($library = '', $params = NULL, $object_name = NULL)
    	{
    		if ($library == '')
    		{
    			return FALSE;
    		}
    
    		if ( ! is_null($params) AND ! is_array($params))
    		{
    			$params = NULL;
    		}
    
    		if (is_array($library))
    		{
    			foreach ($library as $class)
    			{
    				$this->_ci_load_class($class, $params, $object_name);
    			}
    		}
    		else
    		{
    			$this->_ci_load_class($library, $params, $object_name);
    		}
    		
    		$this->_ci_assign_to_models();
    Not: Google Code XtraUpload adresi : http://code.google.com/p/xtraupload/