SyntaxError90 wrote:Typically why you would be getting the errors would be due to the fact that the directory permissions are incorrect, and as you discovered, chmod-ing the directories to 777 usually fixes things.
Yeah, I would definitely say it is something permission based. I can tell you the following:
/store/mods is chmodded to 777
The full path is /var/www/dementia/data/public_html/forums
dementia is the ftp user and also the owner of everything from /public_html to /public_html/forums/*
dementia is also part of the www-data group running apache
How are the files dumped in the forum root?
I'll paste a run from a mod install rq:
After upload, the folder is created:
drwxr-xr-x 3 www-data www-data 4096 2010-05-18 16:03 Anti_double_post_v2.0.4
Going to install, using either ftp or simple socket and the following settings:
Path to phpbb: public_html/forums/
The directory ./../store/mods/Anti_double_post_v2.0.4/_edited could not be created
The directory ./../store/mods/Anti_double_post_v2.0.4/_edited/adm/style could not be created
The directory ./../store/mods/Anti_double_post_v2.0.4/_edited/includes/acp could not be created
After I chmod the directory itself to 777 I can install and it shows:
root/install/install_adp.php install/install_adp.php Success
root/language/en/mods/anti_double_post.php language/en/mods/anti_double_post.php Success
root/language/en/mods/permissions_anti_double_post.php language/en/mods/permissions_anti_double_post.php Success
Buuut the files are just sitting in public_html/forums:
-rw-r--r-- 1 dementia dementia 2852 2010-05-18 16:08 anti_double_post.php
-rw-r--r-- 1 dementia dementia 1096 2010-05-18 16:08 install_adp.php
-rw-r--r-- 1 dementia dementia 1236 2010-05-18 16:08 permissions_anti_double_post.php
Moving the files manually immediately fixes the problem
Do you have a link to the original MOD? It is possible the MODX is incorrect.
This is with every mod I have tried so far - from ones done by mods to other randoms (including of course, Anti Double Post).
Thanks very much for the assist