error when activating a theme

Permalink
Hi all!

i followed the theme building screencast and made one of the same html template (decayed).

However, when i click on activate and then i click on "Return to Website", i get the following error.
---

Warning: include(C:/wamp/www/c5/themes/halloween/default.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\c5\concrete\libraries\view.php on line 736

Warning: include() [function.include]: Failed opening 'C:/wamp/www/c5/themes/halloween/default.php' for inclusion (include_path='.;C:\php5\pear;C:/wamp/www/c5/libraries/3rdparty;C:\wamp\www\c5\concrete\config/../libraries/3rdparty') in C:\wamp\www\c5\concrete\libraries\view.php on line 736
---

I dont know what to make of it.

Any help on how to fix this would be greatly appreciated.

i am waiting for inputs.

Thank you! :)

Regards

 
Maynar replied on at Permalink Reply
Maynar
How did you name the file which you want to be using for the theme. In the directory: C:\wamp\www\c5\themes\halloween\

It should be default as the default pages are set to that handle. So rename the file you want to be using to default.php when it's not named like that.
wishmaster replied on at Permalink Reply
i checked and the file seems to have been named properly. I also checked this time using the same theme from the market place (free themes area).

and to my disappointment, i get the same error! :(

ps- i use WAMP...
Maynar replied on at Permalink Reply
Maynar
Well it's strange that you get that error if you say it exists.

Because it doesn't.

C:/wamp/www/c5/themes/halloween/default.php
(it says wamp in the url, so I noticed)

What is in that directory if you go to it?
Post a list of files that are present there.

Because it wants to load default.php, but it's not there. Are you sure it's not in a different directory. Are you sure you are using the halloween theme (that's what concrete thinks).
Does the halloween directory still exists in the theme directory?
wishmaster replied on at Permalink Reply 1 Attachment
Hi. it seemed to work but only with the free theme of halloween i downloaded.

I checked with the one i made myself from the html template. But it didnt work for it and gave the same error.

Hence i am posting the default.php here. Please let me know what i am doing wrong.


Thank you!

Here are the contents of my folder

default.css
desciption.txt
default.php
thumbnail.png
license-readme.txt
img (folder)
Maynar replied on at Permalink Reply
Maynar
Is it really named .php.txt on your webserver?
Remove the .txt and only keep default.php

If it's named correctly it should work as the file itself is no issue at all.

The other thing can be the handle. It wants to load from the halloween directory, but if you place it in another one; it will never load.