kandil
07-20-2012, 03:39 PM
When I install the Wordpress Template it gives me an error :
Fatal error: Call to undefined function do_action() in C:\wamp\www\index.php on line 11
and the line 11 is the one in Black font below
This is all the code in index.php file
<?php
global $avia_config;
/*
* check which page template should be applied:
* checks for dynamic pages as well as for portfolio, fullwidth, blog, contact and any other possibility :)
* Be aware that if a match was found another template wil be included and the code bellow will not be executed
* the function avia_get_frontpage_template() located at the top of includes/helper-template-logic.php is
* responsible for all those checks
*/
do_action('avia_action_frontpage_check');
/*
* If the frontpage check above doesnt redirect the site to a static page or dynamic template show the default blog
*/
get_template_part( 'template', 'blog' );
?>
Fatal error: Call to undefined function do_action() in C:\wamp\www\index.php on line 11
and the line 11 is the one in Black font below
This is all the code in index.php file
<?php
global $avia_config;
/*
* check which page template should be applied:
* checks for dynamic pages as well as for portfolio, fullwidth, blog, contact and any other possibility :)
* Be aware that if a match was found another template wil be included and the code bellow will not be executed
* the function avia_get_frontpage_template() located at the top of includes/helper-template-logic.php is
* responsible for all those checks
*/
do_action('avia_action_frontpage_check');
/*
* If the frontpage check above doesnt redirect the site to a static page or dynamic template show the default blog
*/
get_template_part( 'template', 'blog' );
?>