2010-08-23 74 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小时后停止出现。