title: KCFinder in CKEditor showing HTTP 500 error on hosting server
body: <p>In one of my Codeigniter v3.1.3 project, i have used 'KCFinder' in CKEditor for uploading images to the server. The directory structure of my localhost version of the project is:</p>
  
  <pre><code>localhost/project_ci
  --application
  --assets
  ----admin
  ------ckeditor
  ------kcfinder
  --system
  --index.php
  </code></pre>
  
  <p>Initially i was having difficulty integrating KCFinder with CKEditor but after searching the internet, i came across a tutorial(i don't rember the url now) explaining the steps to integrate it.I followed the steps mentioned there and now it works perfectly on localhost.The step1 of the said tutorial was to change some values of index.php in the root directory as:</p>
  
  <pre><code>$system_path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'system';
  
  $application_folder = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'application';
  </code></pre>
  
  <p>Now i have uploaded the above project in a Shared Hosting server.In the hosting server, the files are organized as follows:</p>
  
  <pre><code>/home/myaccount
  --ci_top_secret
  ----application
  ----system
  --public_html
  ----assets
  ----index.php
  </code></pre>
  
  <p>and the system_path values in index.php are:</p>
  
  <pre><code>$system_path = '../ci_top_secret/system';
  
  $application_folder = '../ci_top_secret/application';
  </code></pre>
  
  <p>My website works well, all the CKEditor's are visible.However in the 'image properties' popup when i click the 'Browse Server' button, a <strong>blank page</strong> appear showing HTTP 500 error.Hence i am not able to upload images to the remote server.I really don't understand what is wrong.Is it because of the system_path values in the index.php.Please advise with some code.Thanks</p>