Jump to:

1374 Posts in 487 Topics by 520 members

Themes

SilverStripe Forums » Themes » strange error msg

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 1330 Views
  • mdm
    Avatar
    Community Member
    19 Posts

    strange error msg Link to this post

    When i visit my site now i get a msg like this:

    Warning: scandir(/themes/_config.php) [function.scandir]: failed to open dir: Not a directory in /sapphire/core/ManifestBuilder.php on line 272

    Warning: scandir() [function.scandir]: (errno 20): Not a directory in /sapphire/core/ManifestBuilder.php on line 272

    Under it i see my page but its distorted.
    When pressing F5 its back to normal.

    Ideas?

  • Ultimate
    Avatar
    Community Member
    18 Posts

    Re: strange error msg Link to this post

    It's a pretty common error.

    It can occur if you changed your projectname in _config.php, but did not changed the name of the project-folder. Maybe you let it by "mysite". But those names have to be the same.

  • mdm
    Avatar
    Community Member
    19 Posts

    Re: strange error msg Link to this post

    in config i changed template from blackcandy to my name i have, and folder is named the same.
    strange error to accure since its working and i see template under this msg, but the site is aligned left. pressing F5 and its all perfect and no error msg.

    Looking right now and didnt get this msg but I do get some XML error but im to fast with reflexes so my hand went to F5 before i had the chance to copy it - im a bad surfer.

    If I change back to blackcandy in _config.php its all good. change to "atten4" witch is the tempalte dir name i get this msg but just sometimes. confusing really.

  • Ultimate
    Avatar
    Community Member
    18 Posts

    Re: strange error msg Link to this post

    Sorry this did not work for you, but it helped me some days ago.

    Just take a look into other threads, e.g.
    http://www.silverstripe.org/themes-2/show/251691?start=0

  • mdm
    Avatar
    Community Member
    19 Posts

    Re: strange error msg Link to this post

    I noticed something today when making final things on the design. mysite and template dirs had both _config files in them, removed from template dir and its okey now

    www.atten4.se
    added to showcase aswell

    love this cms - woho! so simple to make my own design work perfect.
    Challange will now be to make more advanced stuff but this was a good start to learn.

    1330 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.