Fix Smarty Error Unable To Write To $compile_dir Centreon (Solved)

Home > Smarty Error > Smarty Error Unable To Write To $compile_dir Centreon

Smarty Error Unable To Write To $compile_dir Centreon

Centreon Dans /root: # tar xvzf centreon-1.4.2.7.tar.gz # cd centreon-1.4.2.7 Lancement de l'assistant d'installation: # bash ./install.sh Informations fournies: Désignation /usr/local/nagios Désignation /usr/local/nagios/etc Désignation /usr/local/nagios/var Désignation /usr/local/nagios/libexec Désignation /usr/local/nagios/bin Désignation /usr/local/nagios/share/images boots wrote: - you can verify that this is setup properly: create a php script to write a file into the directory you specified for templates_c (and/or cache). in /usr/share/centreon/GPL_LIB/Smarty/libs/Smarty.class.php on line 1095, referer: http://127.0.0.1/centreon/install/setup.php [Mon Jun 02 11:56:35 2014] [error] [client 127.0.0.1] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. Did you grant them appropriate permissions so that the webserver can read/write them? have a peek here

You are *require
d* to use the date.timezone setting or the date_default_timezone_set() function. Regards. That's something we need to work on, it will come soon. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. https://forum.centreon.com/forum/centreon-use/setup/15911-probleme-fin-d-installation-centreon-web/page2

Thanks Martin centreon commented Nov 5, 2013 Original Redmine Comment Author Name: Quentin Garnier (Quentin Garnier) Original Date: 2013-11-05T10:08:38Z Hi Martin, Repository are moved ;) http://yum.centreon.com/standard/3.0/ centreon commented Nov 5, 2013 This should always work if the directory is writable by the script owner. Goto page 1, 2, 3Next Smarty Forum Index -> Installation and Setup View previous topic :: View next topic Author Message bootsAdministratorJoined: 16 Apr 2003Posts: 5613Location: Toronto, Canada

  1. Comment Post Cancel Previous 1 2 Next Help Contact Us Facebook Linkedin Twitter Go to top Powered by vBulletin Version 5.2.4 Copyright © 2016 vBulletin Solutions, Inc.
  2. Please refer to our Privacy Policy or Contact Us for more details You seem to have CSS turned off.
  3. in /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty.class.php on line 1095 # chown -R www-data: /usr/loca/centreon/GPL_LIB OK Récupérée de « http://wiki.pedrono.fr/index.php?title=MONITORING_-_Installation_Nagios_et_Centreon&oldid=183 » Catégories : Pages avec des liens de fichiers brisésLinuxSecuriteSystemeMonitoringHowto Affichages Page Discussion Voir le texte source

Pour info, dans /var/log/httpd/error_log on a ça :    PHP Fatal error:  Smarty error: unable to write to $compile_dir '/usr/share/centreon/GPL_LIB/SmartyCache/compile'. Gaurav Behl Back to top JosiahSmarty n00bJoined: 15 Jun 2004Posts: 3Location: Michigan Posted: Tue Jun 15, 2004 1:27 pm Post subject: Quote: NO - path to templates_c (and/or cache) must be I'm getting the same error. Hop To UBB.threads News and Discussions ------News and AnnouncementsAnnouncement/Changelog DiscussionRelease Notes & ChangelogFeedback & SuggestionsPre-Sales QuestionsCommunity SpotlightSuccess StoriesUBB.threads 7 Discussion ------UBB.threads FAQ ForumGeneral Assistance (How Do I?)Version 7 Installation AssistanceImporter AssistanceBug

centreon commented Sep 15, 2013 Original Redmine Comment Author Name: Florian Asche (Florian Asche) Original Date: 2013-09-15T17:56:38Z Hi Antoine, i installed centreon-base-config-centreon-engine. By the way, we're currently working on packages that will be compatible with your CentOS version so if you want to beta-test them, feel free to ask. If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Olivier LI-KIANG-CHEONG - 2011-05-12 Bonjour, c'est tres bizarre ce problème et http://www.thesysadminhimself.com/2013/02/configuring-selinux-for-centeron-24-on.html Similar topics php readfile() function - how to implement on smarty web page Cakephp & Smarty problem Simple Smarty Template Engine Question smarty class nonexistent ..

Be sure $compile_dir is writable by the web server user. Please re-enable javascript to access full functionality. Be sure $compile_dir is writable by the web server user. centreon commented Jan 21, 2013 Original Redmine Comment Author Name: nicolas ruiz (nicolas ruiz) Original Date: 2013-01-21T11:47:46Z Hi there, Which are systems that Centreon 2.4's been tested on ?

By using our services, you agree to use our cookies. https://github.com/centreon/centreon/issues/1702 This should always work if the directory is writable by the script owner. IP archivée Davouney Newbie Froggy Messages: 4 Karma: 0 Re : Page grise - Install web Centreon « Réponse #2 le: 12 Novembre, 2013, 11:58:10 am » Merci de ta réponse, effectivement In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.

Dans le menu de configuration qui s'affiche pendant l'installation, j'ai activé le mode strict de SElinux sans vraiment savoir ce que c'était et en pensant quelque chose du genre : "si http://unordic.com/smarty-error/smarty-error-unable-to-write-to-cache-dir.html Back to top speedieBSmarty n00bJoined: 03 Jul 2005Posts: 2 Posted: Sun Jul 03, 2005 3:36 pm Post subject: seen this post ....... Please don't fill out this field. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

This is what seems to be happening to me. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. error message returned. Check This Out I understand that I can withdraw my consent at any time.

Also check the wiki. Jan 4 '06 #3 This discussion thread is closed Start new discussion Replies have been disabled for this discussion. Be sure $compile_dir is writable by the web server user.

in /usr/share/centreon/GPL_LIB/Smarty/libs/Smarty.class.php on line 1095, referer: ht
tp://192.168.56.101/centreon/install/setup.phpEDIT :Je suis passé sous Centos 5 (j'avais la version 6 avant) et aucun problème ! « Modifié: 14 Novembre, 2013, 13:54:13 pm par Davouney

Last edited by herald17; 10th June 2014, 14:11. Any ideas? Be sure $compile_dir is writable by the web server user what goes wrong? in /chroot/home/allibuyn/allibuy.net/html/shop/tools/smarty/Smarty.class.php on line 1095 Back to top #2 Damien Metzger Posted 08 March 2009 - 07:26 PM Damien Metzger PrestaShop Fanatic Members 1295 Active Posts L'erreur est très clair,

Post your question and get tips & solutions from a community of 418,646 IT Pros & Developers. Tu as vérifié cela aussi ? Be sure $compile_dir is writable by the web server user. http://unordic.com/smarty-error/smarty-error-unable-to-write-to-compile-dir-sugarcrm.html A+ If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Guillaume - 2011-05-13 Bonjour, De mon côté c'est la première

Back to top Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 YearOldest FirstNewest First Smarty Forum Index -> Installation and Setup All times are GMTGoto page having a bad day Trouble Installing Smarty could really do with some help Smarty Problem PHP/Smarty - Going crazy (slowly) Smarty problems Smarty template via string variable? What you'll want to do as well as making sure the templates/complie directory is chmod to 777, which you already did, is delete all of the files within as well, to We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /usr/share/centreon/GPL_LIB/Smarty/libs/Smarty_Compiler.class.php on line 400, referer: http://127.0.0.1/centreon/install/setup.php [Mon Jun 02 11:52:45 2014] [error] [client 127.0.0.1] PHP Fatal error: Smarty error: unable to write to $compile_dir

JW Jan 4 '06 #2 P: n/a cshih16 i just tried to set the permissions to 777... Be sure $compile_dir is writable by the web server user. in /usr/share/centreon/GPL_LIB/Smarty/libs/Smarty.class.php on line 1095, referer: http://127.0.0.1/centreon/install/setup.php [Mon Jun 02 11:52:46 2014] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico [Mon Jun 02 11:52:46 2014] [error] [client 127.0.0.1] PHP Warning: strftime(): The copiled file is being written to templates_c, however we recieve this error when trying to read it.

En l'occurrence,  il s'agit de SELinux. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. Back to top cvbSmarty n00bJoined: 29 Jun 2005Posts: 3 Posted: Wed Jun 29, 2005 7:45 pm Post subject: Re: Smarty Error: the $compile_dir '..' does not exist... Code: yum -y install policycoreutils-python semanage fcontext -a -t httpd_sys_rw_content_t "/usr/share/centreon(/.*)?" restorecon -R /usr/share/centreon/ semanage fcontext -a -t httpd_sys_rw_content_t "/etc/centreon(/.*)?" restorecon -R /etc/centreon/ semanage fcontext -a -t httpd_sys_rw_content_t "/etc/centreon-engine(/.*)?" restorecon -R

Be sure $compile_dir is writable by the web server user. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Frantz de Germain - 2011-03-09 Bon, j'ai trouvé : Si les What really fries my noodle is that it can read the file in templates dir, and write the file to templates_c dir, but then can't read the file in templates_c.

No, thanks I'm using windows with apache/php/mysql. Be sure $compile_dir is writable by the web server user. This repo is not working.