Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have installed Magento 2 but for some reason all the css/js/images are not loaded. Below are the steps i follow to install Magento 2

  • Create a sub-domain on cpanel
  • Downloaded Magento and uploaded via FTP to the sub-domain
  • Via cPanel FileManager extracted the tar.gz file
  • Follow the setup wizard (we have MySQL 5.6 and PHP 5.5 - the setup went fine without any problems)

Do i need extra software on my server (like composer) ?

I have searched for a solution into this but so far no luck

  • i've tried to change di.xml file but no luck
  • i've tried to run the static-content:deploy but i get errors

Regards

share|improve this question
    
Backend is working whick means all links – Learning Magento Dec 3 '15 at 10:04
    
the backend also has issues with the css/js/images – Armindo Pereira Dec 3 '15 at 10:20
    
Links are working – Learning Magento Dec 3 '15 at 10:21
    
some links work some dont – Armindo Pereira Dec 3 '15 at 10:41
    
ok try my answer – Learning Magento Dec 3 '15 at 10:42

Try this Before that take Backup

Remove everything, except .htaccess file from pub/static folder

Open up app/etc/di.xml find the path “Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink” and replace to Magento\Framework\App\View\Asset\MaterializationStrategy\Copy

Note: Remove entire files and folder under pub/static except .htaccess file.

For More info ref this http://www.dckap.com/blog/magento-2-admin-links-not-working-in-windows/

share|improve this answer
    
i've already tried this with no luck. I'm using a CentOS, Apache 2.2.31 – Armindo Pereira Dec 3 '15 at 10:44
    
Try to clear cache session and then check – Learning Magento Dec 3 '15 at 10:45
    
still no luck, but a strange thing is sometimes some image/css/js loads but not completely...the link is formacao.primariu.com/what-is-new.html – Armindo Pereira Dec 3 '15 at 10:56
    
You are upgrade this? – Learning Magento Dec 3 '15 at 10:59
    
no, its a fresh installation with the sample data, to see whats new about Magento2 – Armindo Pereira Dec 3 '15 at 11:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.