Smarty errors on Comments
Smarty errors on Comments
Fresh install. Someone added comments to a blog and when you try to view the comments in the blog area, you get this:
Warning: Smarty error: unable to read resource: "file:" in /serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
But if I view the comments in the admin section, the comments display as normal. Any ideas?
Warning: Smarty error: unable to read resource: "file:" in /serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
But if I view the comments in the admin section, the comments display as normal. Any ideas?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Smarty errors on Comments
Did you check and make sure that your templates_c directory and all files therein are chmod 777?
Best regards,
garvin
Best regards,
garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Can you send the actual output of the directory listing of your templates_c directory?
This error can really only happen if the directory is not writable, or if you configured a wrong directory in the s9y configuration (this is stored in the serendipity_config table for values like serendipityPath).
Best regards,
Garvin
This error can really only happen if the directory is not writable, or if you configured a wrong directory in the s9y configuration (this is stored in the serendipity_config table for values like serendipityPath).
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Here it is:
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:34 blue^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:34 blue^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 11 16:34 blue^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:34 blue^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:34 blue^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 3 13:26 default^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 3 13:26 default^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4281 Oct 11 16:12 default^%%83^836^83669DDE%%commentform.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 3 13:26 default^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 2569 Oct 13 16:50 default^%%BD^BDD^BDD222C5%%trackbacks.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 3 13:26 default^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4271 Oct 15 10:42 default^%%F9^F9E^F9EAEC7A%%commentform.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 3 13:26 default^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:28 idea^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:28 idea^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 11 16:28 idea^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:28 idea^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:28 idea^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 17682 Oct 11 16:28 kubrick^%%0E^0E6^0E608215%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4004 Oct 11 16:28 kubrick^%%47^475^475D2A73%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:28 kubrick^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 652 Oct 11 16:28 kubrick^%%D4^D4B^D4B7D2FB%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:28 kubrick^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:14 moz-modern^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:14 moz-modern^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4168 Oct 11 16:14 moz-modern^%%9A^9AB^9AB902AC%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:14 moz-modern^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:14 moz-modern^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:31 mt-clean^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:31 mt-clean^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 11 16:31 mt-clean^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:31 mt-clean^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:31 mt-clean^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:27 mt3-chalkboard^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:27 mt3-chalkboard^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 11 16:27 mt3-chalkboard^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:27 mt3-chalkboard^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:27 mt3-chalkboard^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:27 newspaper^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:27 newspaper^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 11 16:27 newspaper^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:27 newspaper^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:34 blue^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:34 blue^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 11 16:34 blue^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:34 blue^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:34 blue^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 3 13:26 default^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 3 13:26 default^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4281 Oct 11 16:12 default^%%83^836^83669DDE%%commentform.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 3 13:26 default^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 2569 Oct 13 16:50 default^%%BD^BDD^BDD222C5%%trackbacks.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 3 13:26 default^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4271 Oct 15 10:42 default^%%F9^F9E^F9EAEC7A%%commentform.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 3 13:26 default^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:28 idea^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:28 idea^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 11 16:28 idea^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:28 idea^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:28 idea^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 17682 Oct 11 16:28 kubrick^%%0E^0E6^0E608215%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4004 Oct 11 16:28 kubrick^%%47^475^475D2A73%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:28 kubrick^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 652 Oct 11 16:28 kubrick^%%D4^D4B^D4B7D2FB%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:28 kubrick^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:14 moz-modern^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:14 moz-modern^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4168 Oct 11 16:14 moz-modern^%%9A^9AB^9AB902AC%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:14 moz-modern^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:14 moz-modern^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:31 mt-clean^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:31 mt-clean^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 11 16:31 mt-clean^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:31 mt-clean^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:31 mt-clean^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:27 mt3-chalkboard^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:27 mt3-chalkboard^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 11 16:27 mt3-chalkboard^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:27 mt3-chalkboard^%%C1^C11^C118443C%%sidebar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 357 Oct 11 16:27 mt3-chalkboard^%%FC^FC7^FC7E3260%%content.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 16251 Oct 11 16:27 newspaper^%%1B^1BC^1BCF14D2%%entries.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 4182 Oct 11 16:27 newspaper^%%72^726^726DD0BD%%plugin_calendar.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 3885 Oct 11 16:27 newspaper^%%96^967^9670EBB1%%index.tpl.php
-rwxrwxrwx 1 iwbwemf inetuser 1035 Oct 11 16:27 newspaper^%%C1^C11^C118443C%%sidebar.tpl.php
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Your listing does not contain the output for the "templates_c" directory (only the files inside there are shown in your listing), can you also check that?
Best regards,
Garvin
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Not only files have permissions, also directories have permissions. You could list them on linux like this:
This is what I need now, the permissions of the directory -- not the files inside that.
Regards,
Garvin
Code: Select all
ls -lad templates_c
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Okay, that's great. But it'S right, so the error must be something else.
Can you check your serendipity_config table and see what paths settings are there? Especially serendipityPath is important to be the right directory with a trailing slash...best, post your path settings here!
Best regards,
Garvin
Can you check your serendipity_config table and see what paths settings are there? Especially serendipityPath is important to be the right directory with a trailing slash...best, post your path settings here!
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Your serendipityPath is wrong, it needs to read:
(Slash at the beginning!)
Best regards,
Garvin
Code: Select all
/home/content/i/w/b/iwbwemf/html/serendipity/
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hm, okay. Then my last guess is that you try to delete all files from your templates_c directory and see if it works then? The files there are cached, so they will be recreated without a problem.
You might also need to check if your server has a central Installation of Smarty that might be included instead of the s9y bundled one?
Regards,
Garvni
You might also need to check if your server has a central Installation of Smarty that might be included instead of the s9y bundled one?
Regards,
Garvni
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Ok, I tried that and still no difference. I also checked with my host and they cannot offer any help because they offer Serendipity with one of their higher hosting packages. So I tried some things on your idea of the templates. I kept changing the templates to see if that would make a difference. Looks like the only on that displays the comments is the Kubrick 1.2.6 port template. All of the others give me the error. Does that tell you anything? Thanks.