Topic: Pagination arrows not showing

On my website (http://thalley.com/index.php) I have set CuteNews to show only 10 news at a time, but after upgrading to 2.0, the pagination arrows (next/prev) disappeared, and my visitors are no longer able to see more than the latest 10 news. Why are they not showing and how can I get them to show?

Re: Pagination arrows not showing

Dear thalley,

Try reindexing the news with the help of the migration_update_indexes.php utility. Please be advised: if the number of news items exceeds 200-300, the utility should be run via a PHP console on the server or you should increase the execution time for this script.

Best regards,
CN Support team

Re: Pagination arrows not showing

Dear thalley,

Try reindexing the news with the help of the migration_update_indexes.php utility. Please be advised: if the number of news items exceeds 200-300, the utility should be run via a PHP console on the server or you should increase the execution time for this script.

Do you mean the Migration in Dashboard > Maintenance? I did that already when I upgraded to CuteNews 2.0.

Re: Pagination arrows not showing

Do you mean the Migration in Dashboard > Maintenance? I did that already when I upgraded to CuteNews 2.0.

No, you need to run the script in the CuteNews root directory  - it is a separate utility which can be run the following way: http://thalley.com/migration_update_indexes.php .

Best regards,
CN Support team

Re: Pagination arrows not showing

No, you need to run the script in the CuteNews root directory  - it is a separate utility which can be run the following way: http://thalley.com/migration_update_indexes.php .

Ah, thanks, that helped, now the arrows are back. They don't seem to work however. They link to http://thalley.com/list-10.html, http://thalley.com/list-20.html, etc., but nothing on the site changes when pressed. Any idea what's wrong?

Re: Pagination arrows not showing

Ah, thanks, that helped, now the arrows are back. They don't seem to work however. They link to http://thalley.com/list-10.html, http://thalley.com/list-20.html, etc., but nothing on the site changes when pressed. Any idea what's wrong?

Dear thalley,

Please check whether mod_rewrite or any other server responsible for Rewrite URL is working on your web-service. The .htaccess file which automatically generates CuteNews after enabling Rewrite doesn't work, that is why the links in pagination do not work.

Best regards,
CN Support team

Re: Pagination arrows not showing

In example.php pagination is showed but doesn't work.
In my own page with the include function the pagination is not showing.

I've searched mod_rewrite on my host but I can't find anything...

I've runned the migration page indexes but nothing happened....

In my include I've asked to show 13 news. In Count active news, by default I've put 0.

Re: Pagination arrows not showing

I've searched mod_rewrite on my host but I can't find anything...

It seems like you haven't searched well enough, since mod_rewrite is a module of the Apache web server and you can check whether it is on in Server configurations. If you have another server, you need to search for the appropriate module with similar functionality.

Best regards,
CN Support team

Re: Pagination arrows not showing

It seems like you haven't searched well enough, since mod_rewrite is a module of the Apache web server and you can check whether it is on in Server configurations. If you have another server, you need to search for the appropriate module with similar functionality.

I've been in contact with the support team at my hosting provider (ipage.com) and they assure me that mod_rewrite is enabled and that the problem is most likely with CuteNews. Any idea what to do?

Re: Pagination arrows not showing

I've been in contact with the support team at my hosting provider (ipage.com) and they assure me that mod_rewrite is enabled and that the problem is most likely with CuteNews. Any idea what to do?

Does pagination work when CuteNews Rewrite is disabled? What does you .htaccess file content?

Best regards,
CN Support team

Re: Pagination arrows not showing

Does pagination work when CuteNews Rewrite is disabled? What does you .htaccess file content?

How would I go about disabling CuteNews Rewrite to test that?

The content of my .htaccess file is:

# --- CUTENEWS[ST]
RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /CuteNews/show_news.php?cn_rewrite_url=$1 [L]
# --- CUTENEWS[ED]

After I ran the migration_update_indexes.php script, all URL rewrites stopped working, including links to full stories.

Re: Pagination arrows not showing

How would I go about disabling CuteNews Rewrite to test that?

You need to go to Dashboard > System configurations > Rewrite, uncheck Use rewrite engine, save the results and check whether the pagination works now.

Best regards,
CN Support team

Re: Pagination arrows not showing

You need to go to Dashboard > System configurations > Rewrite, uncheck Use rewrite engine, save the results and check whether the pagination works now.

Pagination does still not work with rewrite unchecked.

Re: Pagination arrows not showing

Dear support team, I'd love to get another response from you since it has now been over a week since you've responded to this issue.

Re: Pagination arrows not showing

Pagination does still not work with rewrite unchecked.

Dear thalley,

We've fixed the pagination bug in the new version of Cutenews. Please update it.

Best regards,
CN Support team

16 (edited by 2014-08-23 15:18:40)

Re: Pagination arrows not showing

Dear thalley,

We've fixed the pagination bug in the new version of Cutenews. Please update it.

Sounds great, how do I update CuteNews?

EDIT: I downloaded and followed steps 6-10 from http://cutephp.com/forum/index.php?showtopic=44104 (altho' GitHub doesn't seem to have a 2.02 release, so I downloaded it from http://cutephp.com/ instead), and did the migration. The problem still exist.

Re: Pagination arrows not showing

Sounds great, how do I update CuteNews?

EDIT: I downloaded and followed steps 6-10 from http://cutephp.com/forum/index.php?showtopic=44104 (altho' GitHub doesn't seem to have a 2.02 release, so I downloaded it from http://cutephp.com/ instead), and did the migration. The problem still exist.

You need to run the migration_update_indexes.php script that is located in the root directory of CuteNews. This script converts indexes. If you have a lot of news items, it is better to run this script from the console on the server.

Best regards,
CN Support team

Re: Pagination arrows not showing

You need to run the migration_update_indexes.php script that is located in the root directory of CuteNews. This script converts indexes. If you have a lot of news items, it is better to run this script from the console on the server.

I did run the script located in http://thalley.com/CuteNews/, but the index still doesn't work.

Re: Pagination arrows not showing

I did run the script located in http://thalley.com/CuteNews/, but the index still doesn't work.

Please show us the code including the show_news.php script and the parameters it receives.

Best regards,
CN Support team

Re: Pagination arrows not showing

Please show us the code including the show_news.php script and the parameters it receives.

I've found the issue of the problem. Apparently $static was set to true, which was something I had to set when I was trying to fix the pagination earlier. Removing "$static = TRUE;", everything seems to work now. Thanks for the help.

21 (edited by 2014-08-26 10:53:58)

Re: Pagination arrows not showing

Pagination doesnt't work in my CN 2.0.2. There is no arrows, nothing, neither in my webpage news nor in example.php.

I see that that issue is solved in my version and that gives me hope, I can solve this with your help, may be.

News Pagination is not disabled in S.configurations settings.  http://cutephp.com/forum/style_emoticons/default/smile.gif
I will do and check everything what support team in this topic recommends.

Should I at first check or uncheck Use rewrite engine in S. configurations? What does that depend on? On numbers of my news? Default is unchecked and nothing happens...I've checked it and still nothing happens...

(Few days ago I've migrated from 1.4.6 to 2.0.2 but I think, this is not importand in this case)

22 (edited by 2014-08-26 11:41:50)

Re: Pagination arrows not showing

In the meantime I've serched via phpinfo() file for mod_rewrite, it can't be found (per search ctrl +F), insead of that I've found this:


                                                     
Directive                                                                                                              
url_rewriter.tags     

  Local Value   
a=href,area=href,frame=src,input=src,form=fakeentry          

Master Value
a=href,area=href,frame=src,input=src,form=fakeentry


Fakeentry? Does this all means, I should at first conntact my hosting provider?

23 (edited by 2014-08-29 02:48:53)

Re: Pagination arrows not showing

I have one extremely strange situation with my pagination. I've discovered that quite accidentally.
I put simple include php code with "$category=18;" (where I hadn't any news), just for prepare,  and without "$number" into my page.
The pagination apears in linked  form <-Previous 1 2 3 4 5 Next->
As soon as I put the first news, pagination disapeard.
Can that help me to get pagination where I really need it?

EDIT: I didn't do anything and pagination is now on my pages and it works perfectly. I would like to help someone with advice, but how? Just wait and everything will be OK? http://cutephp.com/forum/style_emoticons/default/biggrin.gif

24 (edited by 2014-08-29 10:53:38)

Re: Pagination arrows not showing

The pagination keeps not working for me but it does in the example.php page in cutenews directory.

This is the code I have:

<?php
   
    $template = "Maggio_2014-news";
    $number = 13;
    $category = "2,3,4,5,6,7,8,9,10";
    include("/web/htdocs/www.**********.it/home/cutenews/show_news.php");
?>

I have set 0 in "Count active news, by default" in News (System Configuration) and "Disable pagination" is unchecked.

I've also run gration_update_indexes.php after the update but it keeps not working!!

I did backup unistalled and reinstalled the 2.0.2 directly but it keeps not showing the pagination row.

UPDATE: after I did different tries...I found out that the problem is $category. What the hell!! How should I fix this?! ALSO PAGE ALIAS IS NOT WORKING. IT SHOWS ID INSTEAD OF PAGE ALIAS FOR THE OLD ARTICLES!!!
Users tried to log in but they couldn't 'cause apparently they were not registered, the user list was empty, but when I tried to register them again it said that it was already registered so I had to delete and register them all again.


I'm getting totally annoyed...and I can't believe that people pay to the uncredited version!!!!

SUCKS SUCKS SUCKS SUCKS!!!!

Re: Pagination arrows not showing

The pagination keeps not working for me but it does in the example.php page in cutenews directory.

This is the code I have:



I have set 0 in "Count active news, by default" in News (System Configuration) and "Disable pagination" is unchecked.

I've also run gration_update_indexes.php after the update but it keeps not working!!

I did backup unistalled and reinstalled the 2.0.2 directly but it keeps not showing the pagination row.

UPDATE: after I did different tries...I found out that the problem is $category. What the hell!! How should I fix this?! ALSO PAGE ALIAS IS NOT WORKING. IT SHOWS ID INSTEAD OF PAGE ALIAS FOR THE OLD ARTICLES!!!
Users tried to log in but they couldn't 'cause apparently they were not registered, the user list was empty, but when I tried to register them again it said that it was already registered so I had to delete and register them all again.


I'm getting totally annoyed...and I can't believe that people pay to the uncredited version!!!!

SUCKS SUCKS SUCKS SUCKS!!!!

Please stop spamming. http://cutephp.com/forum/index.php?showtop...mp;#entry159958

Best regards,
CN Support team

Posts: 25

Pages 1

You must login or register to post a reply

CutePHP Forums → Problem Solving / Help & Support → Pagination arrows not showing



The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.