I've get an error when previewing or saving an entry:
Warning: Smarty error: unable to read resource: "" in /home/views/public_html/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
When I hack out the lines... it saves... but no preview.
Thoughts?
Brian
Preview/save Smarty error
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Preview/save Smarty error
that can happen if you either specified a wrong smarty template / serendipity directory, or if your templates_c directory is not writable for the webserver user.
Regards,
Garvin
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/
-
Guest
ummmm.
I seem to have all paths specified correctly. Full path: /home/views30g/public_html/ and template: /templates.
As to wrong smarty template... if I understand correctly... I am using joshua.
Lastly, templates_c is writable.
?
Other thoughts or am I misunderstanding your comments?
Thanks Garvin.
Brian
I seem to have all paths specified correctly. Full path: /home/views30g/public_html/ and template: /templates.
As to wrong smarty template... if I understand correctly... I am using joshua.
Lastly, templates_c is writable.
?
Other thoughts or am I misunderstanding your comments?
Thanks Garvin.
Brian
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
The error messages comes from "/home/views/public_html/bundled-libs/Smarty/libs/Smarty.class.php", so if you specified "/home/views30g" as your directory, this seems to be not consistent?
The error message effectively means, that templates_c cannot be found or not written/read. This folder holds the Smarty PHP parsed template files, which it needs to render the display.
Regards and a good 2006,
Garvin
The error message effectively means, that templates_c cannot be found or not written/read. This folder holds the Smarty PHP parsed template files, which it needs to render the display.
Regards and a good 2006,
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/
-
Guest
First the directories are indeed consistant. I had edited "views" to just be a little cryptic.
With regard to templates_c not being writeable, it is set to 777.
Lastly, I am not certain why smarty is not finding the folder (if that's the issue). The paths are properly set. ALL other functions are working properly.
What else could it be?
Brian
PS And a good 2006 to you, as well. Thanks Garvin. You're the best.
With regard to templates_c not being writeable, it is set to 777.
Lastly, I am not certain why smarty is not finding the folder (if that's the issue). The paths are properly set. ALL other functions are working properly.
What else could it be?
Brian
PS And a good 2006 to you, as well. Thanks Garvin. You're the best.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi Brian!
Maybe you could give me (temporary) FTP access to your blog? Then I could investigate this thorougly...you know my mail address, so please contact me if you'd like that
Best regards,
Garvin
Maybe you could give me (temporary) FTP access to your blog? Then I could investigate this thorougly...you know my mail address, so please contact me if you'd like that
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/
-
bconolly
Garvin 'ole friend,
Fixed it. I used the reinstall-twice-beat-the-table-4-cocktails method.
Seriously, reinstalled from scratch with the latest nightly build.; and it worked.
If I were to guess, I believe the global setting for WYSWYG screws up the preview function on my system. When that's off and activated for individual users... all works well. That's my guess.
Anyway, again, just your presence seems to help. I appreciate it greatly.
Brian
Fixed it. I used the reinstall-twice-beat-the-table-4-cocktails method.
Seriously, reinstalled from scratch with the latest nightly build.; and it worked.
If I were to guess, I believe the global setting for WYSWYG screws up the preview function on my system. When that's off and activated for individual users... all works well. That's my guess.
Anyway, again, just your presence seems to help. I appreciate it greatly.
Brian