<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
		<id>https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=Php%2Fzend_framework%2Fsmarty%E3%83%A1%E3%83%A2</id>
		<title>Php/zend framework/smartyメモ - 変更履歴</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=Php%2Fzend_framework%2Fsmarty%E3%83%A1%E3%83%A2"/>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;action=history"/>
		<updated>2026-04-18T03:03:00Z</updated>
		<subtitle>このウィキのこのページに関する変更履歴</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=21614&amp;oldid=prev</id>
		<title>Admin: /* Fatal error: Smarty error: unable to write toエラーが出る場合 */</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=21614&amp;oldid=prev"/>
				<updated>2026-04-13T08:23:51Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Fatal error: Smarty error: unable to write toエラーが出る場合&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←前の版&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2026年4月13日 (月) 08:23時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行95:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行95:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;有効(Enforcing)になってる場合は、一旦無効にしてみる。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;有効(Enforcing)になってる場合は、一旦無効にしてみる。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $ sudo setenforce 0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $ sudo setenforce 0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Vps/kagoya]] [ｼｮｰﾄｶｯﾄ]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=21513&amp;oldid=prev</id>
		<title>Admin: /* Fatal error: Smarty error: unable to write toエラーが出る場合 */</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=21513&amp;oldid=prev"/>
				<updated>2026-04-07T01:49:47Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Fatal error: Smarty error: unable to write toエラーが出る場合&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←前の版&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2026年4月7日 (火) 01:49時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行94:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行94:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; Enforcing&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; Enforcing&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;有効(Enforcing)になってる場合は、一旦無効にしてみる。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;有効(Enforcing)になってる場合は、一旦無効にしてみる。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $ sudo &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;setenforce 0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $ sudo setenforce 0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=14553&amp;oldid=prev</id>
		<title>Admin: /* Fatal error: Smarty error: unable to write toエラーが出る場合 */</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=14553&amp;oldid=prev"/>
				<updated>2021-12-27T08:15:53Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Fatal error: Smarty error: unable to write toエラーが出る場合&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←前の版&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2021年12月27日 (月) 08:15時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行90:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; Fatal error: Smarty error: unable to write to&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; Fatal error: Smarty error: unable to write to&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;selinux�が有効になってる可能性があるので確認する&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;selinuxが有効になってる可能性があるので確認する&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $ getenforce&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $ getenforce&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; Enforcing&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; Enforcing&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;有効(Enforcing)になってる場合は、一旦無効にしてみる。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;有効(Enforcing)になってる場合は、一旦無効にしてみる。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $ sudo&amp;#160; setenforce 0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $ sudo&amp;#160; setenforce 0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=14552&amp;oldid=prev</id>
		<title>Admin: /* コントローラーからSmartyクラスを呼び出す */</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=14552&amp;oldid=prev"/>
				<updated>2021-12-27T08:15:47Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;コントローラーからSmartyクラスを呼び出す&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←前の版&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2021年12月27日 (月) 08:15時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行85:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行85:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==コントローラーからSmartyクラスを呼び出す==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==コントローラーからSmartyクラスを呼び出す==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $smarty = $this-&amp;gt;view-&amp;gt;getEngine();&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $smarty = $this-&amp;gt;view-&amp;gt;getEngine();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Fatal error: Smarty error: unable to write toエラーが出る場合==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;以下表示が出て、compilesのdirに書き込みでない場合は、compilesの権限を777にしてみる。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; Fatal error: Smarty error: unable to write to&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;selinux�が有効になってる可能性があるので確認する&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; $ getenforce&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; Enforcing&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;有効(Enforcing)になってる場合は、一旦無効にしてみる。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; $ sudo&amp;#160; setenforce 0&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=2064&amp;oldid=prev</id>
		<title>Admin: /* テンプレートにSmartyを使用 */</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=2064&amp;oldid=prev"/>
				<updated>2016-02-16T18:05:14Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;テンプレートにSmartyを使用&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←前の版&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2016年2月16日 (火) 18:05時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;行1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=テンプレートにSmartyを使用=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=テンプレートにSmartyを使用=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://framework.zend.com/manual/ja/zend.view.scripts.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;htmlからZend_View_Smartyクラスをコピーし、Custom_View_Smartyに変更し、Custom&lt;/del&gt;/View/Smarty.phpへ保存。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;http://framework.zend.com/manual/ja/zend.view.scripts.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;html&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;からZend_View_Smartyクラスをコピーし、Custom_View_Smartyに変更し、Custom&lt;/ins&gt;/View/Smarty.phpへ保存。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;上記はsmarty3ではエラーとなるので、以下を使用&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;上記はsmarty3ではエラーとなるので、以下を使用&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=174&amp;oldid=prev</id>
		<title>127.0.0.1: ページの作成:「=テンプレートにSmartyを使用= http://framework.zend.com/manual/ja/zend.view.scripts.htmlからZend_View_Smartyクラスをコピーし、Custom_View_Smartyに変...」</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=Php/zend_framework/smarty%E3%83%A1%E3%83%A2&amp;diff=174&amp;oldid=prev"/>
				<updated>2015-05-19T18:08:18Z</updated>
		
		<summary type="html">&lt;p&gt;ページの作成:「=テンプレートにSmartyを使用= http://framework.zend.com/manual/ja/zend.view.scripts.htmlからZend_View_Smartyクラスをコピーし、Custom_View_Smartyに変...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=テンプレートにSmartyを使用=&lt;br /&gt;
http://framework.zend.com/manual/ja/zend.view.scripts.htmlからZend_View_Smartyクラスをコピーし、Custom_View_Smartyに変更し、Custom/View/Smarty.phpへ保存。&lt;br /&gt;
&lt;br /&gt;
上記はsmarty3ではエラーとなるので、以下を使用&lt;br /&gt;
[[php/zend_framework/smarty3用]] [ｼｮｰﾄｶｯﾄ]&lt;br /&gt;
&lt;br /&gt;
==index.php（フロントコントローラー）に以下を記載==&lt;br /&gt;
 require_once dirname(__FILE__) . '/../library/Custom/View/Smarty.php';&lt;br /&gt;
 require_once 'Zend/Controller/Action/Helper/ViewRenderer.php';&lt;br /&gt;
 require_once 'Zend/Config/Ini.php';&lt;br /&gt;
 $setting = new Zend_Config_Ini('../application/configs/smarty.ini', 'SmartySetting');&lt;br /&gt;
 $view = new Custom_View_Smarty(null, $setting);&lt;br /&gt;
 $viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');&lt;br /&gt;
 $viewRenderer-&amp;gt;setView($view)&lt;br /&gt;
             -&amp;gt;setViewBasePathSpec(&amp;quot;../application/views/templates&amp;quot;)&lt;br /&gt;
             -&amp;gt;setViewScriptPathSpec(':controller/:action.:suffix')&lt;br /&gt;
             -&amp;gt;setViewScriptPathNoControllerSpec(':action.:suffix')&lt;br /&gt;
             -&amp;gt;setViewSuffix('tpl');&lt;br /&gt;
==smarty.ini==&lt;br /&gt;
 [SmartySetting]&lt;br /&gt;
 compile_dir=../application/views/templates_c&lt;br /&gt;
 left_delimiter=&amp;quot;{{&amp;lt;nowiki /&amp;gt;&amp;quot;&lt;br /&gt;
 right_delimiter=&amp;quot;}}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==error.tplのサンプル==&lt;br /&gt;
 &amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;nowiki /&amp;gt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;nowiki /&amp;gt;head&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;title&amp;gt;An error occurred&amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;lt;/head&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;nowiki /&amp;gt;body&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;h1&amp;gt;An error occurred&amp;lt;/h1&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;h2&amp;gt;{{&amp;lt;nowiki /&amp;gt;$message|escape:html}}&amp;lt;/h2&amp;gt;&lt;br /&gt;
   {{&amp;lt;nowiki /&amp;gt;if 'development' == $smarty.const.APPLICATION_ENV}}&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;h3&amp;gt;Exception information:&amp;lt;/h3&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;p&amp;gt;&lt;br /&gt;
       &amp;lt;&amp;lt;nowiki /&amp;gt;b&amp;gt;Message:&amp;lt;/b&amp;gt; {{&amp;lt;nowiki /&amp;gt;$exception-&amp;gt;getMessage()}}&lt;br /&gt;
   &amp;lt;/p&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;p&amp;gt;&lt;br /&gt;
       &amp;lt;&amp;lt;nowiki /&amp;gt;b&amp;gt;Class:&amp;lt;/b&amp;gt; {{&amp;lt;nowiki /&amp;gt;$exception|get_class}}&lt;br /&gt;
   &amp;lt;/p&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;p&amp;gt;&lt;br /&gt;
       &amp;lt;&amp;lt;nowiki /&amp;gt;b&amp;gt;Code:&amp;lt;/b&amp;gt; {{&amp;lt;nowiki /&amp;gt;$exception-&amp;gt;getCode()}}&lt;br /&gt;
   &amp;lt;/p&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;p&amp;gt;&lt;br /&gt;
       &amp;lt;&amp;lt;nowiki /&amp;gt;b&amp;gt;File:&amp;lt;/b&amp;gt; {{&amp;lt;nowiki /&amp;gt;$exception-&amp;gt;getFile()}}({{&amp;lt;nowiki /&amp;gt;$exception-&amp;gt;getLine()}})&lt;br /&gt;
   &amp;lt;/p&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;h3&amp;gt;Stack trace:&amp;lt;/h3&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;pre&amp;gt;{{&amp;lt;nowiki /&amp;gt;$exception-&amp;gt;getTraceAsString()}}&lt;br /&gt;
   &amp;lt;/pre&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;h3&amp;gt;Request Parameters:&amp;lt;/h3&amp;gt;&lt;br /&gt;
   &amp;lt;&amp;lt;nowiki /&amp;gt;pre&amp;gt;&lt;br /&gt;
   {{&amp;lt;nowiki /&amp;gt;foreach item=item key=key from=$request-&amp;gt;getParams()}}&lt;br /&gt;
   {{&amp;lt;nowiki /&amp;gt;$key}} =&amp;gt; {{&amp;lt;nowiki /&amp;gt;$item}}&lt;br /&gt;
   {{&amp;lt;nowiki /&amp;gt;/foreach}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
   {{&amp;lt;nowiki /&amp;gt;/if}}&lt;br /&gt;
 &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==zend_applicationでmodulesを使用したときのサンプル==&lt;br /&gt;
 *bootstrap.phpへ追記&lt;br /&gt;
 protected function _initSmarty()&lt;br /&gt;
 {&lt;br /&gt;
     require_once dirname(__FILE__) . '/../library/Custom/View/Smarty.php';&lt;br /&gt;
     require_once 'Zend/Controller/Action/Helper/ViewRenderer.php';&lt;br /&gt;
     require_once 'Zend/Config/Ini.php';&lt;br /&gt;
     $request = new Zend_Controller_Request_Http();&lt;br /&gt;
     // module名がうまく取得できなかったので、無理やり&lt;br /&gt;
     preg_match(&amp;quot;!^/([\w]*)/!&amp;quot;, $request-&amp;gt;getRequestUri(), $matches);&lt;br /&gt;
     $module = $matches[1];&lt;br /&gt;
     // ini追記モードで取得&lt;br /&gt;
     $setting = new Zend_Config_Ini('../application/configs/smarty.ini', 'SmartySetting', true);&lt;br /&gt;
     $setting-&amp;gt;compile_dir = '../application/modules/' . $module . '/views/templates_c';&lt;br /&gt;
     $view = new Custom_View_Smarty(null, $setting);&lt;br /&gt;
     $viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');&lt;br /&gt;
     $viewRenderer-&amp;gt;setView($view)&lt;br /&gt;
         -&amp;gt;setViewBasePathSpec('../application/modules/' . $module . '/views/templates')&lt;br /&gt;
         -&amp;gt;setViewScriptPathSpec(':controller/:action.:suffix')&lt;br /&gt;
         -&amp;gt;setViewScriptPathNoControllerSpec(':action.:suffix')&lt;br /&gt;
         -&amp;gt;setViewSuffix('tpl');&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
==コントローラーからSmartyクラスを呼び出す==&lt;br /&gt;
 $smarty = $this-&amp;gt;view-&amp;gt;getEngine();&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>	</entry>

	</feed>