Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Pagination error(blank pages)

 
Reply to topic    Forum Index » Bugs and errors View previous topic
View next topic
Pagination error(blank pages)
Author Message
hetes



Joined: 17 Apr 2007
Posts: 36
Location: Hungary

Post Pagination error(blank pages) Reply with quote
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:



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");



?>




Rolling Eyes



thx
Wed Apr 18, 2007 4:48 pm View user's profile Send private message
Guest








Please login to hide the ads.

FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2683
Location: Germany

Post Reply with quote
Your include code seems to be wrong.



Check the readme again:

http://english.cutenews.ru/cuteru/readme.html#include
Wed Apr 18, 2007 7:27 pm View user's profile Send private message
hetes



Joined: 17 Apr 2007
Posts: 36
Location: Hungary

Post Reply with quote
FI-DD wrote:
Your include code seems to be wrong.



Check the readme again:

http://english.cutenews.ru/cuteru/readme.html#include


I tried it again(by the readme), but it is still wrong...

My example page is also wrong, it has the same problem...



Confused
Thu Apr 19, 2007 4:34 pm View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2683
Location: Germany

Post Reply with quote
What's your include code now?
Mon Apr 23, 2007 2:13 pm View user's profile Send private message
hetes



Joined: 17 Apr 2007
Posts: 36
Location: Hungary

Post Reply with quote
Code:


<?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 View user's profile Send private message
hetes



Joined: 17 Apr 2007
Posts: 36
Location: Hungary

Post Reply with quote
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 View user's profile Send private message
pollawat88



Joined: 29 Mar 2007
Posts: 11

Post Reply with quote
hetes wrote:
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: "<"


I had the same problem anyone can help?

*** in my case : the lasted skip was 999 and my script just like original****

you can try from here

http://www.telewizmall.com/board/news/news_home.php?skip=999

http://www.telewizmall.com/board/news/news_home.php?skip=1000
Sat May 24, 2008 1:25 pm View user's profile Send private message
pollawat88



Joined: 29 Mar 2007
Posts: 11

Post Reply with quote
scottdallas

do u know how to fix this problem ?
Mon Jun 02, 2008 9:45 am View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1808
Location: US

Post Reply with quote
No, I hadn't noticed this problem before.. I have no idea Sad

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Wed Jun 04, 2008 5:10 am View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Bugs and errors All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
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



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.