kalimati Posted September 1, 2017 Share Posted September 1, 2017 I have been updating an existing website on my local Ubuntu server. I updated the website from Processwire 2.5 to 2.8.62. No issues till this point. Then I created a new templates folder, installed Foundation 6, copied the old PHP template files and customized the SCSS files to rebuild the site. The frontend works without a problem. However, when I try to access the backend, the website/processwire url, I get this error message. Any idea what is wrong and how can I correct the issue? I made no changes to the backend theme. ======================================== Warning: fopen(/var/www/tribology/public_html/site/assets/logs/exceptions.txt): failed to open stream: Permission denied in /var/www/tribology/public_html/wire/core/FileLog.php on line 82 Fatal error: Exception: Missing or non-readable template file: admin.php (in /var/www/tribology/public_html/wire/modules/PageRender.module line 517) #0 /var/www/tribology/public_html/wire/core/Wire.php(383): PageRender->___renderPage(Object(HookEvent)) #1 /var/www/tribology/public_html/wire/core/WireHooks.php(698): Wire->_callMethod('___renderPage', Array) #2 /var/www/tribology/public_html/wire/core/Wire.php(442): WireHooks->runHooks(Object(PageRender), 'renderPage', Array) #3 /var/www/tribology/public_html/wire/core/WireHooks.php(782): Wire->__call('renderPage', Array) #4 /var/www/tribology/public_html/wire/core/Wire.php(442): WireHooks->runHooks(Object(Page), 'render', Array) #5 /var/www/tribology/public_html/wire/modules/Process/ProcessPageView.module(205): Wire->__call('render', Array) #6 /var/www/tribology/public_html/wire/core/Wire.php(383): ProcessPageView->___execute(true) #7 /var/www/tribology/public_html/wire/core/WireHooks.php(698): Wire->_callMethod('___execute', Array) #8 /var/www/tribology/public_html/wire/ in /var/www/tribology/public_html/index.php on line 64 Warning: fopen(/var/www/tribology/public_html/site/assets/logs/errors.txt): failed to open stream: Permission denied in /var/www/tribology/public_html/wire/core/FileLog.php on line 82 Error: Exception: Missing or non-readable template file: admin.php (in /var/www/tribology/public_html/wire/modules/PageRender.module line 517) #0 /var/www/tribology/public_html/wire/core/Wire.php(383): PageRender->___renderPage(Object(HookEvent)) #1 /var/www/tribology/public_html/wire/core/WireHooks.php(698): Wire->_callMethod('___renderPage', Array) #2 /var/www/tribology/public_html/wire/core/Wire.php(442): WireHooks->runHooks(Object(PageRender), 'renderPage', Array) #3 /var/www/tribology/public_html/wire/core/WireHooks.php(782): Wire->__call('renderPage', Array) #4 /var/www/tribology/public_html/wire/core/Wire.php(442): WireHooks->runHooks(Object(Page), 'render', Array) #5 /var/www/tribology/public_html/wire/modules/Process/ProcessPageView.module(205): Wire->__call('render', Array) #6 /var/www/tribology/public_html/wire/core/Wire.php(383): ProcessPageView->___execute(true) #7 /var/www/tribology/public_html/wire/core/WireHooks.php(698): Wire->_callMethod('___execute', Array) #8 /var/www/tribology/public_html/wire/ This error message was shown because: site is in debug mode. ($config->debug = true; => /site/config.php). Error has been logged. Link to comment Share on other sites More sharing options...
gmclelland Posted September 1, 2017 Share Posted September 1, 2017 Quote Missing or non-readable template file: admin.php Do you have an admin.php in you site/templates folder? 2 Link to comment Share on other sites More sharing options...
kalimati Posted September 2, 2017 Author Share Posted September 2, 2017 Thank you, gmclelland. That was it besides cleaning the cache. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now