Wiki Error
How do I fix this?
Thanks Kevin
An error has occurred
A template file is missing: templates/WIKI_PAGE_SCREEN.tpl (themes/default/templates/WIKI_PAGE_SCREEN.tpl or an overridden equivalent to this path) (version: 10.0.30, PHP version: 7.3.17-1+0~20200419.57+debian10~1.gbp0fda17, URL: /wiki.htm)
Here is the stack trace:
Below is a stack trace revealing the state NA7KR was in when the error occurred. If this represents a bug in the unmodified software, you may want to check NA7KR website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologize for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
| File | '/opt/var/www/na7kr-us/sources/failure.php' |
|---|---|
| Line | 990 |
| Function | 'get_html_trace' |
| Args |
| File | '/opt/var/www/na7kr-us/sources/global2.php' |
|---|---|
| Line | 1,051 |
| Function | '_fatal_exit' |
| Args |
Tempcode -> A template file is missing: <kbd>templates/WIKI_PAGE_SCREEN.tpl</kbd> (<kbd>themes/default/templates/WIKI_PAGE_SCREEN.tpl</kbd> or an overridden equivalent to this path) (version: 10.0.30, PHP version: 7.3.17-1+0~20200419.57+debian10~1.gbp0fda17, URL: /wiki.htm) |
| File | '/opt/var/www/na7kr-us/sources/tempcode.php' |
|---|---|
| Line | 846 |
| Function | 'fatal_exit' |
| Args |
Tempcode -> A template file is missing: <kbd>templates/WIKI_PAGE_SCREEN.tpl</kbd> (<kbd>themes/default/templates/WIKI_PAGE_SCREEN.tpl</kbd> or an overridden equivalent to this path) |
| File | '/opt/var/www/na7kr-us/site/pages/modules/wiki.php' |
|---|---|
| Line | 602 |
| Function | 'do_template' |
| Args |
'WIKI_PAGE_SCREEN' array |
| File | '/opt/var/www/na7kr-us/site/pages/modules/wiki.php' |
|---|---|
| Line | 393 |
| Function | 'page' |
| Class | 'Module_wiki' |
| Object | O:11:"Module_wiki":9:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_5ea8b39dcc1e10.86783785_1";s:2626:"$tpl_funcs['tcpfunc_5ea8b39dcc1e10.86783785_1']=$KEEP_TPL_FUNCS['tcpfunc_5ea8b39dcc1e10.86783785_1']=recall_named_function('5ea8b39dcc1e95.21669978','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo (isset(\$bound_ID)?(\"\n<a id=\\"title__\".(empty(\$bound_ID->pure_lang)?@htmlspecialchars(otp(isset(\$bound_ID)?\$bound_ID:null,\"SCREEN_TITLE:ID\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\$bound_ID)?\$bound_ID:null,\"SCREEN_TITLE:ID\")).\"\\"></a>\n\"):''),\n \"\n\n<h1 class=\\"screen_title\\"\",\n ((ecv_NOT(\$cl,array(),array(ecv_GET(\$cl,array(),array(\"name_set_elsewhere\"))))==\"1\")?(\" itemprop=\\"name\\"\"):''),\n \">\n \",\n otp(isset(\$bound_TITLE)?\$bound_TITLE:null,\"SCREEN_TITLE:TITLE\"),\n \"\n\n \",\n (isset(\$bound_AWARDS)?(\"\n \".((otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"SCREEN_TITLE:AWARDS\")!='')?(\"\n \".ecv(\$cl,array(),4,\"SET\",array(\"AWARDS_TEXT\",\"\n <h2>Award winner</h2>\n <p class=\\"lonely_label\\">\".ecv(\$cl,array(),2,\"AWARDS_WON\",array(otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"SCREEN_TITLE:AWARDS\"))).\"</p>\n <ul>\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('5ea8b39dcc0062.25920253','\$parameters,\$cl',\"extract(\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\"\\n <li>\\n <strong>\\".(empty(\\$bound_AWARD_TYPE->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_AWARD_TYPE)?\\$bound_AWARD_TYPE:null,\\"SCREEN_TITLE:AWARD_TYPE\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_AWARD_TYPE)?\\$bound_AWARD_TYPE:null,\\"SCREEN_TITLE:AWARD_TYPE\\")).\\"</strong>\\n <span>\\".ecv(\\$cl,array(),2,\\"AWARD_ON\\",array(ecv_DATE(\\$cl,array(1),array(\\"1\\",\\"1\\",\\"1\\",otp(isset(\\$bound_AWARD_TIMESTAMP)?\\$bound_AWARD_TIMESTAMP:null,\\"SCREEN_TITLE:AWARD_TIMESTAMP\\"))))).\\"</span>\\n </li>\\n \\";\")).\"\n </ul>\n \")).\"\n <a href=\\"\".ecv_PAGE_LINK(\$cl,array(1),array(\"_SEARCH:awards\")).\"\\"><img onmouseover=\\"if (typeof window.activate_tooltip!='undefined') activate_tooltip(this,event,'\".ecv_GET(\$cl,array(2,8,1),array(\"AWARDS_TEXT\")).\"','auto',null,null,false,true);\\" title=\\"\\" alt=\\"Award winner\\" src=\\"\".ecv_IMG(\$cl,array(1),array(\"awarded\",\"0\",\"NA7KR\")).\"\\" /></a>\n \"):'').\"\n \"):''),\n \"\n</h1>\n\n\",\n (isset(\$bound_SUB)?(\"\n <div class=\\"title_tagline\\">\n \".otp(isset(\$bound_SUB)?\$bound_SUB:null,\"SCREEN_TITLE:SUB\").\"\n </div>\n\"):''),\n \"\n\";");";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:33:"tcpfunc_5ea8b39dcc1e10.86783785_1";i:1;a:3:{s:5:"_GUID";s:32:"847ffbe4823eca6d2d5eac42828ee552";s:6:"AWARDS";a:0:{}s:5:"TITLE";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5ed15434cc6256.94402689_1";s:116:"$tpl_funcs['do_runtime_5ed15434cc6256.94402689_1']="echo ecv(\$cl,array(),2,\"WIKI_PAGE\",array(\"Wiki+ home\"));"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5ed15434cc6256.94402689_1";i:1;a:0:{}i:2;i:2;i:3;s:9:"WIKI_PAGE";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";N;s:8:"codename";s:12:"SCREEN_TITLE";}s:2:"id";i:1;s:5:"chain";s:4:"wiki";s:4:"page";a:9:{s:2:"id";i:1;s:5:"title";i:52967;s:5:"notes";s:0:"";s:11:"description";i:52966;s:8:"add_date";i:1588114326;s:9:"edit_date";N;s:10:"wiki_views";i:86;s:10:"hide_posts";i:0;s:9:"submitter";i:2;}s:13:"current_title";s:10:"Wiki+ home";s:12:"title_to_use";r:12;s:14:"title_to_use_2";s:10:"Wiki+ home";s:8:"db_posts";a:0:{}s:9:"num_posts";i:0;} |
| Type | '->' |
| Args |
| File | '/opt/var/www/na7kr-us/sources/zones.php' |
|---|---|
| Line | 810 |
| Function | 'run' |
| Class | 'Module_wiki' |
| Object | O:11:"Module_wiki":9:{s:5:"title";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:33:"tcpfunc_5ea8b39dcc1e10.86783785_1";s:2626:"$tpl_funcs['tcpfunc_5ea8b39dcc1e10.86783785_1']=$KEEP_TPL_FUNCS['tcpfunc_5ea8b39dcc1e10.86783785_1']=recall_named_function('5ea8b39dcc1e95.21669978','$parameters,$cl',"extract(\$parameters,EXTR_PREFIX_ALL,'bound'); echo (isset(\$bound_ID)?(\"\n<a id=\\"title__\".(empty(\$bound_ID->pure_lang)?@htmlspecialchars(otp(isset(\$bound_ID)?\$bound_ID:null,\"SCREEN_TITLE:ID\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\$bound_ID)?\$bound_ID:null,\"SCREEN_TITLE:ID\")).\"\\"></a>\n\"):''),\n \"\n\n<h1 class=\\"screen_title\\"\",\n ((ecv_NOT(\$cl,array(),array(ecv_GET(\$cl,array(),array(\"name_set_elsewhere\"))))==\"1\")?(\" itemprop=\\"name\\"\"):''),\n \">\n \",\n otp(isset(\$bound_TITLE)?\$bound_TITLE:null,\"SCREEN_TITLE:TITLE\"),\n \"\n\n \",\n (isset(\$bound_AWARDS)?(\"\n \".((otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"SCREEN_TITLE:AWARDS\")!='')?(\"\n \".ecv(\$cl,array(),4,\"SET\",array(\"AWARDS_TEXT\",\"\n <h2>Award winner</h2>\n <p class=\\"lonely_label\\">\".ecv(\$cl,array(),2,\"AWARDS_WON\",array(otp(isset(\$bound_AWARDS)?\$bound_AWARDS:null,\"SCREEN_TITLE:AWARDS\"))).\"</p>\n <ul>\n \".closure_loop(array(\"AWARDS\",'vars'=>\$parameters),array(\$parameters,\$cl),\nrecall_named_function('5ea8b39dcc0062.25920253','\$parameters,\$cl',\"extract(\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\"\\n <li>\\n <strong>\\".(empty(\\$bound_AWARD_TYPE->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_AWARD_TYPE)?\\$bound_AWARD_TYPE:null,\\"SCREEN_TITLE:AWARD_TYPE\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_AWARD_TYPE)?\\$bound_AWARD_TYPE:null,\\"SCREEN_TITLE:AWARD_TYPE\\")).\\"</strong>\\n <span>\\".ecv(\\$cl,array(),2,\\"AWARD_ON\\",array(ecv_DATE(\\$cl,array(1),array(\\"1\\",\\"1\\",\\"1\\",otp(isset(\\$bound_AWARD_TIMESTAMP)?\\$bound_AWARD_TIMESTAMP:null,\\"SCREEN_TITLE:AWARD_TIMESTAMP\\"))))).\\"</span>\\n </li>\\n \\";\")).\"\n </ul>\n \")).\"\n <a href=\\"\".ecv_PAGE_LINK(\$cl,array(1),array(\"_SEARCH:awards\")).\"\\"><img onmouseover=\\"if (typeof window.activate_tooltip!='undefined') activate_tooltip(this,event,'\".ecv_GET(\$cl,array(2,8,1),array(\"AWARDS_TEXT\")).\"','auto',null,null,false,true);\\" title=\\"\\" alt=\\"Award winner\\" src=\\"\".ecv_IMG(\$cl,array(1),array(\"awarded\",\"0\",\"NA7KR\")).\"\\" /></a>\n \"):'').\"\n \"):''),\n \"\n</h1>\n\n\",\n (isset(\$bound_SUB)?(\"\n <div class=\\"title_tagline\\">\n \".otp(isset(\$bound_SUB)?\$bound_SUB:null,\"SCREEN_TITLE:SUB\").\"\n </div>\n\"):''),\n \"\n\";");";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:33:"tcpfunc_5ea8b39dcc1e10.86783785_1";i:1;a:3:{s:5:"_GUID";s:32:"847ffbe4823eca6d2d5eac42828ee552";s:6:"AWARDS";a:0:{}s:5:"TITLE";O:8:"Tempcode":5:{s:18:"code_to_preexecute";a:1:{s:36:"do_runtime_5ed15434cc6256.94402689_1";s:116:"$tpl_funcs['do_runtime_5ed15434cc6256.94402689_1']="echo ecv(\$cl,array(),2,\"WIKI_PAGE\",array(\"Wiki+ home\"));"; ";}s:9:"seq_parts";a:1:{i:0;a:1:{i:0;a:5:{i:0;s:36:"do_runtime_5ed15434cc6256.94402689_1";i:1;a:0:{}i:2;i:2;i:3;s:9:"WIKI_PAGE";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";b:1;s:8:"codename";s:10:":container";}}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}}s:19:"preprocessable_bits";a:0:{}s:9:"pure_lang";N;s:8:"codename";s:12:"SCREEN_TITLE";}s:2:"id";i:1;s:5:"chain";s:4:"wiki";s:4:"page";a:9:{s:2:"id";i:1;s:5:"title";i:52967;s:5:"notes";s:0:"";s:11:"description";i:52966;s:8:"add_date";i:1588114326;s:9:"edit_date";N;s:10:"wiki_views";i:86;s:10:"hide_posts";i:0;s:9:"submitter";i:2;}s:13:"current_title";s:10:"Wiki+ home";s:12:"title_to_use";r:12;s:14:"title_to_use_2";s:10:"Wiki+ home";s:8:"db_posts";a:0:{}s:9:"num_posts";i:0;} |
| Type | '->' |
| Args |
| File | '/opt/var/www/na7kr-us/sources/site.php' |
|---|---|
| Line | 1,242 |
| Function | 'load_module_page' |
| Args |
'site/pages/modules/wiki.php' 'wiki' Tempcode -> … |
| File | '/opt/var/www/na7kr-us/sources/site.php' |
|---|---|
| Line | 928 |
| Function | 'request_page' |
| Args |
'wiki' true '' NULL false false Tempcode -> … |
| File | '/opt/var/www/na7kr-us/index.php' |
|---|---|
| Line | 76 |
| Function | 'do_site' |
| Args |
What can commonly happen is people can install a hot-fix and it inserts a file from an addon that was removed previously. Then an addon is only partially installed, missing other files it needs.
Or, someone can do the upgrade process incorrectly - extracting all the new files rather than using the upgrader's process (the upgrader knows what files to extract from an upgrade TAR so as to not put files back from addons that were removed previously, and files not put back are archived into the TAR files for the non-installed addons so they will be up-to-date if the addon is restored later).
You probably have a imports/addons/wiki.tar file. If you manually extract it all the files should all consistently be backed.
Please double check it is exactly this same error:
A template file is missing: templates/WIKI_PAGE_SCREEN.tpl (themes/default/templates/WIKI_PAGE_SCREEN.tpl
Not, say, another template.
Here's a link to WIKI_PAGE_SCREEN.tpl out of git…
https://gitlab.com/composr-foundation/composr/-/raw/master/themes/default/templates/WIKI_PAGE_SCREEN.tpl

look correct