Run the downloaded website last class error

Source: Internet
Author: User
Tags parse error php template scream
From the web under the template of a website, in the local run, this error occurs:
Scream:error suppression ignored for
( ! ) Fatal error:call to undefined function get_header () inch C:\wamp\www\zenith\index.php on line 17
Call Stack
# Time Memory Function location
1 0.0004 386824 {main} (): \index.php:0


Index The 17th Line of PHP is:
Get_header (); Loads the header.php template. ?>

Why is this?


Reply to discussion (solution)

Get_headers ()

or an error:
( ! ) Parse error:syntax error, unexpected ' < ' in C:\wamp\www\zenith\index.php on line 17

But there's no problem with the previous code:
/**
* Index Template
*
* This is the default template. It is used if a more specific template can ' t being found to display
* Posts. It is unlikely, the this template would ever be used, but there could be rare cases.
*
* @package Zenith
* @subpackage Template
* @since 0.1.0
* @author Tung do
* @copyright Copyright (c), Tung do
* @link http://devpress.com/themes/zenith/
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/

Paste the code for the 17-line attachment

/**
* Index Template
*
* This is the default template. It is used if a more specific template can ' t being found to display
* Posts. It is unlikely, the this template would ever be used, but there could be rare cases.
*
* @package Zenith
* @subpackage Template
* @since 0.1.0
* @author Tung do
* @copyright Copyright (c), Tung do
* @link http://devpress.com/themes/zenith/ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/

Get_headers ();//Loads the He ader.php template. ?>

!--? php do_atomic (' before_content ');//Zenith_before_content?-->





!--? php if (have_posts ()):?-->!--? php while (have_posts ()): The_post ();?-->

!-- ? php do_atomic (' before_entry '); Zenith_before_entry?-->

"class="!--? php hybrid_entry_class (),?--">

!--? php do_ Atomic (' Open_entry '); Zenith_open_entry?-->








→', ' Zenith '));?>
'

' . __ (' Pages: ', ' Zenith '), ' after ' = '

'));?>































Line 17th is getheaders.

Get_headers (); Loads the header.php template. ?>
This deletes the comment, or the subsequent?> is commented out, or the?> is placed on the following line.

Know, the online template, how so many low-level mistakes AH

Scream:error suppression ignored for
( ! ) Fatal error:call to undefined function do_atomic () inch C:\wamp\www\zenith\index.php on line 11
Now this is still the error,

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.