0

I am trying to modify the header section layout the Air theme and I get the following error:

Error: file_put_contents(/var/www/ip417/Theme/Air/assets/theme.css): failed to open stream: Permission denied in /var/www/ip417/Ip/Internal/Design/LessCompiler.php:174{"result":true,"id":null}

I am using 4.0.17 which I installed today.

I just went back to my 4.0.16 set up where I was doing similar adjustments and I don't get this problem

  • 2
    Are you sure the compiler is allowed to write in /vart/www/ip417/Theme/Air/assets ? – Eric MORAND May 30 '14 at 17:36
  • I wish I knew, I am new to LESS – user3589292 May 30 '14 at 18:14
  • 1
    I've just tested on my localhost and on shared hosting. Cannot reproduce this error. Check whether this path really exists and has required permissions to write to that folder/file. It doesn't relate with LESS. It's just PHP cannot write information to a file. – Audrius Jankauskas May 30 '14 at 19:17

1 Answers1

0

Write this in command line:

chmod -R 777 /var/www/ip417/Theme

Mangirdas Skripka
  • 1,647
  • 1
  • 15
  • 14