FATAL ERROR SMARTY ERROR

  • 2
  • Question
  • Updated 10 years ago
  • Answered
Fatal error: Smarty error: unable to write to $compile_dir '/home/omegaisg/public_html/classes/work/templates_c'. Be sure $compile_dir is writable by the web server user. in /home/omegaisg/public_html/classes/commons/lib/smarty/Smarty.class.php on line 1095

what permissions do i need to change the backup came from my site here
Photo of How much info you giving away? http://anonyman.synthasite.com/

Posted 10 years ago

  • 2
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Hi there,

Could you let me know what URL you are publishing to and whether you are publishing on SynthaSite or hosting with another service?
another free hosting service but using the back up here mainly just to see if mine goes down here can i get a back up up and running and fast somewhere.

http://anonyman.hostbigger.com/
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
If your published SynthaSite subdomain is working, but the site hosted elsewhere is not, it sounds like there's a problem with the host.

These are the steps to hosting with your own service provider:
Copy the site to the webroot of a php 5.2.x enabled web server
* Ensure that the "classes/work/templates_c" directory is writable by the web server (chmod 777 classes/work/templates_c on Unix / Linux boxes)

Please note that if you elect to host your site elsewhere, we can only support you with the process of creating your site, and downloading it. Thereafter all support relating to the hosting of your site will become the sole responsibility of your service provider.
that's what i thought 777 cmod but wasn't sure what files and or folders
err now im getting this below. question im guessing doing 777 on any of these files wont be a security risk right

Warning: Smarty error: problem writing temporary file '/home/omegaisg/public_html//classes/work/templates_c/wrt4915357da90d2' in /home/omegaisg/public_html/classes/commons/lib/smarty/Smarty.class.php on line 1095

Warning: Smarty::include(/home/omegaisg/public_html//classes/work/templates_c/%%8D^8D1^8D1EB8E4%%template.html.php) [function.Smarty-include]: failed to open stream: No such file or directory in /home/omegaisg/public_html/classes/commons/lib/smarty/Smarty.class.php on line 1258

Warning: Smarty::include() [function.include]: Failed opening '/home/omegaisg/public_html//classes/work/templates_c/%%8D^8D1^8D1EB8E4%%template.html.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/omegaisg/public_html/') in /home/omegaisg/public_html/classes/commons/lib/smarty/Smarty.class.php on line 1258