Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gentao123 opened this issue Apr 12, 2020 · 3 comments
Open

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

gentao123 opened this issue Apr 12, 2020 · 3 comments

Comments

@gentao123
Copy link

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?

@coffe1nk2
Copy link

coffe1nk2 commented Apr 16, 2020

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

@fjxhkj
Copy link

fjxhkj commented Apr 23, 2020

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

@bulubula
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants