• Resolved mea777

    (@mea777)


    Hi,

    I installed the lovely ‘desire theme’ which worked fine until I created a child theme for it. My stylesheet looks correct with the @import url(“../desire/style.css”); but I get this warning instead. Now it won’t even let me log on. It kind of all started when I deleted a couple of previous theme I didn’t want anymore. What can I do?

    Warning: require_once(/home/content/23/7430623/html/wordpress/wp-content/themes/desirecitrus/adminform.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/23/7430623/html/wordpress/wp-content/themes/desire/functions.php on line 91

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/23/7430623/html/wordpress/wp-content/themes/desirecitrus/adminform.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/23/7430623/html/wordpress/wp-content/themes/desire/functions.php on line 91

Viewing 6 replies - 1 through 6 (of 6 total)
  • David

    (@thatseoguydavid)

    i think you need to get rid of the functions file in your child theme.

    WordPress will pull it from the parent theme(desire). It handles function files different than css files. Css files in a child theme are loaded before the parent theme but function files are loaded together, I believe. So just delete the functions.php from the child theme and you should be good

    Thread Starter mea777

    (@mea777)

    wow that was quick. Thanks David. The only thing…… I didn’t upload a functions file, just the style.css one calling for the parent one….

    David

    (@thatseoguydavid)

    that seems weird, it’s like it’s missing a function, do you have the child theme and the original desire theme in your themes folder?

    they also have a forum so if you don’t get the help you need here you may want to post over there http://wprocks.com/forums/

    Thread Starter mea777

    (@mea777)

    All was in the right place….. deleted the themes a few times and reinstalled, still didn’t work.

    In the end I tried another couple of themes and they both worked, so I created the child from one of them, no issues there whatsoever, so maybe there’s something wrong with the desire theme. Shame as it was very nice but I spent a few hours too many trying to make it work…

    thanks for your help though 😉

    David

    (@thatseoguydavid)

    that stinks, maybe some themes just don’t support child themes, I like to base all my child themes with twenty ten just cause it’s so well documented and I usually build them from the ground up. Glad you got it working though!

    I am having the same problem, and just found this…..

    hope it helps!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘child theme not working’ is closed to new replies.