Support Forum

Fatal Error

AL Angie Lambert
Angie Lambert
Member

I am using the basic theme so I can create my own theme so when there is an update it does not override my changes. When I install my theme this is the error I am getting:

Fatal error: Cannot redeclare spcssonly_textdomain() (previously declared in /problem-with-post-edit-buttonome/angieatc/public_html/test1/wp-content/sp-resources/forum-themes/flivin/templates/spFunctions.php:17) in /problem-with-post-edit-buttonome/angieatc/public_html/test1/wp-content/sp-resources/forum-themes/newdaycommchurch/templates/spFunctions.php on line 18

Flivin = is the old theme and newdaycommchurch is the new theme I am uploading. I have gone into these files and changed everything to newdaycommchurch: spTheme (did not change file name), and the style sheet in the styles folder. I also changed the name of it to newdaycommchurch and changed this line (Theme:) to newdaycommchurch

What am I missing here? I did this for another site and had no errors. The forum uploads fine but I hate to have a fatal error for my client.

Thanks

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Taje a look here: http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/
Specifically you will need to look at section 5 in that article.

AL Angie Lambert
Angie Lambert
Member

PERFECT thank you so much! I knew I was missing something!