Home Forums Fashionic HTML Theme Theme 'breaks' when Child Theme is installed

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  BWSM 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10954

    meerte
    Participant

    Hi,

    When we generate a child theme we receive the following warning & fatal error:

    Warning: require_once(/home/0001/sites/s76/supportmeteenklik.nl/web/cms/wp-content/themes/fashionic-child/functions/option/options-framework.php): failed to open stream: No such file or directory in /home/0001/sites/s76/supportmeteenklik.nl/web/cms/wp-content/themes/fashionic/functions.php on line 595

    Fatal error: require_once(): Failed opening required ‘/home/0001/sites/s76/supportmeteenklik.nl/web/cms/wp-content/themes/fashionic-child/functions/option/options-framework.php’ (include_path=’.:/usr/local/php-5.4.45-1/share/pear’) in /home/0001/sites/s76/supportmeteenklik.nl/web/cms/wp-content/themes/fashionic/functions.php on line 595

    Deleting the child theme and reinstalling Fashionic theme solves the problem, but we wish to have a child theme as you can imagine ;-). How can we solve thisd? Thanks in advance for your help!

    Cheers,
    Meerte

    #10955

    meerte
    Participant

    Concerns following URL: http://supportmeteenklik.nl/cms

    #10960

    BWSM
    Keymaster

    Hi,

    Please try to update the line587-593 in functions.php as:

    //if ( STYLESHEETPATH == TEMPLATEPATH ) {
    		define('OPTIONS_FRAMEWORK_URL', TEMPLATEPATH . '/functions/option/');
    		define('OPTIONS_FRAMEWORK_DIRECTORY', get_bloginfo('template_directory') . '/functions/option/');
    	//} else {
    	//	define('OPTIONS_FRAMEWORK_URL', STYLESHEETPATH . '/functions/option/');
    	//	define('OPTIONS_FRAMEWORK_DIRECTORY', get_bloginfo('stylesheet_directory') . '/functions/option/');
    	//}
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.