Error at the top of page Warning** : file_exists(): open_basedir

The Error

**Warning** :file_exists(): open_basedir restriction in effect. File(/* <body>
// ========================================================================== */

body {
      background-color: {{dc:theme:x_design_bg_color}};
  }

/* Container Sizing
// ========================================================================== */

.x-container.width               { width: {{dc:theme:x_layout_site_width unit="%"}};         }
...

The Function its calling ThemeOptions.php line 502 below

  private function stackCSSProcess($fileOrCSS) {
    if (file_exists($fileOrCSS)) { //502
      return file_get_contents($fileOrCSS);
    }
    return $fileOrCSS;
  }

it does the same again for another file
open_basedir restriction in effect. File(/* Custom Fonts …

The rest of the website below is still functioning.

open_basedir = {WEBSPACEROOT}{/}{:}{TMP}{/}

I’m on the starter stack. if I change stack the site gives a 404.
If I turn off debug mode the site shows 404
if I set open_basedir to none. 404

Any help would be greatly appreciated.

Thanks

Hey Sam,

Thanks for reaching out!

We are not experiencing that issue on our installation. That being said, I highly suggest that you reinstall or update the theme to the latest version.

Hope that helps.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.