Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

changes in volt files are not viewed

Hello friends :)

I moved from windows 8 to ubuntu and copied my project files to their new directory under /var/www/phalcon/bos/ After editing .volt files, the changes are saved but not viewed in browser. Are there any settings differs between windows and linux must be done in Phalcon projects?



34.7k

Can you upload source on github ?

Hi Thiện sorry, I am using mobile now, they were working perfectly on window, my file starts with {{ content() }} and the rest of content is pure html code



4.3k
Accepted
answer

Does your webserver have write permissions in the dir where the compiled .volt files are stored?



18.5k
  1. Show your directory structure (the layout).
  2. Check what skollro says (the other day something exactly similar happened to me).
  3. Check that the Volt service has the compileAlways option set to true.
  4. Post your Volt code of index.php and of all the templates(.volt and .phtml files).
  5. Clear your browser's cache and reload the page.

I had to modify the permissions of cache folder, thank you very much friends :) :)