[Warning] file_get_contents(/home/uzojoe4s4zm9/public_html/themes/rook/ss_import.json): failed to open stream: No such file or directory

GET /

Line 148 in /home/uzojoe4s4zm9/public_html/app/code/Page.php

Source

139 
140 	public function init()
141   {
142       parent::init();
143 
144       Requirements::clear('jsparty/prototype.js');
145 
146       $rootFolder = dirname(dirname(__DIR__));
147       $themeFolder = $this->ThemeDir();
148       $file = file_get_contents($rootFolder . '/' . $themeFolder . '/ss_import.json', true);
149 
150       if($file) {
151           $import = json_decode($file, true);
152 
153           $js_includes = array();
154           $css_includes = array();

Trace

Home

Home

Getting Started

To get started with the SilverStripe framework:

  1. Create a Controller subclass (doc.silverstripe.org/framework/en/topics/controller)
  2. Setup the routes.yml to your Controller (doc.silverstripe.org/framework/en/reference/director#routing).
  3. Create a template for your Controller (doc.silverstripe.org/framework/en/reference/templates)

Community resources