I had this exact same problem installing 2.0.5-pl - except on Ubuntu.
Files and folders are all there. I manually run through all the checks in /setup/includes/modinstall.class.php, ’public function findCore()’,in a ’[tt]php -a[/tt]’ shell, they all pass, returning 1:
[tt]echo file_exists(’/home/duncan/www/modx_revolution/casino4mobile/core/’);
1
echo is_dir(’/home/duncan/www/modx_revolution/casino4mobile/core/’);
1
echo file_exists(’/home/duncan/www/modx_revolution/casino4mobile/core/’ . ’xpdo/xpdo.class.php’);
1
echo file_exists(’/home/duncan/www/modx_revolution/casino4mobile/core/’ . ’model/modx/modx.class.php’);
1[/tt]
Then I thought, maybe this is permissions related - ’[tt]php -a[/tt]’ shells will run with my permissions, I think?
This page (
http://rtfm.modx.com/display/revolution20/Advanced+Installation) says that the ’[tt]/core[/tt]’ folder needs to be readable and the ’[tt]/core/cache[/tt]’ needs to be writeable by php - which I don’t think it was before. Changed that like this and that fixed it:
[tt]sudo chmod -R 0755 ${SITE_FOLDER}/core/
sudo chmod -R 0777 ${SITE_FOLDER}/core/cache/[/tt]
The rest of the installer then proceeded fine and installed. I got to the last but which offers to remove the ’[tt]/setup[/tt]’ folder and then redirects you to the manager, clicked Ok - and got a blank screen.
After poking around for a while in the newly installed folders and DB to make sure there was nothing obvious missing, I just did this:
[tt]sudo chmod 0777 -R ${SITE_FOLDER}/[/tt]
and that seemed to sort it - I’m now logged into the manager and everything seems to be working fine. I know that’s not a great idea, but I was getting fed up by that point. Is there documentation somewhere which lists what permissions need to be set to what for revo? Just the output from ’[tt]tree -dp[/tt]’ in the root of an ideally setup revo install would be great.