-
Notifications
You must be signed in to change notification settings - Fork 296
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
PHP Fatal error: Uncaught RainTpl_NotFoundException: Template linklist not found! #1219
Comments
Can you check if a Can you also check that your template files are present in |
I realized it could be a template problem, so I removed my data foder, downloaded the stable version and tried to configure that without my old data. The problem is that I don't see any graphics, the page is only text, as you can see here: https://i.imgur.com/JoPpd8V.png The apache2 access log are here: https://pastebin.com/T8pXGikA What am I doing wrong? |
Which version and archive did you get, precisely? Do you have assets in |
I downloaded the file stable.zip.
|
It's not the stable it's the latest release, but it doesn't matter, the assets are properly installed. So I guess the issue is related to Apache, because when I try to access the asset directly, it doesn't work. Can you try to set |
If I set AllowOverride to None I can't access to shaarli anymore. |
Hi, just test the material theme in a fresh install os Shaarli, and i'm getting the same error. I edited the data/config.json.php file to default theme, to get back to normal. |
Can you run |
yes of course
|
Just to be clear, if you set Which version of Shaarli and PHP are you using? |
Hi, yes it's correct. Shaarli version v0.12.0 Let me check again, maybe i was using 7.2 at first. Update Yes it's 7.4
|
Ah yes, the latest release of Shaarli Material theme is not compatible with Shaarli v0.12.0 yet; for example it does not include the template file |
I'm closing this issue as the original one is unrelated and likely outdated. |
I followed the installation instructions at https://shaarli.readthedocs.io/en/master/Download-and-Installation/, downloaded the latest version and created the shaarli.conf file for apache2 as described at https://shaarli.readthedocs.io/en/master/Server-configuration/#apache.
If I try to access to the page http://my.server.name/shaarli/index.php I get this error in my log:
[Tue Aug 28 16:45:57.186268 2018] [php7:notice] [pid 28611] [client xxx.xxx.xxx.xxx:26475] PHP Fatal error: Uncaught RainTpl_NotFoundException: Template linklist not found! in /var/www/shaarli/inc/rain.tpl.class.php:268\nStack trace:\n#0 /var/www/shaarli/inc/rain.tpl.class.php(164): RainTPL->check_template('linklist')\n#1 /var/www/shaarli/application/PageBuilder.php(155): RainTPL->draw('linklist')\n#2 /var/www/shaarli/index.php(673): PageBuilder->renderPage('linklist')\n#3 /var/www/shaarli/index.php(1631): showLinkList(Object(PageBuilder), Object(LinkDB), Object(Shaarli\\Config\\ConfigManager), Object(PluginManager))\n#4 /var/www/shaarli/index.php(2319): renderPage(Object(Shaarli\\Config\\ConfigManager), Object(PluginManager), Object(LinkDB), Object(History), Object(Shaarli\\SessionManager))\n#5 {main}\n thrown in /var/www/shaarli/inc/rain.tpl.class.php on line 268
My system is ubuntu 18.04 LTS.
PHP version is PHP Version 7.2.9-1+ubuntu18.04.1+deb.sury.org+1, but I also tried PHP5.6 with same results.
The shaarli.conf is this:
Any idea?
The text was updated successfully, but these errors were encountered: