Magento Admin CSS and JS paths incorrect after moving server and product pages empty?

前端 未结 2 449
臣服心动
臣服心动 2020-12-30 07:19

I have recently moved a Magento site from a subdomain to it\'s destination domain at picnprint.me on a different server. I am experiencing two problems at the moment since m

2条回答
  •  情书的邮戳
    2020-12-30 07:56

    I had the same issue. I know this may not be the answer to the above question but still feel that this could help someone with a very similar issue.

    I have had this problem a couple of times now and end up googling in circles for 20 minutes before I remember the solution. This post is mostly for my future self who will undoubtedly have the issue again.

    I had 'combine javascript and css enabled'. My locally combined css and js files were being automatically deployed to the server.

    The issue was that my media folder where all the css and js was now being loaded from did not have the correct permissions. After granting apache write permission all of my troubles went away :).

    It is probably a good idea to add the media/css and media/js folders to .gitignore.

提交回复
热议问题