Wikitten icon indicating copy to clipboard operation
Wikitten copied to clipboard

Uncaught Exception: Page 'index.md' was not found

Open gentao123 opened this issue 4 years ago • 3 comments

After deploy new version,can not access wikitten normally evn: nginx/1.12.1 PHP 7.3.4 page error: Fatal error: Uncaught Exception: Page 'index.md' was not found in /www/mywiki/wiki.php:52 Stack trace: #0 /www/mywiki/wiki.php(133): Wiki->{closure}() #1 /www/mywiki/wiki.php(401): Wiki->_render('index.md') #2 /www/mywiki/wiki.php(339): Wiki->indexAction() #3 /www/mywiki/index.php(34): Wiki->dispatch() #4 {main} thrown in /www/mywiki/wiki.php on line 52 someone met this problem?

gentao123 avatar Apr 12 '20 14:04 gentao123

I got this error too

[Fri Apr 17 00:38:10.523325 2020] [php7:error] [pid 3181] [client 192.168.50.1:48293] PHP Fatal error: Uncaught Exception: Page 'index.md' was not found in /var/www/html/wikitten/wiki.php:52\nStack trace:\n#0 /var/www/html/wikitten/wiki.php(133): Wiki->{closure}()\n#1 /var/www/html/wikitten/wiki.php(401): Wiki->_render('index.md')\n#2 /var/www/html/wikitten/wiki.php(339): Wiki->indexAction()\n#3 /var/www/html/wikitten/index.php(34): Wiki->dispatch()\n#4 {main}\n thrown in /var/www/html/wikitten/wiki.php on line 52

Apache/2.4.6 (CentOS) PHP 7.3.4

coffe1nk2 avatar Apr 16 '20 17:04 coffe1nk2

vim config.php uncomment the define('ENABLE_EDITING', true); line. try again!

fjxhkj avatar Apr 23 '20 19:04 fjxhkj

vi wiki.php comment the line 52, like // throw new Exception("Page '$page' was not found"); try again!

bulubula avatar May 26 '20 13:05 bulubula