Failed to load resource: the server responded with a status of 404 (Not Found)

When managing to run an instance of suitecrm in my local from a running project it gives me this message in the console

Failed to load resource: the server responded with a status of 404 (Not Found)

In the network tab

> http://crm.local/cache/jsLanguage/en_us.js?v=RvRYyzdfQa5ZUFXdr-dvMw

I have confirmed that the en_us.js file is in the requested path

OS: window 11
PHP: 7.4.3
MySQL: 8

Could you give me a hint how to fix this behavior. Thanks in advance

Go to admin repair repair htaccess

Please verify that you have mod_rewrite enabled if you are using apache.

If it’s nginx server search the forum for nginx config for suiteCRM

Hello. Thanks for answering. The behavior described causes there to be no menu, but if I manually access it by changing the address from the address bar, I can access administration but when I try to repair it returns me to home, so I can’t rebuild the .htaccess

Regarding verifying that the mod_rewrite module is enabled, I will see to do it. I comment when there is news

I was able to identify the reason for the problem. In the virtual host in Directory the path included legacy, in this way

<Directory /var/www/crm.local/public/legacy>
# ...
</Directory>

I have removed legacy and it works properly

<Directory /var/www/crm.local/public/>
# ...
</Directory>
1 Like