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
  • Have you tried installing a stock instance to see what, if any, errors the installer returns? 

    Based on the errors you've shared, I would guess the issue is that either the mod_rewrite module is not loaded/enabled, or file permissions are not quite right.

    Also, I don't know if this has any bearing, but you shouldn't need the trailing / after "campeon"

  • Hi Angel

    Sure, I already installed a stock instance and it didn't give me any themes. I followed the documentation for Sugar 14 and it didn't work either.

    I managed to get it working by doing this; I don't quite understand what happened, but now the login screen loads.

    # 1) rm -rf vendor/google/apiclient vendor/google/apiclient-services

    # 2) composer clear-cache

    # 3) composer config -g process-timeout 1800

    # 4) composer require google/apiclient:^2.17 google/apiclient-services:^0.366 --no-dev

    # 5) composer dump-autoload -o


    What happened?

  • Hi Adrian,

    Not sure I can answer your question as to what happened. None of those steps are required to install a stock instance, nor have I ever encountered a need to execute them. There should never be a need to delete a stock folder to complete a stock install.

    The point "it didn't give me any themes" continues to suggest to me that there is a permissions or rewrite problem. It likely can't load the CSS, either because the web server can't properly create the contents of ./cache or it simply can't read the contents of that directory.

Reply
  • Hi Adrian,

    Not sure I can answer your question as to what happened. None of those steps are required to install a stock instance, nor have I ever encountered a need to execute them. There should never be a need to delete a stock folder to complete a stock install.

    The point "it didn't give me any themes" continues to suggest to me that there is a permissions or rewrite problem. It likely can't load the CSS, either because the web server can't properly create the contents of ./cache or it simply can't read the contents of that directory.

Children
No Data