<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>记录与PHP的PK经历 &#187; 错误</title>
	<atom:link href="http://www.pkphp.com/tag/%e9%94%99%e8%af%af/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pkphp.com</link>
	<description>PK with php!</description>
	<lastBuildDate>Fri, 27 May 2011 02:07:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>svn错误：Authentication realm 解决办法</title>
		<link>http://www.pkphp.com/2008/10/06/svn-authentication-realm/</link>
		<comments>http://www.pkphp.com/2008/10/06/svn-authentication-realm/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 14:12:51 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[百宝箱]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[realm]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[错误]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=734</guid>
		<description><![CDATA[今天把主svn服务器域名进行了更换，跟换的过程中遇到了这样的问题：当对一个已经现在的副本重定向（relocat...<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F10%2F06%2Fsvn-authentication-realm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下svn命令大全</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2010%2F01%2F25%2Fsvn-report-svn-vcc-default%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F10%2F06%2Fsvn-authentication-realm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">svn: REPORT 请求“/!svn/vcc/default”失败 解决办法</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F04%2F23%2Fwordpress%25E5%25BD%2593%25E5%2589%258D%25E6%259C%2580%25E6%2596%25B0%25E7%2589%2588%25E6%259C%25ACsvn%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F10%2F06%2Fsvn-authentication-realm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">wordpress当前最新版本SVN服务器</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F08%2F27%2Fzend-framework-exception%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F10%2F06%2Fsvn-authentication-realm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">zend framework错误或者异常信息捕捉</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今天把主svn服务器域名进行了更换，跟换的过程中遇到了这样的问题：当对一个已经现在的副本重定向（relocation）到新域名时，svn不断的提示输入密码，即使密码正确也无法实现重新定向（relocation），错误提示如下：</p>
<div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;">
<div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;">Authentication realm: &lt;http://www.domain.com:80&gt; myproject</pre>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;">username:</pre>
</div>
</div>
<p>于是不断按照提示输入用户名和密码，但是正确的用户名和密码也没有办法登录，最终提示权限认证错误而终止。郁闷极了，因为同样的命令在dreamhost主机是没有问题的，为什么到了自己的服务器就不行了呢。我在linux下命令行对已经下载的副本进行svn重定向操作的命令如下：</p>
<div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;">
<div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;">svn switch http://www.domain1.com/myproject --relocate http://www.domain2.com/myproject</pre>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;">这条命令在dreamhost执行是没有问题的</pre>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;"></pre>
</div>
</div>
<p>在另外的linux redhat服务器执行后没有结果，于是翻svn手册查到了需要这样执行：</p>
<div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;">
<div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;">svn switch --relocate http://www.domain1.com/myproject http://www.domain2.com/myproject</pre>
</div>
</div>
<p>一样是提示重复提示输入用户名和密码的错误：Authentication realm</p>
<p>继续查手册，发现svn switch命令可以直接带&#8211;username和&#8211;password，于是对上面的命令加入了用户名和密码后，svn重定向成功！完整的代码如下：</p>
<div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;">
<div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;">svn switch --relocate http://www.domain1.com/myproject http://www.domain2.com/myproject --username usera --password pswordabc</pre>
</div>
</div>
<p>ok！一切搞定，我google一下好像有人也遇到了同样的问题，但是他们的解决办法是修改svn的密码文件，感觉比较复杂，所以写出来供有用的朋友拿！<br />
<h3 class="bsuite_related">Related items</h3>
<ul class="bsuite_related">
<li><a href='http://www.pkphp.com/2011/04/07/centos-iftop/'>centOS带宽实时流量查看工具</a></li>
<li><a href='http://www.pkphp.com/2008/08/30/linux%e4%b8%8b%e7%9a%84%e8%84%9a%e6%9c%ac%e6%96%87%e4%bb%b6%e8%a6%81%e6%b3%a8%e6%84%8f%e6%8d%a2%e8%a1%8c%e7%ac%a6%e4%b8%8ewindows%e4%b8%8d%e5%90%8c%ef%bc%81/'>linux下的脚本文件要注意换行符与Windows不同！</a></li>
<li><a href='http://www.pkphp.com/2008/08/30/520zuixin-com-linux-secure-iptables/'>如何防止服务器被暴力破解密码？</a></li>
<li><a href='http://www.pkphp.com/2008/08/05/linux-0777-write-disabled/'>linux下为什么0777的文件夹和文件apache无法写入呢？</a></li>
<li><a href='http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/'>linux下svn命令大全</a></li>
</ul>
<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="svn Authentication realm" style="font-size: 13px;">svn Authentication realm</a>(3)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="svn authentication" style="font-size: 13px;">svn authentication</a>(2)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="Authentication realm: &lt;svn://" style="font-size: 13px;">Authentication realm: &lt;svn://</a>(1)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="svn Authentication realm:" style="font-size: 13px;">svn Authentication realm:</a>(1)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="SVN HTTP Authentication" style="font-size: 13px;">SVN HTTP Authentication</a>(1)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="svn 更换域名" style="font-size: 13px;">svn 更换域名</a>(1)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="svn realm" style="font-size: 13px;">svn realm</a>(11)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="Authentication realm SVN" style="font-size: 13px;">Authentication realm SVN</a>(7)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="realm svn" style="font-size: 13px;">realm svn</a>(2)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="Authentication realm" style="font-size: 13px;">Authentication realm</a>(4)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="Authentiation realm svn" style="font-size: 13px;">Authentiation realm svn</a>(1)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="Authentication realm: &lt;http:" style="font-size: 13px;">Authentication realm: &lt;http:</a>(1)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="svn realm windows" style="font-size: 13px;">svn realm windows</a>(1)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="Authentication realm:" style="font-size: 13px;">Authentication realm:</a>(8)<a href="http://www.pkphp.com/2008/10/06/svn-authentication-realm/" title="svn重定向" style="font-size: 13px;">svn重定向</a>(1)<br /><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F10%2F06%2Fsvn-authentication-realm%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下svn命令大全</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2010%2F01%2F25%2Fsvn-report-svn-vcc-default%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F10%2F06%2Fsvn-authentication-realm%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">svn: REPORT 请求“/!svn/vcc/default”失败 解决办法</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F04%2F23%2Fwordpress%25E5%25BD%2593%25E5%2589%258D%25E6%259C%2580%25E6%2596%25B0%25E7%2589%2588%25E6%259C%25ACsvn%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F10%2F06%2Fsvn-authentication-realm%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">wordpress当前最新版本SVN服务器</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F08%2F27%2Fzend-framework-exception%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F10%2F06%2Fsvn-authentication-realm%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">zend framework错误或者异常信息捕捉</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件" rel="nofollow">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><p><div id="relatedlinks_container_div"></div>
<script language=javascript defer>
  var escFun = window.encodeURIComponent ? window.encodeURIComponent : escape;
  var relatedlinks_js = document.createElement("script");
  relatedlinks_js.setAttribute("charset", "utf-8");
  relatedlinks_js.src = "http://relatedlinks.googlelabs.com/client/client.js?url=" +
      escFun(document.URL) + "&referrer=" + escFun(document.referrer) +
      "&relatedlinks_id=10098_5845376649736343543&title=" + escFun(document.title);
  document.getElementsByTagName("head")[0].appendChild(relatedlinks_js);
</script></p> ]]></content:encoded>
			<wfw:commentRss>http://www.pkphp.com/2008/10/06/svn-authentication-realm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zend framework错误或者异常信息捕捉</title>
		<link>http://www.pkphp.com/2008/08/27/zend-framework-exception/</link>
		<comments>http://www.pkphp.com/2008/08/27/zend-framework-exception/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 14:48:32 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[zend framework]]></category>
		<category><![CDATA[zendframework]]></category>
		<category><![CDATA[异常]]></category>
		<category><![CDATA[框架]]></category>
		<category><![CDATA[错误]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=537</guid>
		<description><![CDATA[今天在做一个项目是使用到了ZendFramework的错误或者异常信息控制机制，可以使用以下方法一次类推的处理所有zend framework框架中的任何异常。 try { /** 这里调用了Zend_Feed类. **/ $channel = Zend_Feed::import($r['parentURL']); } catch (Zend_Feed_Exception $e) { /** 当捕捉到Zend_Feed_Exception错误后在这里处理异常信息. **/ echo $e; } catch( Zend_Exception $f) { /** 如果没有捕捉到 Zend_Feed_Exception 或者 child异常信息，在这里处理. **/ echo $f; } Related items [转]详细介绍php Zend Framework中的render使用方法 svn错误：Authentication realm 解决办法 今日到南京上网，发现偶尔打开的网页出现如下代码 jQuery AJAX in Zend Framework Zend Framework V1.5 中的新特性 zend 异常(2)Zend Framework [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F04%2Fjquery-ajax-in-zend-framework%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F08%2F27%2Fzend-framework-exception%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">jQuery AJAX in Zend Framework</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F24%2Fzend-framework-v15-%25E4%25B8%25AD%25E7%259A%2584%25E6%2596%25B0%25E7%2589%25B9%25E6%2580%25A7%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F08%2F27%2Fzend-framework-exception%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Zend Framework V1.5 中的新特性</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2010%2F01%2F09%2Fzend-framework-render-intro%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F08%2F27%2Fzend-framework-exception%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">[转]详细介绍php Zend Framework中的render使用方法</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F03%2F24%2Fzend-framework-mvc%25E6%25B5%2581%25E7%25A8%258B%25E5%259B%25BE%25E8%25BD%25AC%25E5%25B8%2596%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F08%2F27%2Fzend-framework-exception%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Zend Framework MVC流程图[转帖]</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今天在做一个项目是使用到了ZendFramework的错误或者异常信息控制机制，可以使用以下方法一次类推的处理所有zend framework框架中的任何异常。<br />
<code><br />
try {<br />
   /** 这里调用了Zend_Feed类. **/<br />
   $channel = Zend_Feed::import($r['parentURL']);<br />
}<br />
catch (Zend_Feed_Exception $e)<br />
{<br />
     /** 当捕捉到Zend_Feed_Exception错误后在这里处理异常信息. **/<br />
    echo $e;<br />
}<br />
catch( Zend_Exception $f)<br />
{<br />
   /** 如果没有捕捉到 Zend_Feed_Exception 或者 child异常信息，在这里处理. **/<br />
  echo $f;<br />
}<br />
</code><br />
<h3 class="bsuite_related">Related items</h3>
<ul class="bsuite_related">
<li><a href='http://www.pkphp.com/2010/01/09/zend-framework-render-intro/'>[转]详细介绍php Zend Framework中的render使用方法</a></li>
<li><a href='http://www.pkphp.com/2008/10/06/svn-authentication-realm/'>svn错误：Authentication realm 解决办法</a></li>
<li><a href='http://www.pkphp.com/2008/09/10/%e4%bb%8a%e6%97%a5%e5%88%b0%e5%8d%97%e4%ba%ac%e4%b8%8a%e7%bd%91%ef%bc%8c%e5%8f%91%e7%8e%b0ff%e5%81%b6%e5%b0%94%e6%89%93%e5%bc%80%e7%9a%84%e7%bd%91%e9%a1%b5%e5%87%ba%e7%8e%b0%e5%a6%82%e4%b8%8b%e4%bb%a3/'>今日到南京上网，发现偶尔打开的网页出现如下代码</a></li>
<li><a href='http://www.pkphp.com/2008/07/04/jquery-ajax-in-zend-framework/'>jQuery AJAX in Zend Framework</a></li>
<li><a href='http://www.pkphp.com/2008/06/24/zend-framework-v15-%e4%b8%ad%e7%9a%84%e6%96%b0%e7%89%b9%e6%80%a7/'>Zend Framework V1.5 中的新特性</a></li>
</ul>
<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="zend 异常" style="font-size: 13px;">zend 异常</a>(2)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="Zend Framework 处理所有异常" style="font-size: 13px;">Zend Framework 处理所有异常</a>(1)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="Zendframework 错误处理" style="font-size: 13px;">Zendframework 错误处理</a>(2)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="zend framework 错误信息" style="font-size: 13px;">zend framework 错误信息</a>(1)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="捕捉php信息" style="font-size: 13px;">捕捉php信息</a>(1)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="zend framework 错误处理" style="font-size: 13px;">zend framework 错误处理</a>(4)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="zend framework 调用错误处理" style="font-size: 13px;">zend framework 调用错误处理</a>(1)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="zend framework错误控制" style="font-size: 13px;">zend framework错误控制</a>(1)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="zend framework 错误" style="font-size: 13px;">zend framework 错误</a>(3)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="捕捉php错误" style="font-size: 13px;">捕捉php错误</a>(1)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="Zend Framework 异常" style="font-size: 13px;">Zend Framework 异常</a>(4)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="zend framework 处理异常" style="font-size: 13px;">zend framework 处理异常</a>(1)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="php 异常信息" style="font-size: 13px;">php 异常信息</a>(1)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="如何启用zend framework的异常插件" style="font-size: 13px;">如何启用zend framework的异常插件</a>(1)<a href="http://www.pkphp.com/2008/08/27/zend-framework-exception/" title="zend framework异常" style="font-size: 13px;">zend framework异常</a>(2)<br /><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F04%2Fjquery-ajax-in-zend-framework%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F08%2F27%2Fzend-framework-exception%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">jQuery AJAX in Zend Framework</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F24%2Fzend-framework-v15-%25E4%25B8%25AD%25E7%259A%2584%25E6%2596%25B0%25E7%2589%25B9%25E6%2580%25A7%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F08%2F27%2Fzend-framework-exception%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Zend Framework V1.5 中的新特性</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2010%2F01%2F09%2Fzend-framework-render-intro%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F08%2F27%2Fzend-framework-exception%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">[转]详细介绍php Zend Framework中的render使用方法</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F03%2F24%2Fzend-framework-mvc%25E6%25B5%2581%25E7%25A8%258B%25E5%259B%25BE%25E8%25BD%25AC%25E5%25B8%2596%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F08%2F27%2Fzend-framework-exception%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Zend Framework MVC流程图[转帖]</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件" rel="nofollow">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.pkphp.com/2008/08/27/zend-framework-exception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

