0
Welcome Guest! Login
0 items Join Now

[Closed] Twig_Error_Runtime

    • jayjayr's Avatar
    • jayjayr
    • Hero Rocketeer
    • Posts: 330
    • Thanks: 1

    [Closed] Twig_Error_Runtime

    Posted 8 years 4 months ago
    • I searched the forum ad didn't find an answer.
      I'm just starting a new site, last joomla! version, last gantry5 version. I was able at some extent to work with themes and styles nut suddenly I get a runtime error by just selecting a style. Now I can't enter any style.
      The error is:
      Twig_Error_Runtime
      An exception has been thrown during the rendering of a template ("mkdir(): Permission denied") in "partials/outlines-list.html.twig" at line 9.

      followed by a long list of errors.
      Twig_Error_Runtime

      /vendor
      /twig
      /twig
      /lib
      /Twig
      /Template.php
      443
      40
      RuntimeException

      /classes
      /Gantry
      /Component
      /Filesystem
      /Folder.php
      325
      39
      Gantry
      \Component
      \Filesystem
      \Folder
      create

      /classes
      /Gantry
      /Component
      /Filesystem
      /Folder.php
      218
      38
      Gantry
      \Component
      \Filesystem
      \Folder
      copy

      /classes
      /Gantry
      /Joomla
      /StyleHelper.php
      76
      and more....

      Can anybody help please?

      Thanks Jay
    • Trying to learn something every day
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: [Closed] Twig_Error_Runtime

    Posted 8 years 4 months ago
    • Please would you post your URL, superuser id and pswd in the secure tab of your post and i'll have a look for you.

      Please post your FTP logon, password and FTP URL in the secure area of your post.


      So it sounds like you have a permissions issue on your server.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: [Closed] Twig_Error_Runtime

    Posted 8 years 4 months ago
    • Just a note on something which may be attributed to typos in original post. If not:

      I see slashes AND backslashes bouncing around that code and possibly some where they shouldn't be. Whether local or online, it doesn't look right.

      This could be a config problem from the install process or an SQL blip.
    • jayjayr's Avatar
    • jayjayr
    • Hero Rocketeer
    • Posts: 330
    • Thanks: 1

    Re: [Closed] Twig_Error_Runtime

    Posted 8 years 4 months ago
    • This message contains only secure information that is visible to jayjayr, moderators and administrators
    • Trying to learn something every day
    • jayjayr's Avatar
    • jayjayr
    • Hero Rocketeer
    • Posts: 330
    • Thanks: 1

    Re: [Closed] Twig_Error_Runtime

    Posted 8 years 4 months ago
    • This message contains only secure information that is visible to jayjayr, moderators and administrators
    • Trying to learn something every day
    • jayjayr's Avatar
    • jayjayr
    • Hero Rocketeer
    • Posts: 330
    • Thanks: 1

    Re: [Closed] Twig_Error_Runtime

    Posted 8 years 4 months ago
    • Thank you Mark.
      Just sent the details in secure zone
      Kind regards,
      jay
    • Trying to learn something every day
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: [Closed] Twig_Error_Runtime

    Posted 8 years 4 months ago
    • You are using apache2handler rtather than cgi/fastCGI and are not using an ftp account. In this circumstance it is most likely that the files/folders of your site have an owner/group of "apache" (rather than your FTP account) and therefore Joomla is unable to write to file/folders.

      But... I also checked your files/folders with FTP and the permissions are all wrong. Files should be 644 and directories should be 755 - yours are not.

      So, you need to correct permissions and owner/group.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: [Closed] Twig_Error_Runtime

    Posted 8 years 4 months ago
    • jayjayr's Avatar
    • jayjayr
    • Hero Rocketeer
    • Posts: 330
    • Thanks: 1

    Re: [Closed] Twig_Error_Runtime

    Posted 8 years 4 months ago
    • Hi Mark,

      I set /htdocs to Owned by me.
      The folders are 755 and files 644
      Some folders are 775 as needed in the system information / folder permissions
      Aparently everything is ok.
      When I try to enter the site I get this:
      Error displaying the error page: Unable to create the cache directory (/home/magiajsoares/57U0BFW3/htdocs/cache/gantry5/rt_callisto/twig/ec).: Creating directory '/home/magiajsoares/57U0BFW3/htdocs/cache/gantry5/rt_callisto/compiled/config' failed on error mkdir(): Permission denied
    • Trying to learn something every day
    • jayjayr's Avatar
    • jayjayr
    • Hero Rocketeer
    • Posts: 330
    • Thanks: 1

    Re: [Closed] Twig_Error_Runtime

    Posted 8 years 4 months ago
    • One thing that is strange is that the site was working and I was using the backoffice to develope it but suddenly without any special reason it started to give all these errors in the backoffice and now in the frontoffice.
    • Trying to learn something every day

Time to create page: 0.074 seconds