Can't get Craft running on a remote server I have a Craft site that works great locally, but I can't get it running on a staging server. The virtual host is working and when I remove code from index.php in html it runs perfectly. Here is the error...


  Could not find your craft/ folder. Please ensure that $craftPath is set correctly in /var/www/vhosts/testsite/staging/html/index.php


I've seen the error reported online but no solutions, any ideas?
If you upload Craft, your folder structure should look like this (default):


  /craft/..
  /public/index.php


If this is not the case, you have to set $craftPath (in the index.php) depending on your folder structure. Check out the Installing section in the docs.

.

Example:

If your structure looks like this..


  /craft/..
  /index.php


..the path should be: $craftPath = './craft';