ウィジェット「clinkpager」を使用しました。 2番目、3番目....ページをクリックするとページに表示されます。私は次のページに移動しません。次も前も、そこでは動作しません。yii1のCLinkPagerでページネーションが機能しない
<?php
$this->widget('CLinkPager', array(
'pages' => $pages,
'currentPage'=>$pages->getCurrentPage(),
'pageSize'=>$page_size,
'itemCount'=>$count,
'header'=>'',
));?>
「次へ」をクリックすると、ブラウザでURLが変更されます。 http://localhost/mate/admin/site/pricelisting/89-Malouf-Zoned-Gel-Dough/page/2
2番目のページには移動しません。代わりに、上記URLの
は、私はそれは私がどんな考えを持っていない
RewriteEngine on
RewriteCond %{HTTP_HOST} ^localhost/mate/admin$ [NC,OR]
RewriteCond %{HTTP_HOST} ^localhost/mate/admin$
RewriteCond %{REQUEST_URI} !wordpress/
RewriteRule (.*) /wordpress/$1 [L]
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
RewriteRule details/(.*)/(.*)/ site/details?id=$1&name=$2
RewriteRule details/(.*)/(.*) site/details?id=$1&name=$2
RewriteRule pricelisting/(.*)-(.*)/ site/pricelisting?id=$1&name=$2?page=$3 [L,QSA]
RewriteRule pricelisting/(.*)-(.*) site/pricelisting?id=$1&name=$2?page=$3 [L,QSA]
#RewriteRule pricelisting/(.*)-(.*)/ site/pricelisting?id=$1&name=$2
#RewriteRule pricelisting/(.*)-(.*) site/pricelisting?id=$1&name=$2
#RewriteRule pricelisting/(.*)-(.*)/page(.*)/ site/pricelisting?page=$3 [L,QSA]
#RewriteRule pricelisting/(.*)-(.*)/page(.*) site/pricelisting?page=$3 [L,QSA]
RewriteRule ^pricelisting/(.*)-(.*)/page(.*)/ site/pricelisting?id=$1&name=$2&page=$3 [L,QSA]
RewriteRule ^pricelisting/(.*)-(.*)/page(.*) site/pricelisting?id=$1&name=$2&page=$3 [L,QSA]
http://localhost/mate/admin/site/pricelisting/89-Malouf-Zoned-Gel-Dough?page=2
.htaccssファイルページに移動し、URLの下に使用している場合。何が間違っているのか教えてください。
: - 私のhtaccssファイルを更新しますが、それでも同じ問題は –
なんて残念です。 Apacheのリライトログを有効にするには、[here](http://stackoverflow.com/questions/9632852/how-to-debug-apache-mod-rewrite)を参照して、ページを開こうとしてください。 –
内部サーバーエラー –