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   4361 Views

Avatar
iSay

7 January 2009 at 4:01am Community Member, 3 Posts

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

7 January 2009 at 2:17pm Community Member, 3 Posts

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

7 January 2009 at 10:17pm Community Member, 3 Posts

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

8 January 2009 at 11:18pm Community Member, 395 Posts

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

8 January 2009 at 11:26pm Community Member, 3 Posts

Ok, great thanks, it worked! :-)

Avatar
Nivanka

9 January 2009 at 12:22am Community Member, 395 Posts

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

Avatar
lkirkpatrick

14 January 2009 at 5:39am Community Member, 5 Posts

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

14 January 2009 at 6:52am Community Member, 395 Posts

Post your error.

Go to Top