can't save entries
can't save entries
Hi
when I try to save an entry in one of my blogs I'm getting the following error and the entry doesn't save.
Warning: Smarty error: unable to read resource: "" in /var/www/vhosts/mydomain/subdomains/mysubdomain/httpdocs/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
mydomain - being my domain
mysubdomain - being my subdomain
Any advice gratefully received
Dave
when I try to save an entry in one of my blogs I'm getting the following error and the entry doesn't save.
Warning: Smarty error: unable to read resource: "" in /var/www/vhosts/mydomain/subdomains/mysubdomain/httpdocs/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
mydomain - being my domain
mysubdomain - being my subdomain
Any advice gratefully received
Dave
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: can't save entries
Hi!
Such an error can happen if either your templates_C directory is not writable, or if *.tpl files are missing in your templates/default/ directory...?
Best regards,
Garvin
Such an error can happen if either your templates_C directory is not writable, or if *.tpl files are missing in your templates/default/ directory...?
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/
No big advice, just a couple of observations: first, many webhosts seem to hate 777 and block anything with those permissions. Sometimes 775 will work. Second, even if the directory is writeable, are the files inside it writeable? If it's trying to overwrite something that it can't, we could get this error, too.
Does it work with the default theme?
Does it work with the default theme?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Did you check that your "bundled-libs/Smarty" directory is in place and has all the file with correct sizes? Sadly Smarty emits this error message for all errors that include missing or non-writable files. :-/
Regards,
Garvin
Did you check that your "bundled-libs/Smarty" directory is in place and has all the file with correct sizes? Sadly Smarty emits this error message for all errors that include missing or non-writable files. :-/
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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi Dave!
I can offer to have a look at that install, if you might provide me with FTP details (mail them to me)? Usually, Smarty should not be started when you save an entry at all, just when viewing or previewing it. Maybe some plugin is interfering...?!
Regards,
Garvin
I can offer to have a look at that install, if you might provide me with FTP details (mail them to me)? Usually, Smarty should not be started when you save an entry at all, just when viewing or previewing it. Maybe some plugin is interfering...?!
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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
It seems the solution was that the file "preview_iframe.tpl" in the templates/default/ folder was missing.
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/
bear in mind the apache must be the owner of the folders. ive ran into similiar problems because some folder (like the template_c) where owned by root...
when i changed it to apache (this must be 'nobody' on some servers) it worked fine
when i changed it to apache (this must be 'nobody' on some servers) it worked fine
My kingdom For i am king of my heap of trash
Developing code on:
Workstation: Windows 2000 sp4, TSW webcoder 2005
Server: fedora core 4 amd64, apache 2.0.54, php 5.0.4, mysql 4.1.11.
Developing code on:
Workstation: Windows 2000 sp4, TSW webcoder 2005
Server: fedora core 4 amd64, apache 2.0.54, php 5.0.4, mysql 4.1.11.
my server is at linux...
it can be done from any shell with root (or high level) access using the chown command
it can be done from any shell with root (or high level) access using the chown command
My kingdom For i am king of my heap of trash
Developing code on:
Workstation: Windows 2000 sp4, TSW webcoder 2005
Server: fedora core 4 amd64, apache 2.0.54, php 5.0.4, mysql 4.1.11.
Developing code on:
Workstation: Windows 2000 sp4, TSW webcoder 2005
Server: fedora core 4 amd64, apache 2.0.54, php 5.0.4, mysql 4.1.11.