php - Parse error: syntax error, unexpected end of file in line 179 (file doesn't have so many lines) -


i'm getting error-message while executing .php-file has 177 lines.

background: wordperfect-install, same page executes fine other records, in record causes issues, i'm demo-ing new shortcodes. not unlikely made fault in these developments, done outside of "crashing" file, wonder why appear there (and such strange line-no.) , not in source modified...

in wp-config.php, have set define('wp_debug', true);

p.s: exact error msg is:

parse error: syntax error, unexpected end of file in c:\xampp\htdocs\wp-content\themes\mytheme\single-record.php on line 179 

ok, of fellow dev found solution: guy wrote original code had used short opening tags in php '<?' , apparently support these needs enabled in php.ini (which had not done, 'coz not them). so, after updating tags "decent php", error gone!


Comments