Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Themes /

Discuss SilverStripe Themes.

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

Warning: scandir ManifestBuilder.php on line 272


Go to End
Reply


15 Posts   4547 Views

Avatar
iSay

Community Member, 3 Posts

7 January 2009 at 4:01am

Hi there!

I just installed Silverstripe and the very nice theme Greenfield2. When I excecuted the flush (http://www.silver.shopart.se/hem/?flush=1) I get the following errors:

Warning: scandir(/home/silver/domains/silver.shopart.se/public_html/themes/greenfield2.tar.gz) [function.scandir]: failed to open dir: Not a directory in /home/silver/domains/silver.shopart.se/public_html/sapphire/core/ManifestBuilder.php on line 272

Warning: scandir() [function.scandir]: (errno 20): Not a directory in /home/silver/domains/silver.shopart.se/public_html/sapphire/core/ManifestBuilder.php on line 272

What's wrong?? Please help!

/Mike

Avatar
Rayman

Community Member, 3 Posts

7 January 2009 at 2:17pm

You should unzip the theme files and move the compress file to other directory. The theme under theme directory should not be compress format.

Avatar
iSay

Community Member, 3 Posts

7 January 2009 at 10:17pm

yes! I have decompressed the Greenfield theme under the theme directory. The theme appears as can be seen at http://www.silver.shopart.se but http://www.silver.shopart.se/?flush=1 gives the strange messages I posted in previous message... Also, after the installation of the theme, I had to remove my first meny item "Home" (since it went blank after ?flush=1) and recreate "Home"... :-(

Avatar
Nivanka

Community Member, 400 Posts

8 January 2009 at 11:18pm

there is a file called greenfield2.tar.gz in the following directory

home/silver/domains/silver.shopart.se/public_html/themes/

delete that then it will be okay.

Avatar
iSay

Community Member, 3 Posts

8 January 2009 at 11:26pm

Ok, great thanks, it worked! :-)

Avatar
Nivanka

Community Member, 400 Posts

9 January 2009 at 12:22am

the scandir raise this error when ever it founds a file which is not a directory. thats the issue

Avatar
lkirkpatrick

Community Member, 5 Posts

14 January 2009 at 5:39am

I also will get this warning when I use ?flush=1, but I don't have an archive in my themes folder. I created my own theme and am using flash as the main page. All my folders at set to 777 permissions. Is there anything else I am missing? Thanks for your help.

Avatar
Nivanka

Community Member, 400 Posts

14 January 2009 at 6:52am

Post your error.

Go to Top