Closed danielneal closed 10 years ago
Try to chmod your rackspace sugar instance to 777. Most of problems in Sugar come from this. If you can't get it working, uninstall jjwg, chmod -R 777 . and install it again
Wow - thanks for your quick response, Danisan! I'm pretty new to SugarCRM - aren't there security risks to setting the whole thing to 777? I did originally follow the guide to permissions; but obviously I've got something wrong somewhere... Are there specific additional folders that I should set to 777 to get jjwg working?
May be this is not the best practice, but when sugar itself installs modules, it uses the apache user to modify files. Sometimes depending on hosting configuration your user not always is the same as (for example www-data). This is the reason to solve this using this aproach. This is the guide about permissions ( I assumed your instance is under Linux) : http://support.sugarcrm.com/04_Find_Answers/02KB/02Administration/100Install/Required_File_System_Permissions_on_Linux
Also, there is SuiteCRM, a forked SugarCRM CE developement that is being released in a few days more, where jjwg maps is being included from scratch: www.suitecrm.com
Boom, it works!! Thanks a million.
This was the key, from the link you provided.
However, some hosting providers don't, by default, set the file group membership to the group to which the apache user belongs. In such cases, you will need to either request your hosting provider to change the group ownership of your Sugar installation files to a group that the Apache web server is a member of, or set the file permissions to:
- 777 for the directories listed above
- 666 for the config.php file and all files in the directories listed above
I just had to:
chmod 666 config.php
chmod -R 777 cache custom data modules
On Thu, Oct 10, 2013 at 12:34 PM, Daniel Blanco notifications@github.comwrote:
May be this is not the best practice, but when sugar itself installs modules, it uses the apache user to modify files. Sometimes depending on hosting configuration your user not always is the same as (for example www-data). This is the reason to solve this using this aproach. This is the guide about permissions ( I assumed your instance is under Linux) : http://support.sugarcrm.com/04_Find_Answers/02KB/02Administration/100Install/Required_File_System_Permissions_on_Linux
Also, there is SuiteCRM, a forked SugarCRM CE developement that is being released in a few days more, where jjwg maps is being included from scratch: www.suitecrm.com
— Reply to this email directly or view it on GitHubhttps://github.com/jjwdesign/JJWDesign-Google-Maps/issues/5#issuecomment-26046127 .
The best practice with this is the following: for SugarCRM:
chown -R
You should also check in config.php the following values:
array (
'dir_mode' => 1517,
'file_mode' => 420,
'user' => '
where
In SuiteCRM is easier:
chown -R
and in config:
array (
'dir_mode' => 1517,
'file_mode' => 493,
'user' => '
I'm running SugarCRM 6.5.15 on a rackspace server, and just installed the most recent version of your excellent google maps plugin.
Unfortunately the admin links do not appear in the admin page.
I'm very new to SugarCRM so at a loss how to debug it. I noticed you had a couple of commit messages relating to admin links recently, so I wondered if this was a known issue/something you're working on?
Strangely, the links seem to work on my local machine (running SugarCRM 6.5.14). Will try upgrading my local instance to 6.5.15 to see if that makes them disappear.
Anyways, hope you can help - the module (which I've got running locally) is a fantastic piece of work!