<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Newlifeclan Q&amp;A - 最近提问和回复</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=qa</link>
<description>Powered by Question2Answer</description>
<item>
<title>在symfony3的easy_admin里怎么添加多图片上传功能</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=67&amp;qa_1=%E5%9C%A8symfony3%E7%9A%84easy_admin%E9%87%8C%E6%80%8E%E4%B9%88%E6%B7%BB%E5%8A%A0%E5%A4%9A%E5%9B%BE%E7%89%87%E4%B8%8A%E4%BC%A0%E5%8A%9F%E8%83%BD</link>
<description>我想实现在管理后台能够实现多图片上传，通过原始的FileType设置multiple为true可以实现，但是效果不是很理想，因为它可以创建新的内容，但我编辑内容时图片就被清零了，而且原来上传的图片也没法显示在编辑界面。请问有什么方法可以让它在编辑界面显示已经上传的照片，然后我不改变照片再保存能不清零吗。无论用JQ还是用原始的方法只要能解决这个问题就可以。</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=67&amp;qa_1=%E5%9C%A8symfony3%E7%9A%84easy_admin%E9%87%8C%E6%80%8E%E4%B9%88%E6%B7%BB%E5%8A%A0%E5%A4%9A%E5%9B%BE%E7%89%87%E4%B8%8A%E4%BC%A0%E5%8A%9F%E8%83%BD</guid>
<pubDate>Sun, 15 Oct 2017 07:01:52 +0000</pubDate>
</item>
<item>
<title>回复于: symfony3 是否能调用原生的php类？</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=65&amp;qa_1=symfony3-%E6%98%AF%E5%90%A6%E8%83%BD%E8%B0%83%E7%94%A8%E5%8E%9F%E7%94%9F%E7%9A%84php%E7%B1%BB%EF%BC%9F&amp;show=66#a66</link>
<description>&lt;p&gt;
	你看看这篇文章是否能解决你的问题：&lt;/p&gt;
&lt;p&gt;
	&lt;a href=&quot;http://stackoverflow.com/questions/6402839/how-to-use-phpexcel-correctly-with-symfony-2&quot; rel=&quot;nofollow&quot;&gt;http://stackoverflow.com/questions/6402839/how-to-use-phpexcel-correctly-with-symfony-2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
	当然如果有bundle可以使用，那是最好的选择&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=65&amp;qa_1=symfony3-%E6%98%AF%E5%90%A6%E8%83%BD%E8%B0%83%E7%94%A8%E5%8E%9F%E7%94%9F%E7%9A%84php%E7%B1%BB%EF%BC%9F&amp;show=66#a66</guid>
<pubDate>Mon, 28 Nov 2016 09:02:39 +0000</pubDate>
</item>
<item>
<title>回复于: symfony部署服务器问题</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=63&amp;qa_1=symfony%E9%83%A8%E7%BD%B2%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%97%AE%E9%A2%98&amp;show=64#a64</link>
<description>你需要真正在你的服务器上部署php运行环境，symfony默认自带的只是个玩具而已，只是方便开发使用。&lt;br /&gt;
&lt;br /&gt;
如果你想让他能够像正常网站一样，你需要在你的服务器安装windows+iis，nginx或者apache环境&lt;br /&gt;
&lt;br /&gt;
如果你需要部署在linux，你可以安装nginx或者apache环境。&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
这些并不是很难，网上有很多答案，你可尝试。&lt;br /&gt;
&lt;br /&gt;
我很久以前写过篇供你参考：&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.newlifeclan.com/symfony/archives/95&quot; rel=&quot;nofollow&quot;&gt;http://www.newlifeclan.com/symfony/archives/95&lt;/a&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=63&amp;qa_1=symfony%E9%83%A8%E7%BD%B2%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%97%AE%E9%A2%98&amp;show=64#a64</guid>
<pubDate>Thu, 21 Jul 2016 17:14:51 +0000</pubDate>
</item>
<item>
<title>单点验证与CAS集成的问题</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=61&amp;qa_1=%E5%8D%95%E7%82%B9%E9%AA%8C%E8%AF%81%E4%B8%8Ecas%E9%9B%86%E6%88%90%E7%9A%84%E9%97%AE%E9%A2%98</link>
<description>我在用symfony做学校的一个网站, 替换现有的网站,地址是&lt;a href=&quot;http://asr.telecom-sudparis.eu/.在新网站的登录部分要求集成学校的同意CAS认证系统,&quot; rel=&quot;nofollow&quot;&gt;http://asr.telecom-sudparis.eu/.在新网站的登录部分要求集成学校的同意CAS认证系统,&lt;/a&gt; 地址是&lt;a href=&quot;https://cas.tem-tsp.eu/cas/login.&quot; rel=&quot;nofollow&quot;&gt;https://cas.tem-tsp.eu/cas/login.&lt;/a&gt; 我的烦恼是:&lt;br /&gt;
&lt;br /&gt;
把登录部分集成到CAS系统在服务器端需要什么配置吗,还是我们只需要在客户端上做文章?&lt;br /&gt;
这个验证在symfony中是怎么实现的?&lt;br /&gt;
希望大神不吝赐教,谢谢啦</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=61&amp;qa_1=%E5%8D%95%E7%82%B9%E9%AA%8C%E8%AF%81%E4%B8%8Ecas%E9%9B%86%E6%88%90%E7%9A%84%E9%97%AE%E9%A2%98</guid>
<pubDate>Sat, 28 May 2016 22:03:44 +0000</pubDate>
</item>
<item>
<title>回复于: Symfony2: Base table or view not found: 1146</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=59&amp;qa_1=symfony2-base-table-or-view-not-found-1146&amp;show=60#a60</link>
<description>&lt;p&gt;
	这个错误可能是一个经典的错误，你的数据库里有一个&lt;code style=&quot;margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: pre-wrap; color: rgb(36, 39, 41); background-color: rgb(239, 240, 241);&quot;&gt;district&lt;/code&gt;&lt;span style=&quot;color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&amp;nbsp;表，但是&lt;/span&gt;&lt;span style=&quot;color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;doctrine 寻找的是&lt;/span&gt;&lt;code style=&quot;margin: 0px; padding: 1px 5px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: pre-wrap; color: rgb(36, 39, 41); background-color: rgb(239, 240, 241);&quot;&gt;District&lt;/code&gt;&lt;span style=&quot;color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&amp;nbsp;表。&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;liunx是严格区分大小写的，你可以修改你的表为小写即可&lt;/span&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=59&amp;qa_1=symfony2-base-table-or-view-not-found-1146&amp;show=60#a60</guid>
<pubDate>Tue, 24 May 2016 07:54:01 +0000</pubDate>
</item>
<item>
<title>回复于: 关于前端翻页~~~~~~~~~~~~~~</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=57&amp;qa_1=%E5%85%B3%E4%BA%8E%E5%89%8D%E7%AB%AF%E7%BF%BB%E9%A1%B5&amp;show=58#a58</link>
<description>我不太清楚你的说的翻页bundle是什么bundle，我能否理解为分页bundle。如果是分页bundle&lt;br /&gt;
&lt;br /&gt;
你可以查看 &lt;a href=&quot;https://github.com/KnpLabs/KnpPaginatorBundle&quot; rel=&quot;nofollow&quot;&gt;https://github.com/KnpLabs/KnpPaginatorBundle&lt;/a&gt; 有详细的文档。&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
如果不是你发来你的翻页bundle，我look一下</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=57&amp;qa_1=%E5%85%B3%E4%BA%8E%E5%89%8D%E7%AB%AF%E7%BF%BB%E9%A1%B5&amp;show=58#a58</guid>
<pubDate>Tue, 24 May 2016 07:45:04 +0000</pubDate>
</item>
<item>
<title>继续此问题，深入了解一下</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=56&amp;qa_1=%E7%BB%A7%E7%BB%AD%E6%AD%A4%E9%97%AE%E9%A2%98%EF%BC%8C%E6%B7%B1%E5%85%A5%E4%BA%86%E8%A7%A3%E4%B8%80%E4%B8%8B</link>
<description>按照你的方法用assert加载，我已经能够将图片 &amp;nbsp;js 正常显示，但是css却不能正常表达</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=56&amp;qa_1=%E7%BB%A7%E7%BB%AD%E6%AD%A4%E9%97%AE%E9%A2%98%EF%BC%8C%E6%B7%B1%E5%85%A5%E4%BA%86%E8%A7%A3%E4%B8%80%E4%B8%8B</guid>
<pubDate>Mon, 23 May 2016 16:29:48 +0000</pubDate>
</item>
<item>
<title>回复于: 关于Symfony前端如何调试的问题</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=54&amp;qa_1=%E5%85%B3%E4%BA%8Esymfony%E5%89%8D%E7%AB%AF%E5%A6%82%E4%BD%95%E8%B0%83%E8%AF%95%E7%9A%84%E9%97%AE%E9%A2%98&amp;show=55#a55</link>
<description>项目小的话,就直接把样式文件放入web/文件中就行了.&lt;br /&gt;
&lt;br /&gt;
正常的情况是:在src/ 的bundle下面的resourcces/自己加一个public文件夹,把样式文件放入其中.运行php bin/console assets:install这个命令,然后在web/文件夹下面找到问价的路径,用asset函数加载即可.检查的时候直接用google浏览器的&amp;quot;检查&amp;quot;,查看样式文件的路径是不是对的.</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=54&amp;qa_1=%E5%85%B3%E4%BA%8Esymfony%E5%89%8D%E7%AB%AF%E5%A6%82%E4%BD%95%E8%B0%83%E8%AF%95%E7%9A%84%E9%97%AE%E9%A2%98&amp;show=55#a55</guid>
<pubDate>Mon, 23 May 2016 11:31:39 +0000</pubDate>
</item>
<item>
<title>回复于: 关于symfony3.0中css js文件的位置以及加载原理</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=52&amp;qa_1=%E5%85%B3%E4%BA%8Esymfony3-0%E4%B8%ADcss-js%E6%96%87%E4%BB%B6%E7%9A%84%E4%BD%8D%E7%BD%AE%E4%BB%A5%E5%8F%8A%E5%8A%A0%E8%BD%BD%E5%8E%9F%E7%90%86&amp;show=53#a53</link>
<description>&lt;p&gt;
	默认下载的symfony3.0程序没有给我们demo（ACME）。自然没有给我们添加&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;resources/public目录，按照symfony的标准：我们要在我们的src/appbundle/&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;resources/public中创建我们自己的css，images，js文件。&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;并通过命令&amp;nbsp;&lt;/span&gt;php app/console asset:install 把他生成到web目录的相应bundle中。&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	symfony在访问时有一个入口文件app_dev.php或者app.php，资源路径硬编码时，你的路径一般用“/”开头退回到根目录。assets可以解决这样的问题。&lt;/p&gt;
&lt;p&gt;
	建议使用assets因为他会让你的代码更加清晰，简洁，如果你使用硬编码，你要处理很多路径问题，就像官网上说的&lt;/p&gt;
&lt;p&gt;
	你的站点目录发生变化&lt;/p&gt;
&lt;p&gt;
	&lt;a href=&quot;http://example.com（访问路径是&quot; rel=&quot;nofollow&quot;&gt;http://example.com（访问路径是&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 160, 0); font-family: Menlo, Monaco, Consolas, monospace; font-size: 13px; line-height: 19.5px;&quot;&gt;/images/logo.png&lt;/span&gt;）&lt;/p&gt;
&lt;p&gt;
	&lt;a href=&quot;http://example.com/my_app（&quot; rel=&quot;nofollow&quot;&gt;http://example.com/my_app（&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 160, 0); font-family: Menlo, Monaco, Consolas, monospace; font-size: 13px; line-height: 19.5px;&quot;&gt;/my_app&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 160, 0); font-family: Menlo, Monaco, Consolas, monospace; font-size: 13px; line-height: 19.5px;&quot;&gt;/images/logo.png&lt;/span&gt;） 路径都会有变化&lt;/p&gt;
&lt;p&gt;
	这个函数还可以增加版本等操作，你多用你就会爱上他。&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=52&amp;qa_1=%E5%85%B3%E4%BA%8Esymfony3-0%E4%B8%ADcss-js%E6%96%87%E4%BB%B6%E7%9A%84%E4%BD%8D%E7%BD%AE%E4%BB%A5%E5%8F%8A%E5%8A%A0%E8%BD%BD%E5%8E%9F%E7%90%86&amp;show=53#a53</guid>
<pubDate>Mon, 04 Apr 2016 05:40:20 +0000</pubDate>
</item>
<item>
<title>回复于: symfony2.7 怎么使用session进行会话控制</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=47&amp;qa_1=symfony2-7-%E6%80%8E%E4%B9%88%E4%BD%BF%E7%94%A8session%E8%BF%9B%E8%A1%8C%E4%BC%9A%E8%AF%9D%E6%8E%A7%E5%88%B6&amp;show=50#a50</link>
<description>&lt;p&gt;
	如果你想实现用户登录你应该关注symfony的security的使用，他会带你进入symfony体系的安全验证过程，他极其的强大。&lt;/p&gt;
&lt;p&gt;
	如果你只需要session的话&lt;/p&gt;
&lt;p&gt;
	在Controller中添加：&lt;/p&gt;
&lt;pre style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt;&quot;&gt;
&lt;span style=&quot;color:#000080;background-color:#f7faff;font-weight:bold;&quot;&gt;use &lt;/span&gt;&lt;span style=&quot;background-color:#f7faff;&quot;&gt;Symfony\Component\HttpFoundation\Request;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: SimSun; font-size: 9pt; color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(247, 250, 255);&quot;&gt;public function setSessionAction&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;Request &lt;/span&gt;&lt;span style=&quot;font-family: SimSun; font-size: 9pt; color: rgb(102, 0, 0); background-color: rgb(247, 250, 255);&quot;&gt;$request&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: SimSun; font-size: 9pt; color: rgb(102, 0, 0); background-color: rgb(247, 250, 255);&quot;&gt;&amp;nbsp; $session&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: SimSun; font-size: 9pt; color: rgb(102, 0, 0); background-color: rgb(247, 250, 255);&quot;&gt;$request&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;-&amp;gt;getSession();&lt;/span&gt;&lt;/p&gt;
&lt;pre style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt;&quot;&gt;
&lt;span style=&quot;color:#660000;background-color:#f7faff;&quot;&gt;   $session&lt;/span&gt;&lt;span style=&quot;background-color:#f7faff;&quot;&gt;-&amp;gt;set(&lt;/span&gt;&lt;span style=&quot;color:#008000;background-color:#f7faff;font-weight:bold;&quot;&gt;'name'&lt;/span&gt;&lt;span style=&quot;background-color:#f7faff;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color:#008000;background-color:#f7faff;font-weight:bold;&quot;&gt;'value'&lt;/span&gt;&lt;span style=&quot;background-color:#f7faff;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;background-color: rgb(247, 250, 255);&quot;&gt;//创建session&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-size: 9pt; font-family: SimSun; color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(247, 250, 255);&quot;&gt;public function getSessionAction&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; color: rgb(0, 0, 0); font-family: SimSun; background-color: rgb(247, 250, 255);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; color: rgb(0, 0, 0); font-family: SimSun; background-color: rgb(247, 250, 255);&quot;&gt;Request&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; font-family: SimSun; color: rgb(102, 0, 0); background-color: rgb(247, 250, 255);&quot;&gt;$request&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; color: rgb(0, 0, 0); font-family: SimSun; background-color: rgb(247, 250, 255);&quot;&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: SimSun; font-size: 9pt; color: rgb(102, 0, 0); background-color: rgb(247, 250, 255);&quot;&gt;&amp;nbsp; $session&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: SimSun; font-size: 9pt; color: rgb(102, 0, 0); background-color: rgb(247, 250, 255);&quot;&gt;$request&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;-&amp;gt;getSession();&lt;/span&gt;&lt;/p&gt;
&lt;pre style=&quot;font-size: 9pt; color: rgb(0, 0, 0); font-family: SimSun;&quot;&gt;
&lt;span style=&quot;color: rgb(102, 0, 0); background-color: rgb(247, 250, 255);&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;font-size: 9pt; color: rgb(102, 0, 0); background-color: rgb(247, 250, 255);&quot;&gt;$session&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;-&amp;gt;get(&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; color: rgb(0, 128, 0); font-weight: bold; background-color: rgb(247, 250, 255);&quot;&gt;'name'&lt;/span&gt;&lt;span style=&quot;font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;); //获取session&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;
	&lt;span style=&quot;font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;&amp;nbsp; &amp;nbsp; //&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: SimSun; font-size: 9pt; color: rgb(102, 0, 0); background-color: rgb(247, 250, 255);&quot;&gt;$session&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;-&amp;gt;clear();//清除session&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(0, 0, 0); font-family: SimSun; font-size: 9pt; background-color: rgb(247, 250, 255);&quot;&gt;}&lt;/span&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=47&amp;qa_1=symfony2-7-%E6%80%8E%E4%B9%88%E4%BD%BF%E7%94%A8session%E8%BF%9B%E8%A1%8C%E4%BC%9A%E8%AF%9D%E6%8E%A7%E5%88%B6&amp;show=50#a50</guid>
<pubDate>Fri, 04 Mar 2016 16:25:10 +0000</pubDate>
</item>
<item>
<title>回复于: Symony3   css获取背景图片(background-image) 问题</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=48&amp;qa_1=symony3-css%E8%8E%B7%E5%8F%96%E8%83%8C%E6%99%AF%E5%9B%BE%E7%89%87-background-image-%E9%97%AE%E9%A2%98&amp;show=49#a49</link>
<description>&lt;p&gt;
	你的css&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;background-image: image-url(&quot;../images/maxBg.jpg&quot;);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: Helvetica, Arial, sans-serif; color: #333333;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;应该改成这样才对&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;background-image: url(../images/maxBg.jpg);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: Helvetica, Arial, sans-serif; color: #333333;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;顺便看看你&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;bundles/acmehello/&lt;/span&gt;&lt;span style=&quot;font-family: Helvetica, Arial, sans-serif; color: rgb(51, 51, 51);&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;images里是否有&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;maxBg.jpg文件&lt;/span&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=48&amp;qa_1=symony3-css%E8%8E%B7%E5%8F%96%E8%83%8C%E6%99%AF%E5%9B%BE%E7%89%87-background-image-%E9%97%AE%E9%A2%98&amp;show=49#a49</guid>
<pubDate>Fri, 04 Mar 2016 16:03:46 +0000</pubDate>
</item>
<item>
<title>回复于: doctrine 怎么分布式</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=43&amp;qa_1=doctrine-%E6%80%8E%E4%B9%88%E5%88%86%E5%B8%83%E5%BC%8F&amp;show=46#a46</link>
<description>&lt;a href=&quot;http://symfony.com/doc/current/cookbook/doctrine/multiple_entity_managers.html&quot; rel=&quot;nofollow&quot;&gt;http://symfony.com/doc/current/cookbook/doctrine/multiple_entity_managers.html&lt;/a&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=43&amp;qa_1=doctrine-%E6%80%8E%E4%B9%88%E5%88%86%E5%B8%83%E5%BC%8F&amp;show=46#a46</guid>
<pubDate>Mon, 21 Sep 2015 05:12:48 +0000</pubDate>
</item>
<item>
<title>回复于: 自己写的bundle  获取不到配置参数</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=44&amp;qa_1=%E8%87%AA%E5%B7%B1%E5%86%99%E7%9A%84bundle-%E8%8E%B7%E5%8F%96%E4%B8%8D%E5%88%B0%E9%85%8D%E7%BD%AE%E5%8F%82%E6%95%B0&amp;show=45#a45</link>
<description>&lt;a href=&quot;http://www.newlifeclan.com/symfony/archives/564&quot; rel=&quot;nofollow&quot;&gt;http://www.newlifeclan.com/symfony/archives/564&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
希望能够帮助你</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=44&amp;qa_1=%E8%87%AA%E5%B7%B1%E5%86%99%E7%9A%84bundle-%E8%8E%B7%E5%8F%96%E4%B8%8D%E5%88%B0%E9%85%8D%E7%BD%AE%E5%8F%82%E6%95%B0&amp;show=45#a45</guid>
<pubDate>Mon, 21 Sep 2015 05:10:09 +0000</pubDate>
</item>
<item>
<title>回复于: symfony2创建bundle时候要选择配置的格式的问题</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=41&amp;qa_1=symfony2%E5%88%9B%E5%BB%BAbundle%E6%97%B6%E5%80%99%E8%A6%81%E9%80%89%E6%8B%A9%E9%85%8D%E7%BD%AE%E7%9A%84%E6%A0%BC%E5%BC%8F%E7%9A%84%E9%97%AE%E9%A2%98&amp;show=42#a42</link>
<description>&lt;p&gt;
	当你创建bundle时，会让你选择格式，你选择的这些格式会在后面的路由、entity和验证还有你以后的服务容器等地方使用，让你更加方便。但是这绝对不是唯一的，你可以混搭，也就是说你可以在你的bundle中使用yml或者xml或者annotation甚至是php。&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;background-color:#d3d3d3;&quot;&gt;先说说annotation：&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	这是官方推荐的一种方式，很是不错&lt;/p&gt;
&lt;p&gt;
	1.程序方法在一起使用，省去了来回建设yml和xml文件到各个地方的烦恼，让你更快速构建路由，entity，服务等。&lt;/p&gt;
&lt;p&gt;
	2.简洁，你渲染模板的时候要写php，如果用annotation，只需要配置一下路径，返回数组即可，orm也是如此。&lt;/p&gt;
&lt;p&gt;
	3.减少你的开发时间，减少创建的文件数，减少代码量，并也有很好的清晰的结构。&lt;/p&gt;
&lt;p&gt;
	yml和xml&lt;/p&gt;
&lt;p&gt;
	虽然annotation非常的好，但是会有一些限制，所以不能都用annotation&lt;/p&gt;
&lt;p&gt;
	例如symfony2的config.yml，那么你必须要用yml&lt;/p&gt;
&lt;p&gt;
	说说xml和yml，yml清晰并且加载时效率略高与xml，所以优选yml&lt;/p&gt;
&lt;p&gt;
	但是在你自己创建bundle并想要和全世界的人分享时你就要使用xml树，并且symfony可以验证你配置的参数正确性，并解析xml到你的bundle中使用&lt;/p&gt;
&lt;p&gt;
	当然xml原始的配置文件标准格式，也有很多优势，你可百度查查有很多线索&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	如果你更习惯于php你也可以选用，不管什么方式都可以在bundle里使用所以你不用担心，看你喜欢。并且你觉得哪个你用的会更加清晰和利用使用。&lt;/p&gt;
&lt;p&gt;
	有些人说每个不同的类型，会影响到程序的运行效率，我认为没有关系，因为symfony当你部署时会缓存和编译文件，所以不管你用什么类型都是一样的&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=41&amp;qa_1=symfony2%E5%88%9B%E5%BB%BAbundle%E6%97%B6%E5%80%99%E8%A6%81%E9%80%89%E6%8B%A9%E9%85%8D%E7%BD%AE%E7%9A%84%E6%A0%BC%E5%BC%8F%E7%9A%84%E9%97%AE%E9%A2%98&amp;show=42#a42</guid>
<pubDate>Tue, 24 Mar 2015 06:57:31 +0000</pubDate>
</item>
<item>
<title>回复于: 由于 Web 服务器上此资源的访问控制列表(ACL)配置或加密设置</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=37&amp;qa_1=%E7%94%B1%E4%BA%8E-web-%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E6%AD%A4%E8%B5%84%E6%BA%90%E7%9A%84%E8%AE%BF%E9%97%AE%E6%8E%A7%E5%88%B6%E5%88%97%E8%A1%A8-acl-%E9%85%8D%E7%BD%AE%E6%88%96%E5%8A%A0%E5%AF%86%E8%AE%BE%E7%BD%AE&amp;show=40#a40</link>
<description>主要就是权限问题，开启权限即可</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=37&amp;qa_1=%E7%94%B1%E4%BA%8E-web-%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E6%AD%A4%E8%B5%84%E6%BA%90%E7%9A%84%E8%AE%BF%E9%97%AE%E6%8E%A7%E5%88%B6%E5%88%97%E8%A1%A8-acl-%E9%85%8D%E7%BD%AE%E6%88%96%E5%8A%A0%E5%AF%86%E8%AE%BE%E7%BD%AE&amp;show=40#a40</guid>
<pubDate>Wed, 07 Jan 2015 05:30:28 +0000</pubDate>
</item>
<item>
<title>回复于: [Semantical Error] The annotation &quot;@ManyToOne&quot; in property **** was never imported.</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=35&amp;qa_1=semantical-error-annotation-%40manytoone-property-imported&amp;show=36#a36</link>
<description>&lt;p&gt;
	你写错了&amp;nbsp;&lt;span style=&quot;color: rgb(51, 51, 51); font-size: 14px; line-height: 21px;&quot;&gt;ManyToOne的&lt;/span&gt;annotation 注释&lt;/p&gt;
&lt;pre style=&quot;color: rgb(51, 51, 51); font-size: 14px; line-height: 21px;&quot;&gt;
@ManyToOne &lt;/pre&gt;
&lt;pre&gt;
@JoinColumn&lt;/pre&gt;
&lt;p&gt;
	应该改写&lt;/p&gt;
&lt;pre style=&quot;color: rgb(51, 51, 51); font-size: 14px; line-height: 21px;&quot;&gt;
@ORM\ManyToOne&lt;/pre&gt;
&lt;pre&gt;
@ORM\JoinColumn&lt;/pre&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=35&amp;qa_1=semantical-error-annotation-%40manytoone-property-imported&amp;show=36#a36</guid>
<pubDate>Thu, 27 Nov 2014 08:46:03 +0000</pubDate>
</item>
<item>
<title>回复于: 如何在XAMPP上建立多个域名站点？</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=33&amp;qa_1=%E5%A6%82%E4%BD%95%E5%9C%A8xampp%E4%B8%8A%E5%BB%BA%E7%AB%8B%E5%A4%9A%E4%B8%AA%E5%9F%9F%E5%90%8D%E7%AB%99%E7%82%B9%EF%BC%9F&amp;show=34#a34</link>
<description>&lt;p&gt;
	这个问题简单，我已亲测成功&lt;/p&gt;
&lt;p&gt;
	XAMPP默认安装完毕后，站点文件默认放在/xampp/htdocs/ 文件下，并且可以通过http://localhost 进行访问。先前在测试各种程序的时候均是在/xampp/htdocs/ 文件下新建目录，比如/xampp/htdocs/wordpress ，然后通过http://localhost/wordpress/ 进行访问。&lt;/p&gt;
&lt;p&gt;
	于是想换种更好的方式来定义站点，进行更加方便的测试。如果我目前有测试三个程序的需求（wordpress,discuz,phpwind），期望给每个程序都单独的分配一个域名。比如&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
		wordpress -&amp;gt; www.wordpress-test.com&lt;/li&gt;
	&lt;li&gt;
		discuz -&amp;gt; www.discuz-test.com&lt;/li&gt;
	&lt;li&gt;
		phpwind -&amp;gt; www.phpwind-test.com&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
	以下为具体解决方法：&lt;/p&gt;
&lt;p&gt;
	1、修改hosts文件&lt;/p&gt;
&lt;p&gt;
	不管你是否拥有上述域名，如果想通过域名访问自己建立的站点，这需要先对host文件进行修改。打开C:\Windows\System32\Drivers\etc目录下的 hosts 文件，加入如下三行：&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
		127.0.0.1 &amp;nbsp;www.wordpress-test.com&lt;/li&gt;
	&lt;li&gt;
		127.0.0.1 &amp;nbsp;www.discuz-test.com&lt;/li&gt;
	&lt;li&gt;
		127.0.0.1 &amp;nbsp;www.phpwind-test.com&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
	添加完毕后，保存即可。Win7/Win8 遇到hosts文件无法修改的解决办法是，先把hosts文件复制到桌面，在桌面改好后再复制到 etc 文件夹下进行替换旧的hosts文件。&lt;/p&gt;
&lt;p&gt;
	2、修改Apache虚拟主机的配置&lt;/p&gt;
&lt;p&gt;
	在虚拟主机设置文件xampp\apache\conf\extra\httpd-vhosts.conf里设置：&lt;/p&gt;
&lt;p&gt;
	删除 NameVirtualHost *:80 前面的 ##，即删除注释来启用httpd-vhosts.conf里的配置。&lt;/p&gt;
&lt;p&gt;
	在文件最后追加以下内容：&lt;/p&gt;
&lt;p&gt;
	&amp;lt;VirtualHost *:80&amp;gt;&lt;br&gt;
	DocumentRoot /xampp/htdocs/wordpress&lt;br&gt;
	ServerName&amp;nbsp;www.wordpress-test.com&lt;br&gt;
	&amp;lt;/VirtualHost&amp;gt;&lt;/p&gt;
&lt;p&gt;
	&amp;lt;VirtualHost *:80&amp;gt;&lt;br&gt;
	DocumentRoot /xampp/htdocs/discuz&lt;br&gt;
	ServerName&amp;nbsp;www.discuz-test.com&lt;br&gt;
	&amp;lt;/VirtualHost&amp;gt;&lt;/p&gt;
&lt;p&gt;
	&amp;lt;VirtualHost *:80&amp;gt;&lt;br&gt;
	DocumentRoot /xampp/htdocs/phpwind&lt;br&gt;
	ServerName&amp;nbsp;www.phpwind-test.com&lt;br&gt;
	&amp;lt;/VirtualHost&amp;gt;&lt;/p&gt;
&lt;p&gt;
	设置完毕后，保存并重启apache就可以通过www.wordpress-test.com直接访问/xampp/htdocs/wordpress下的内容了。&lt;/p&gt;
&lt;p&gt;
	3、让localhost再次生效&lt;/p&gt;
&lt;p&gt;
	做完了上述操作后，发现使用localhost直接定位到了/xampp/htdocs/wordpress下的内容了，而我期望的是还是定位到/xampp/htdocs/的内容。也就是默认的httpd的设置失效了。解决防范就是把localhost的配置在httpd-vhosts.conf里配置回来。&lt;/p&gt;
&lt;p&gt;
	再在文件的最后添加上如下内容，并重启Apache.&lt;/p&gt;
&lt;p&gt;
	&amp;lt;VirtualHost *:80&amp;gt;&lt;br&gt;
	DocumentRoot /xampp/htdocs/&lt;br&gt;
	ServerName localhost&lt;br&gt;
	&amp;lt;/VirtualHost&amp;gt;&lt;/p&gt;
&lt;p&gt;
	至此，XAMPP 的虚拟主机设置完毕，现在 访问 localhost 还是原来的 XAMPP 的内容，访问 www.wordpress-test.com&amp;nbsp;将指向到绑定的 wordpress 目录，访问 www.discuz-test.com 将指向到绑定的discuz 目录…&lt;/p&gt;
&lt;p&gt;
	接下来就引出另外一个问题，如果我不想把测试的程序放到/xampp/htdocs/目录下，比如说我想放在D:\website\目录下，该如何解决呢？要实现此功能共有2种方法：&lt;/p&gt;
&lt;p&gt;
	1、修改httpd-vhosts.conf文件中配置。&lt;/p&gt;
&lt;p&gt;
	先期的配置如下：&lt;/p&gt;
&lt;p&gt;
	&amp;lt;VirtualHost *:80&amp;gt;&lt;br&gt;
	DocumentRoot /xampp/htdocs/wordpress&lt;br&gt;
	ServerName&amp;nbsp;www.wordpress-test.com&lt;br&gt;
	&amp;lt;/VirtualHost&amp;gt;&lt;/p&gt;
&lt;p&gt;
	需要修改为：&lt;/p&gt;
&lt;p&gt;
	&amp;lt;VirtualHost *:80&amp;gt;&lt;br&gt;
	DocumentRoot D:\website\wordpress&lt;br&gt;
	ServerName www.wordpress-test.com&lt;br&gt;
	&amp;lt;Directory D:\website\wordpress&amp;gt;&amp;nbsp;&lt;br&gt;
	Order allow,deny&lt;br&gt;
	Allow from all&lt;br&gt;
	&amp;lt;/Directory&amp;gt;&lt;br&gt;
	&amp;lt;/VirtualHost&amp;gt;&lt;/p&gt;
&lt;p&gt;
	即新增一个Directory节点来允许目录可访问。注意：D:\wordpress\wordpress 文件夹的最后不需要再加”\”。&lt;/p&gt;
&lt;p&gt;
	2、修改httpd.conf文件中的配置&lt;/p&gt;
&lt;p&gt;
	打开E:\xampp\apache\conf目录下的httpd.conf文件。找到DocumentRoot所在行。将DocumentRoot “D:/xampp/htdocs”，修改为D:/website，找到&amp;lt;Directory “D:/xampp/htdocs”&amp;gt; 修改为&amp;nbsp;&amp;lt;Directory “D:/website”&amp;gt; ，保存后重启Apache即可~&amp;nbsp;注意这里要用 “/”,而不是“\”。&lt;/p&gt;
&lt;p&gt;
	参考文章来自 &amp;nbsp;&lt;a href=&quot;http://www.biaodianfu.com/xampp-setup-vhost-and-multiple-domains.html&quot; rel=&quot;nofollow&quot;&gt;http://www.biaodianfu.com/xampp-setup-vhost-and-multiple-domains.html&lt;/a&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=33&amp;qa_1=%E5%A6%82%E4%BD%95%E5%9C%A8xampp%E4%B8%8A%E5%BB%BA%E7%AB%8B%E5%A4%9A%E4%B8%AA%E5%9F%9F%E5%90%8D%E7%AB%99%E7%82%B9%EF%BC%9F&amp;show=34#a34</guid>
<pubDate>Fri, 21 Nov 2014 08:31:04 +0000</pubDate>
</item>
<item>
<title>回复于: 在android项目里如何调用系统的图标</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=31&amp;qa_1=%E5%9C%A8android%E9%A1%B9%E7%9B%AE%E9%87%8C%E5%A6%82%E4%BD%95%E8%B0%83%E7%94%A8%E7%B3%BB%E7%BB%9F%E7%9A%84%E5%9B%BE%E6%A0%87&amp;show=32#a32</link>
<description>&lt;p&gt;
	1.如果你在java类中应该这样写&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	setBackgroundResource(android.R.drawable.button_onoff_indicator_on);&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	2.如果你在xml文件中，请拖拽一个 imageview &amp;nbsp;选择系统图片即可&lt;/p&gt;
&lt;div&gt;
	&amp;lt;ImageView&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:id=&quot;@+id/imageView1&quot;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_width=&quot;wrap_content&quot;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_height=&quot;wrap_content&quot;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_alignParentLeft=&quot;true&quot;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_alignParentTop=&quot;true&quot;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_marginLeft=&quot;123dp&quot;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_marginTop=&quot;196dp&quot;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:src=&quot;@android:drawable/button_onoff_indicator_on&quot; /&amp;gt;&lt;/div&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=31&amp;qa_1=%E5%9C%A8android%E9%A1%B9%E7%9B%AE%E9%87%8C%E5%A6%82%E4%BD%95%E8%B0%83%E7%94%A8%E7%B3%BB%E7%BB%9F%E7%9A%84%E5%9B%BE%E6%A0%87&amp;show=32#a32</guid>
<pubDate>Wed, 19 Nov 2014 03:09:11 +0000</pubDate>
</item>
<item>
<title>回复于: Unable to execute dex: Multiple dex files define Landroid/support/v4/</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=29&amp;qa_1=unable-execute-multiple-dex-files-define-landroid-support&amp;show=30#a30</link>
<description>&lt;p&gt;
	&lt;span style=&quot;color: rgb(85, 85, 85); font-family: 宋体, 'Arial Narrow', arial, serif; font-size: 14px; line-height: 28px;&quot;&gt;右键项目选址【Properties】，如下图，把选项卡下的【Order and Export】包前面的勾全部去掉即可。&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;img alt=&quot;&quot; src=&quot;http://s3.51cto.com/wyfs02/M01/12/5C/wKiom1MEajeT04ZxAAK4HtSg4z8324.jpg&quot; style=&quot;width: 745px; height: 558px;&quot;&gt;&lt;/p&gt;
&lt;p&gt;
	原文：&lt;a rel=&quot;nofollow&quot; href=&quot;http://zhengyongkun.blog.51cto.com/1163218/1360738&quot;&gt;http://zhengyongkun.blog.51cto.com/1163218/1360738&lt;/a&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=29&amp;qa_1=unable-execute-multiple-dex-files-define-landroid-support&amp;show=30#a30</guid>
<pubDate>Tue, 11 Nov 2014 07:01:31 +0000</pubDate>
</item>
<item>
<title>回复于: 我在编写android时使用Eclipse编辑器添加注释字好小如何变大</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=27&amp;qa_1=%E6%88%91%E5%9C%A8%E7%BC%96%E5%86%99android%E6%97%B6%E4%BD%BF%E7%94%A8eclipse%E7%BC%96%E8%BE%91%E5%99%A8%E6%B7%BB%E5%8A%A0%E6%B3%A8%E9%87%8A%E5%AD%97%E5%A5%BD%E5%B0%8F%E5%A6%82%E4%BD%95%E5%8F%98%E5%A4%A7&amp;show=28#a28</link>
<description>&lt;p&gt;
	你打开Eclipse找到&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(0, 0, 0); font-family: Helvetica, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 25.1875px;&quot;&gt;Window --&amp;gt; Preferences --&amp;gt; General --&amp;gt; Appearance --&amp;gt; Colors and Fonts --&amp;gt; Basic --&amp;gt; Text Font --&amp;gt; Edit&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: rgb(0, 0, 0); font-family: Helvetica, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 25.1875px;&quot;&gt;
	&lt;span style=&quot;font-family: Helvetica, Tahoma, Arial, sans-serif; color: #000000;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 25.1875px;&quot;&gt;注释字体变小的原因，不是字号小而是字体原因变换字体即可&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;color: rgb(0, 0, 0); font-family: Helvetica, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 25.1875px;&quot;&gt;
	&lt;span style=&quot;color: rgb(0, 0, 0); font-family: Helvetica, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 25.1875px;&quot;&gt;eclipse新版的字体是Consolas，果断改了字体（微软雅黑）哈哈因为习惯中文注释，瞬间就变大了。。。&lt;/span&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=27&amp;qa_1=%E6%88%91%E5%9C%A8%E7%BC%96%E5%86%99android%E6%97%B6%E4%BD%BF%E7%94%A8eclipse%E7%BC%96%E8%BE%91%E5%99%A8%E6%B7%BB%E5%8A%A0%E6%B3%A8%E9%87%8A%E5%AD%97%E5%A5%BD%E5%B0%8F%E5%A6%82%E4%BD%95%E5%8F%98%E5%A4%A7&amp;show=28#a28</guid>
<pubDate>Thu, 06 Nov 2014 02:49:17 +0000</pubDate>
</item>
<item>
<title>回复于: 在安装symfony2时报错An error occured when executing the cache:clear --no-warmup</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=25&amp;qa_1=%E5%9C%A8%E5%AE%89%E8%A3%85symfony2%E6%97%B6%E6%8A%A5%E9%94%99an-error-occured-executing-cache-clear-warmup&amp;show=26#a26</link>
<description>&lt;p&gt;
	你这个问题我遇到过，当symfony2安装完成时，他会执行一个&lt;/p&gt;
&lt;p&gt;
	php app/console cache:clear 命令，&lt;/p&gt;
&lt;pre&gt;
也就是说你的这个命令不能顺利执行。&lt;/pre&gt;
&lt;p&gt;
	1.你要检测你的权限是否正常，是否开启了读写权限。如果iis指定到web目录，web以外的文件没有权限，添加Users组并赋予读写权限。&lt;/p&gt;
&lt;p&gt;
	2.你要查看你的php是否正常，我是windows（IIS+php环境）你可以点击你的php.exe（和php-cgi.exe在一个目录下）看看是否正常，如果点击报错你就要处理错误了。&lt;/p&gt;
&lt;p&gt;
	我是缺少一个dll，用360修复成功了。&lt;/p&gt;
&lt;p&gt;
	你可以运行&amp;nbsp;php app/console cache:clear &amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	并更新&amp;nbsp;&lt;span class=&quot;pln&quot; style=&quot;font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-color: transparent; color: rgb(0, 0, 0); font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;php composer&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-color: transparent; color: rgb(0, 0, 0); font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-color: transparent; color: rgb(0, 0, 0); font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;phar update&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;他应该就可以工作了&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span class=&quot;pln&quot; style=&quot;font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-color: transparent; color: rgb(0, 0, 0); font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;3.还不行手动删除app/cache下的文件&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span class=&quot;pln&quot; style=&quot;font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-color: transparent; color: rgb(0, 0, 0); font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=25&amp;qa_1=%E5%9C%A8%E5%AE%89%E8%A3%85symfony2%E6%97%B6%E6%8A%A5%E9%94%99an-error-occured-executing-cache-clear-warmup&amp;show=26#a26</guid>
<pubDate>Fri, 24 Oct 2014 03:33:28 +0000</pubDate>
</item>
<item>
<title>回复于: HTTP错误 500 Internal Server Error      php-cgi.exe FastCGI进程意外退出</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=23&amp;qa_1=http%E9%94%99%E8%AF%AF-500-internal-server-error-php-cgi-exe-fastcgi%E8%BF%9B%E7%A8%8B%E6%84%8F%E5%A4%96%E9%80%80%E5%87%BA&amp;show=24#a24</link>
<description>&lt;p&gt;
	我遇到的问题和你一样，我是这样处理的，你找到 c:\iisphp\php\php.exe &amp;nbsp;双击它，看看报什么样的错误。&lt;/p&gt;
&lt;p&gt;
	我的错误是&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&lt;img alt=&quot;&quot; src=&quot;http://www.newlifeclan.com/symfony/wp-content/uploads/sites/2/2014/10/iis-fastcgierror.png&quot; style=&quot;width: 492px; height: 189px;&quot;&gt;&lt;/p&gt;
&lt;p&gt;
	然后，我用360安全卫士的360人工服务，搜索到 修复MSVCR110.dll的方法。&lt;/p&gt;
&lt;p&gt;
	修复完成之后一切顺利了，网站打开没有错误了&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=23&amp;qa_1=http%E9%94%99%E8%AF%AF-500-internal-server-error-php-cgi-exe-fastcgi%E8%BF%9B%E7%A8%8B%E6%84%8F%E5%A4%96%E9%80%80%E5%87%BA&amp;show=24#a24</guid>
<pubDate>Tue, 21 Oct 2014 05:15:58 +0000</pubDate>
</item>
<item>
<title>回复于: Android import 报错  Invalid project description</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=21&amp;qa_1=android-import-%E6%8A%A5%E9%94%99-invalid-project-description&amp;show=22#a22</link>
<description>说明你的工作空间下已经存在了这个项目：&lt;br /&gt;
&lt;br /&gt;
1.把工作空间（workspace）更改到别的目录下。&lt;br /&gt;
&lt;br /&gt;
2.把你的项目源码移动到别的目录下，再重新导入。</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=21&amp;qa_1=android-import-%E6%8A%A5%E9%94%99-invalid-project-description&amp;show=22#a22</guid>
<pubDate>Fri, 17 Oct 2014 05:34:34 +0000</pubDate>
</item>
<item>
<title>回复于: error an error occurred while listing android targets</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=19&amp;qa_1=error-an-error-occurred-while-listing-android-targets&amp;show=20#a20</link>
<description>&lt;p&gt;
	请参考以下链接就可解决&lt;/p&gt;
&lt;p&gt;
	&lt;a rel=&quot;nofollow&quot; href=&quot;http://blog.sharechiwai.com/2014/07/ionic-an-error-occurred-while-listing-android-targets-add-platform-target-for-building-an-ionic-app/&quot;&gt;http://blog.sharechiwai.com/2014/07/ionic-an-error-occurred-while-listing-android-targets-add-platform-target-for-building-an-ionic-app/&lt;/a&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=19&amp;qa_1=error-an-error-occurred-while-listing-android-targets&amp;show=20#a20</guid>
<pubDate>Thu, 16 Oct 2014 01:47:12 +0000</pubDate>
</item>
<item>
<title>回复于: 安装PhoneGap时报错 executing command 'ant'</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=17&amp;qa_1=%E5%AE%89%E8%A3%85phonegap%E6%97%B6%E6%8A%A5%E9%94%99-executing-command-ant&amp;show=18#a18</link>
<description>&lt;p&gt;
	看看此链接能否帮助你&lt;/p&gt;
&lt;p&gt;
	&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.it165.net/pro/html/201407/16975.html&quot;&gt;http://www.it165.net/pro/html/201407/16975.html&lt;/a&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=17&amp;qa_1=%E5%AE%89%E8%A3%85phonegap%E6%97%B6%E6%8A%A5%E9%94%99-executing-command-ant&amp;show=18#a18</guid>
<pubDate>Wed, 15 Oct 2014 08:31:45 +0000</pubDate>
</item>
<item>
<title>回复于: 显示 npm不是内部命令</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=15&amp;qa_1=%E6%98%BE%E7%A4%BA-npm%E4%B8%8D%E6%98%AF%E5%86%85%E9%83%A8%E5%91%BD%E4%BB%A4&amp;show=16#a16</link>
<description>&lt;p&gt;
	首先你要安装node.js&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&lt;a href=&quot;http://nodejs.org/download/&quot; rel=&quot;nofollow&quot;&gt;http://nodejs.org/download/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
	如果安装完成后还显示“ npm不是内部命令” 那就说明node.js和npm没有被加入到环境变量。（按说安装时自动添加到环境变量）&lt;/p&gt;
&lt;p&gt;
	你可重新安装node.js或者修复试试。&lt;/p&gt;
&lt;p&gt;
	还不行的话，打开环境变量看一看 ：系统属性-环境变量-系统变量-path&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	加入 C:\Program Files\nodejs\ 路径加到里面去&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=15&amp;qa_1=%E6%98%BE%E7%A4%BA-npm%E4%B8%8D%E6%98%AF%E5%86%85%E9%83%A8%E5%91%BD%E4%BB%A4&amp;show=16#a16</guid>
<pubDate>Wed, 15 Oct 2014 07:15:01 +0000</pubDate>
</item>
<item>
<title>回复于: windows下安装php，Non Thread Safe和Thread Safe版本有什么区别，我应该下载哪个？</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=7&amp;qa_1=windows%E4%B8%8B%E5%AE%89%E8%A3%85php%EF%BC%8Cnon-thread-safe%E5%92%8Cthread-safe%E7%89%88%E6%9C%AC%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB%EF%BC%8C%E6%88%91%E5%BA%94%E8%AF%A5%E4%B8%8B%E8%BD%BD%E5%93%AA%E4%B8%AA%EF%BC%9F&amp;show=8#a8</link>
<description>&lt;p&gt;
	选哪个版本主要看你iis的安装和配置，其实打开的&lt;a href=&quot;http://windows.php.net/download/&quot; rel=&quot;nofollow&quot; style=&quot;text-decoration: none; color: rgb(1, 121, 181); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;http://windows.php.net/download/&lt;/a&gt;左边已经介绍了。&lt;/p&gt;
&lt;p&gt;
	你应该选择哪个版本？&lt;/p&gt;
&lt;p&gt;
	Non Thread Safe &amp;nbsp;的意思是非线程安全 &amp;nbsp;Thread Safe 为线程安全&lt;/p&gt;
&lt;p&gt;
	iis&lt;/p&gt;
&lt;p&gt;
	如果您使用iis FastCGI你应该使用&amp;nbsp;Non Thread Safe。&lt;/p&gt;
&lt;p&gt;
	apache&lt;/p&gt;
&lt;p&gt;
	如果你使用Apache就必须使用&lt;span style=&quot;font-family: arial; font-size: 13px; text-align: justify;&quot;&gt;Thread Safe。&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=7&amp;qa_1=windows%E4%B8%8B%E5%AE%89%E8%A3%85php%EF%BC%8Cnon-thread-safe%E5%92%8Cthread-safe%E7%89%88%E6%9C%AC%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB%EF%BC%8C%E6%88%91%E5%BA%94%E8%AF%A5%E4%B8%8B%E8%BD%BD%E5%93%AA%E4%B8%AA%EF%BC%9F&amp;show=8#a8</guid>
<pubDate>Wed, 15 Oct 2014 02:36:39 +0000</pubDate>
</item>
<item>
<title>回复于: 在Microsoft Security Essentials中如何设置简体中文？</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=4&amp;qa_1=%E5%9C%A8microsoft-security-essentials%E4%B8%AD%E5%A6%82%E4%BD%95%E8%AE%BE%E7%BD%AE%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%EF%BC%9F&amp;show=5#a5</link>
<description>我刚找了找也没找到&lt;br /&gt;
&lt;br /&gt;
我是卸载重装的&lt;br /&gt;
&lt;br /&gt;
先卸载英文版Microsoft Security Essentials&lt;br /&gt;
&lt;br /&gt;
在重新下载&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://windows.microsoft.com/en-US/windows/security-essentials-all-versions&quot; rel=&quot;nofollow&quot;&gt;http://windows.microsoft.com/en-US/windows/security-essentials-all-versions&lt;/a&gt; 中文简体</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=4&amp;qa_1=%E5%9C%A8microsoft-security-essentials%E4%B8%AD%E5%A6%82%E4%BD%95%E8%AE%BE%E7%BD%AE%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%EF%BC%9F&amp;show=5#a5</guid>
<pubDate>Mon, 06 Oct 2014 08:42:23 +0000</pubDate>
</item>
<item>
<title>回复于: 我使用wordpress加载很慢，fonts.googleapis.com加载失败</title>
<link>http://www.newlifeclan.com/qa/index.php?qa=1&amp;qa_1=%E6%88%91%E4%BD%BF%E7%94%A8wordpress%E5%8A%A0%E8%BD%BD%E5%BE%88%E6%85%A2%EF%BC%8Cfonts-googleapis-com%E5%8A%A0%E8%BD%BD%E5%A4%B1%E8%B4%A5&amp;show=2#a2</link>
<description>这个问题正如你想到的 google不能访问后，那么google字体也就不能访问了&lt;br /&gt;
&lt;br /&gt;
可以找到替代的链接 中国服务器的地址： fonts.useso.com &lt;br /&gt;
&lt;br /&gt;
1. 你可以在文件 （我的是wordpress4.0）&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;wp-includes/script-loader.php找到fonts.googleapis.com 在 &amp;nbsp;604行&lt;br /&gt;
&lt;br /&gt;
2. 其余的还有模板文件会包含 fonts.googleapis.com 你找到他们替换成 fonts.useso.com &amp;nbsp;即可</description>
<guid isPermaLink="true">http://www.newlifeclan.com/qa/index.php?qa=1&amp;qa_1=%E6%88%91%E4%BD%BF%E7%94%A8wordpress%E5%8A%A0%E8%BD%BD%E5%BE%88%E6%85%A2%EF%BC%8Cfonts-googleapis-com%E5%8A%A0%E8%BD%BD%E5%A4%B1%E8%B4%A5&amp;show=2#a2</guid>
<pubDate>Mon, 06 Oct 2014 07:14:44 +0000</pubDate>
</item>
</channel>
</rss>