2010-08-23 17 views
0

我想在我使用Kohana的網站中安裝OpenX。它工作得很好,直到我發現了這個錯誤:Kohana和OpenX

Fatal error: Uncaught Kohana_Request_Exception [ 0 ]: Unable to find a route to match the URI: 500.shtml ~ SYSPATH/classes/kohana/request.php [ 635 ] thrown in /home/xxxxxx/public_html/plugb/system/classes/kohana/request.php on line 635

的網址是: http://www.plugb.com/openx/www/admin/plugins/oxMarket/market-campaign-edit.php?clientid=1&campaignid=

我目前的.htaccess是:

# Turn on URL rewriting 
RewriteEngine On 
# Installation directory 
RewriteBase/

# WWW 
RewriteCond %{HTTP_HOST} !^www\.plugb\.com [NC] 
RewriteRule ^(.*)$ http://www.plugb.com/$1 [R=301,L] 

#remove trailing slashes 
RewriteCond %{HTTP_HOST} !^\.plugb\.com$ [NC] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L] 

# Protect hidden files from being viewed 
<Files .*> 
    Order Deny,Allow 
    Deny From All 
</Files> 

# Protect application and system files from being viewed 
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L] 

# Allow any files or directories that exist to be displayed directly 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
# Rewrite all other URLs to index.php/URL 
RewriteRule .* index.php/$0 [PT,L] 

Redirect 301 /gamesindex/

爲什麼會出現這個錯誤?我該如何解決它?

謝謝, 加布裏埃爾。

+0

這個錯誤表明你得到另一個內部服務器錯誤(並且服務器試圖產生500錯誤響應,但該請求被Kohana路由處理程序抓住,因爲'ErrorDocument'實際上不存在)。所以,要完全解決這個問題,您還需要解決內部服務器錯誤。你的服務器的錯誤日誌說什麼? – 2010-08-23 21:21:28

+0

[23-Aug-2010 20:21:40] PHP致命錯誤:Uncaught Kohana_Request_Exception [0]:無法找到匹配URI的路由:500.shtml〜SYSPATH/classes/kohana/request.php [635] 扔在/home/bianconi/public_html/plugb/system/classes/kohana/request.php在線635 [23-Aug-2010 21:05:21] PHP致命錯誤:Uncaught Kohana_Request_Exception [0]:無法找到路線以匹配URI:403.shtml〜SYSPATH/classes/kohana/request.php [635] 在/home/bianconi/public_html/plugb/system/classes/kohana/request.php上拋出635行 和其他與此類似的線條。 – 2010-08-23 21:25:34

+0

Apache的錯誤日誌呢?這似乎是PHP的。 – 2010-08-24 15:21:09

回答

0

此錯誤在24小時後停止出現。