0
Welcome Guest! Login
0 items Join Now

ErrorException: theme.yaml is not within the allowed path(s)

    • ekk's Avatar
    • ekk
    • Newbie
    • Posts: 12
    • Thanks: 0

    ErrorException: theme.yaml is not within the allowed path(s)

    Posted 9 years 5 months ago
    • Hello,

      I'm running Theme: Salient (v1.1.0 / rt_salient) on WP, after accessing Salient Theme->About section in backend I'm getting the following errors:

      Whoops \ Exception \ ErrorException (E_WARNING)

      file_exists(): open_basedir restriction in effect. File(/home/users/bond/public_html/test/wp-content/themes/index.php/gantry/theme.yaml) is not within the allowed path(s): (/home/users/bond/:/usr/lib/php:/usr/lib/php54:/usr/local/lib/php:/tmp)
      Open: /home/users/bond/public_html/test/wp-content/plugins/gantry5/src/vendor/rockettheme/toolbox/ResourceLocator/src/UniformResourceLocator.php

      // Handle absolute path lookup.
      $fullPath = rtrim($path . $filename, '/');
      if (!$absolute) {
      throw new \RuntimeException('UniformResourceLocator: Absolute stream path with relative lookup not allowed', 500);
      }
      }

      if ($all || file_exists($fullPath)) {
      $current = $absolute ? $fullPath : $relPath;
      if (!$array) {

      GET Data
      page layout-manager
      view about
      action gantry5




      0.
      …/­vendor/­rockettheme/­toolbox/­ResourceLocator/­src/­UniformResourceLocator.php325


      Registered Handlers
      0. Whoops\Handler\PrettyPageHandler
      1. Whoops\Handler\PlainTextHandler
      2. Whoops\Handler\JsonResponseHandler



      Any ideas how to fix it?

      Cheers
    • Last Edit: 9 years 5 months ago by ekk.
  • Re: ErrorException: theme.yaml is not within the allowed path(s)

    Posted 9 years 5 months ago
    • Hi,

      There's an issue with your server configuration and open_basedir. Can you please ask your hosting company about it ?

      Thanks,
      Jakub
    • Remember to always post a link to the site you're having problem with.
    • ekk's Avatar
    • ekk
    • Newbie
    • Posts: 12
    • Thanks: 0

    Re: ErrorException: theme.yaml is not within the allowed path(s)

    Posted 9 years 5 months ago
    • hi,

      my service provider claims that open_basedir is set correctly only to allow reading directories from within my account and they don't know what your script is reffering to, what should I tell them in such case?

      cheers
  • Re: ErrorException: theme.yaml is not within the allowed path(s)

    Posted 9 years 5 months ago
    • Hi,

      Looks like in the end it was a bug in Gantry 5. Sorry about that. We already fixed it and it will be released in version 5.2.0 today or tomorrow.

      Thanks,
      Jakub
    • Remember to always post a link to the site you're having problem with.
    • ekk's Avatar
    • ekk
    • Newbie
    • Posts: 12
    • Thanks: 0

    Re: ErrorException: theme.yaml is not within the allowed path(s)

    Posted 9 years 5 months ago
    • ekk's Avatar
    • ekk
    • Newbie
    • Posts: 12
    • Thanks: 0

    Re: ErrorException: theme.yaml is not within the allowed path(s)

    Posted 9 years 5 months ago
    • hello,

      has the update arrived already?
      cheers
    • Last Edit: 9 years 5 months ago by ekk.

Time to create page: 0.073 seconds