Support (offered by community volunteers) > Upgrading CiviCRM
Smarty errors on upgrade from 1.7 to 1.8
Donald Lobo:
the 'files' directory does not need 777 access. The permissions need to be sufficient to allow the web server to read/write/create files in that directory. So depending on who 'owns' that directory, the permissions could be different and more restricted. Its a bit difficult to explain in a few sentences and hence we ask folks to give 777 permission which is all encompassing
lobo
rickcohen:
It appears the the problematic directories are "owned" by apache. I understand why you recommend the 777 permission, its definitely easier than setting up custom permissions for different things. The 3 top directories you mentioned (and are mentioned in the upgrade documentation) all do have 777 permissions, but the issues are cropping up with directories under templates_c being dynamically created seemingly without sufficient privileges as the Smarty errors seem to indicate insufficient access.
I am looking at an installation of 1.7 that I have on another site I maintain and the permissions actually match what I have on the 1.8 installation (777 for the top directories, 751 for the subdirectories) and I have no issues with that installation.
If anyone would be willing to take a quick peek at what is going on on my site, I'd be happy to set up a temporary username for you with admin privileges. Based on what I see on the other site, I don't understand why these issues are coming up....
rickcohen:
I decided to try yet another fix, but was still unsuccessful. This time I created another directory under files/civicrm called templates_c1 and changed the compile directory in civicrm.settings.php to reflect this. Reloaded the module and menus, but am still getting the same issues (just the error says templates_c1, rather than templates_c). I'm not sure what else to try.... Anyone have another direction I should look in?
Donald Lobo:
Can u get on IRC and we can chat about this. I'll need ssh access to your box, so make sure u have the credentials ready
lobo
rickcohen:
I'm on IRC now. Will need to log off shortly for the commute home, but will log back on by 6:30 Eastern. As I mentioned earlier, I can't get SSH access.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version