Timeline for 'Could not find your craft/ folder' error despite following installation instructions
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 18, 2016 at 12:07 | comment | added | Stephen Hamilton | No problem, @Chris, glad you got it sorted. | |
Oct 18, 2016 at 11:55 | comment | added | Chris | Thanks Stephen - I went for a full reset in the end. Removed everything, re-downloaded from Craft site, re-uploaded as per their installation instructions, and now it's working :) | |
Oct 18, 2016 at 11:06 | comment | added | Stephen Hamilton |
@Chris it sounds like some of the contents of your craft folder are missing then, I'd try renaming the existing craft folder to keep a backup and then uploading the folder again directly to that location. Maybe worth taking a fresh copy from craftcms.com too before uploading.
|
|
Oct 17, 2016 at 18:42 | comment | added | Chris | Hi @BradBell, thanks for the suggestion - I don't know what a php.ini file is unfortunately. I'll have a read around and see if I can find out. | |
Oct 17, 2016 at 18:40 | comment | added | Chris | Thanks again Stephen - I've just checked and the permissions are set to 744 for all of those files. Although there isn't a craft/app/index.php - index.php is in the htdocs folder? | |
Oct 17, 2016 at 17:39 | comment | added | Brad Bell♦ | @Chris In addition to permissions, another thing to check is if you have any open_basedir restrictions in place in your php.ini file. | |
Oct 17, 2016 at 14:28 | comment | added | Stephen Hamilton |
Hmm, well the only function run by index.php to see if the craft folder exists is is_file on craft/app/index.php . Reading up on that on PHP's documentation, it says that the function can return false if the +x permission is not set for that file for the user running PHP, so maybe worth checking the craft , craft/app and craft/app/index.php permissions?
|
|
Oct 17, 2016 at 13:43 | comment | added | Chris |
Thanks Stephen, but that still doesn't work unfortunately: Could not find your craft/ folder. Please ensure that $craftPath is set correctly in /var/www/virtual/mysite.com/htdocs/index.php
|
|
Oct 17, 2016 at 13:10 | history | answered | Stephen Hamilton | CC BY-SA 3.0 |