WordPress.org

Ready to get started?Download WordPress

Forums

My Child theme instal, went horribly Wrong! (5 posts)

  1. aasuccess
    Member
    Posted 1 year ago #

    Hi All,

    I recently and relunctly decided to use a child theme, everyone was raving about it, so i thought, OK maybe its time to migrate to the child era!!

    I followed all the instruction, and created my first child theme,

    But......
    Something....
    Went wrong.....

    The all important theme editor had disapeared....

    all the header.php
    content.
    footer.
    etc...

    have all gone, I cant edit nothing....

    and i have an error showing at the top of the theme editor page:

    Warning: file_get_contents(/var/www/vhosts/kings-associates.com/httpdocs/wp-content/themes/child themestyle.css) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/vhosts/kings-associates.com/httpdocs/wp-content/plugins/wp-editor/classes/WPEditorThemes.php on line 103#

    Please advice and help a newbie child.....

    Thanks in advance

  2. superevil
    Member
    Posted 1 year ago #

    The last time I did something weird, my host could put back the missing files. :)

    Maybe you should give a try until someone find what went wrong.

  3. aasuccess
    Member
    Posted 1 year ago #

    What has caused this to happen,
    What files are missing?

  4. DeathAngelDaemon
    Member
    Posted 1 year ago #

    it looks like a slash / is missing... and everything stands in the error message!

    Warning: file_get_contents(/var/www/vhosts/kings-associates.com/httpdocs/wp-content/themes/child themestyle.css) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/vhosts/kings-associates.com/httpdocs/wp-content/plugins/wp-editor/classes/WPEditorThemes.php on line 103#

    the WPEditorThemes.php wants to call the Stylesheet-file from the current theme, but as you can see there is standing a wrong path ...wp-content/themes/child themestyle.css.
    I think the folder of your theme is child and WP wants to call the themestyle.css but there is a missing slash between child and themestyle.css

  5. scotlyn3@juno.com
    Member
    Posted 1 year ago #

    Hi all,

    I made a child theme((Blaskan) after making changes to my parent theme, and my child theme does not look like my parent theme. I even tried deleating the parent theme and resinstalling it so that I can make the child theme again with an unedited version, but the parent theme was reinstalled with all my changes intact. I want to know how I can get my child theme to look like the parent theme, whether it's the original template or with the changes I made.

Topic Closed

This topic has been closed to new replies.

About this Topic