cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with css and javascript after installation RELOADED!

Problems with css and javascript after installation RELOADED!

Friends,

I just installed version 2.2, but after all ok, I go to the frontend or the backend but in both cases aren´t loaded css and javascript files...

and it is because it is looking for the files in pub/static in a dynamic folder that does not exist .. I saw in other posts out there that you have to execute a series of commands from an ssh console to make a deploy of the files:

 

php -f bin / magento setup: static-content: deploy

php -f bin / magento indexer: reindex

php -f bin / magento cache: flush

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

 

The issue is that I do not have access to an SSH command console and from the hosting service they tell me that they can not execute them ..

IS THERE  OTHER WAY TO SOLVE THIS PROBLEM IN MAGENTO ?? Thanks in advance!

1 REPLY 1

Re: Problems with css and javascript after installation RELOADED!

Without running command its near to impossible solve this issue.

 

Still go to your database and run below query .

 

insert core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0);

 

After that run all those commands which you have listed it will works.

 

if issue solved, Click kudos/Accept as solutions.

 

 

if issue solved,Click Kudos & Accept as Solution