problems download a dev code of Sugarcrm 14

Hello, I'm writing to ask for help because I'm having trouble downloading the Sugar project we're working on locally. I've already configured php.ini and httpd.conf.

The config.php, config_override.php, and .htaccess files were shared with me by the team and have the necessary permissions. The problem is that when I load the environment, this happens:

In console of Chrome apperas this:



Environment

  • macOS (local dev)

  • MAMP Apache 2.4.54, PHP 8.2.0

  • SugarCRM 14.0.0 (on-prem codebase)

  • MySQL running locally

  • Site URL: http://localhost:8888/campeon

  • .htaccess is being applied (verified)


    In the htacess i have 

    RewriteBase /campeon/



    Finally, I have applied these permissions:

    find . -type d -exec chmod 2775 {} \;
    find . -type d -exec chmod 755 {} \;
    Any suggestions for solving this problem?
Parents
  • Hi ,

    In addition to what Angel suggests, it looks as if your "find..." permissions are not complete. It may be a typo copying into the message but you need to set permissions for files as well as directories.
    Files do not need to be executable (they are mostly PHP and Javascript text files) so one of your "find" commands should be:

    find . -type f -exec chmod 644 {} \;

    Note that some of the files need to be writeable by the web server user (usually apache or www-data or similar) so depending on what owner you have set on them your chmods may need to use 775 & 664 instead of 755 & 644.

    Another option (as this is local I presume for dev purposes) may be to try setting up the instance using the Docker containers in SugarDockerized - available on GitHub. I find this the easiest way to set up a copy of a cloud instance for local dev work. SugarDockerized takes care of all elements for you including file permissions.

    Thanks,

    JH.

Reply
  • Hi ,

    In addition to what Angel suggests, it looks as if your "find..." permissions are not complete. It may be a typo copying into the message but you need to set permissions for files as well as directories.
    Files do not need to be executable (they are mostly PHP and Javascript text files) so one of your "find" commands should be:

    find . -type f -exec chmod 644 {} \;

    Note that some of the files need to be writeable by the web server user (usually apache or www-data or similar) so depending on what owner you have set on them your chmods may need to use 775 & 664 instead of 755 & 644.

    Another option (as this is local I presume for dev purposes) may be to try setting up the instance using the Docker containers in SugarDockerized - available on GitHub. I find this the easiest way to set up a copy of a cloud instance for local dev work. SugarDockerized takes care of all elements for you including file permissions.

    Thanks,

    JH.

Children
No Data