An error is reported when the last class of the downloaded website is run. a website template is downloaded from the website and runs on the local machine. the following error occurs:
SCREAM: Error suppression ignored
(! ) Fatal error: Call to undefined function get_header () in 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 first line of php is:
Get_header (); // Loads the header. php template.?>
Why?
Reply to discussion (solution)
Get_headers ()
Or error:
(! ) Parse error: syntax error, unexpected '<'in C: \ wamp \ www \ zenith \ index. php on line 17
But there is no problem with the previous code:
/**
* Index Template
*
* This is the default template. It is used when a more specific template can't be found to display
* Posts. It is unlikely that this template will ever be used, but there may be rare cases.
*
* @ Package Zenith
* @ Subpackage Template
* @ Since 0.1.0
* @ Author Tung Do
* @ Copyright Copyright (c) 2013, Tung Do
* @ Link http://devpress.com/themes/zenith/
* @ License http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
Paste the code of 17 lines of attachments
/**
* Index Template
*
* This is the default template. It is used when a more specific template can't be found to display
* Posts. It is unlikely that this template will ever be used, but there may be rare cases.
*
* @ Package Zenith
* @ Subpackage Template
* @ Since 0.1.0
* @ Author Tung Do
* @ Copyright Copyright (c) 2013, Tung Do
* @ Link http://devpress.com/themes/zenith/
* @ License http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
Get_headers (); // Loads the header. php template.?>
"Class =" ">
'. _ (' [Entry-edit-link] [entry-published] [entry-author] [entry-comments-link] ', 'Zenith ').'
');?>
'
'. _ ('Pages:', 'Zenith '), 'after' =>'
');?>
'. _ ('[Entry-terms taxonomy = "category" separator = ""] [entry-terms taxonomy = "post_tag" separator = ""]', 'Zenith ').'
');?>
The first row is getheaders.
Get_headers (); // Loads the header. php template.?>
Delete the comments in this way. Otherwise, what is next?> Is commented out, or is it fixed?> Put it in the following line.
I understand. why are there so many low-level errors in templates on the Internet?
SCREAM: Error suppression ignored
(! ) Fatal error: Call to undefined function do_atomic () in C: \ wamp \ www \ zenith \ index. php on line 11
This error is still reported,