 |
 |
 |
 |
 |
| Author |
Message |
hetes

Joined: 17 Apr 2007 Posts: 36 Location: Hungary |
|
Pagination error(blank pages) |
|
I have updated my cutenews v1.4.1 to cutenews.ru v2.5.4.
When i include my storiz and click on the latest page, it shows a blank page(just shows my original page without the storiz)
I use this code:
 |  | <?php
$number = "20";
$category = "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,33";
include("cutepath/show_news.php");
?> |
thx
|
|
| Wed Apr 18, 2007 4:48 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2683 Location: Germany |
|
|
| Wed Apr 18, 2007 7:27 pm |
|
 |
hetes

Joined: 17 Apr 2007 Posts: 36 Location: Hungary |
|
|
|
I tried it again(by the readme), but it is still wrong...
My example page is also wrong, it has the same problem...

|
|
| Thu Apr 19, 2007 4:34 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2683 Location: Germany |
|
|
|
What's your include code now?
|
|
| Mon Apr 23, 2007 2:13 pm |
|
 |
hetes

Joined: 17 Apr 2007 Posts: 36 Location: Hungary |
|
|
|
 |  |
<?php include("head.php"); ?>
....
<?php
if ($do == 'search'){
include $cutepath.'/search.php';
}
else {
$number = "20";
$category = '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,33';
$template = 'temp';
include $cutepath.'/show_news.php';
}
if ($id and $ucat){
echo("<div class=\"message\"><h3>my text here</h3><ul type=\"square\">");
$static['template'] = 'ajanlo';
$static['number'] = 7;
$static['category'] = $ucat;
include $cutepath.'/show_news.php';
echo("</ul></div>");
}
?> |
More info:
I have 1497 articles and 32 categories. I want to show 20 articles/page from 31 categories(like in the code). There are 71 pages, so the number of pages are good. On the latests pages(67, 68, ... ,71) there arent storiz, so it shows just about 1200..
|
|
| Fri Apr 27, 2007 2:21 pm |
|
 |
hetes

Joined: 17 Apr 2007 Posts: 36 Location: Hungary |
|
|
|
I noticed that pages till ?skip=980 are good (--> mypage.php?skip=20, mypage.php?skip=40, ..., mypage.php?skip=980), but mypage.php?skip=1000 and after(mypage.php?skip=1020, ..., mypage.php?skip=1440) are wrong... On this pages it shows just a prev link: "<"
|
|
| Sun May 06, 2007 6:34 pm |
|
 |
pollawat88
Joined: 29 Mar 2007 Posts: 11
|
|
|
| Sat May 24, 2008 1:25 pm |
|
 |
pollawat88
Joined: 29 Mar 2007 Posts: 11
|
|
|
|
scottdallas
do u know how to fix this problem ?
|
|
| Mon Jun 02, 2008 9:45 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1808 Location: US |
|
|
|
No, I hadn't noticed this problem before.. I have no idea 
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Wed Jun 04, 2008 5:10 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|