Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » When I try to run ?flush=1 I get the following errors can anyone help

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 872 Views
  • mj_byrne
    Avatar
    Community Member
    2 Posts

    When I try to run ?flush=1 I get the following errors can anyone help Link to this post

    here is line 272 of manifestbuilder.php
    267 /**
    268     * Generates the template manifest - a list of all the .SS files in the
    269    * application
    270    */
    271   private static function getTemplateManifest($baseDir, $folder, &$templateManifest, &$cssManifest, $themeName = null) {
    272      $items = scandir("$baseDir/$folder");
          if($items) foreach($items as $item) {
             if(substr($item,0,1) == '.') continue;
             if(substr($item,-3) == '.ss') {
                $templateName = substr($item, 0, -3);
                $templateType = substr($folder,strrpos($folder,'/')+1);
                if($templateType == "templates") $templateType = "main";

                if($themeName) {
                   $templateManifest[$templateName]['themes'][$themeName][$templateType] = "$baseDir/$folder/$item";
                } else {
                   $templateManifest[$templateName][$templateType] = "$baseDir/$folder/$item";
                }

             } else if(substr($item,-4) == '.css') {
                   $cssName = substr($item, 0, -4);

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/about.gif) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/bg1.jpg) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/bright.css) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/classes.gif) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/contact.gif) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/faculty.gif) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/header1.gif) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/header1.jpg) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/home.gif) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/main_nav_bg.gif) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/mission.gif) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/photos.gif) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir(/home/content/m/i/s/missdeb/html/themes/policies.gif) [function.scandir]: failed to open dir: Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/content/m/i/s/missdeb/html/sapphire/core/ManifestBuilder.php on line 272

    872 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.