Vanilla 2.1a24.1 ( Installation Issues )
Sure I asked this before.
Just installed fresh install version of Vanilla 2.1a24.1
Brand new database, clean etc etc etc
Nothing has changed on our server. Can install within seconds older versions, on the server. But this new version, seems to be creating problems again. So as I have tried searching the forums for answers, will ask here ...
Installed via FTP.
All folders chmod as normal.
Install process goes great, get BONK when viewing forum.
So add : $Configuration['Garden']['Debug'] = TRUE; to config.php
Nope the server will just not allow me to change it. So go in via the backend, in cpanel filemanager. The folder conf is 0777 all files within it are 0777
I try and edit config.php online via filemanager... I dont have permissions. ?
Argghh Have I missed something painfully obvious ?
Also if config is writeable, why the hell in dashboard do you not program a switch to add $Configuration['Garden']['Debug'] = TRUE; to the config file, so users can easily and swiftly turn error reporting on / off ?
There was an error rendering this rich post.
Comments
what about cache directory permissions? and do folders exist.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Yup all good. ( aside from the bonk )
Deleted db. Deleted all
Deleted all .ini files
Reuploaded conf folder
Created new DB
Run installer ..
Im thinking its Smarty .. as cache folder will not change permissions from 0755 to 0777
WIll redo it all again ....
There was an error rendering this rich post.
I know this isnt released yet, but there must be something within vanilla that is cocking this up, or otherwise .. I am a total noob today.
What sets the original global permission of files, when installing ( uploading from scratch ) ?
Seemingly.. this could be an issue ? not sure
There was an error rendering this rich post.
it is what your server provider set as default ownership for the user (at least in unix).
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
mmm ... so how does unix know to set suchnsuch a folder to 0644 and others to 0755 ?
There was an error rendering this rich post.
Weird... its now working ?
FMD !
There was an error rendering this rich post.
and the owner just gets reset
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Yep, but if you FTP a whole heap of files to your server, certain folders etc have specific perms already set. Some files are 644 some 755 etc ? just wondered what controls this.
There was an error rendering this rich post.
when you ftp it is based on the umask for the ftpuser you logged in under
for file creation. ftpping a directory may not change the directory perms if they already exist (not sure). But if it creates it is on the umask.
ftp also has an optional command
chmod mode file-name
Change the permission modes of the file file-name on the
remote sytem to mode.
http://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html
tar, gzip, cpio - all have permissions stored in the compressed or archive file - so when it creates directories, I believe it will use what is stored if it doesn't grant more permissions
cat /etc/profile
and you should see a default umask
if it is not overwritten in your user profile or startups like .bashrc
you can also type umask at the command prompt if you have access.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.