Topic: Pagination problem

I have integrated cutenews in my homepage at two different pages for easy updating (using different categories).

My page is citgho.se and my newsfeed is on the index page and Projekt-page.
Problem is that the next page "button" (Nästa) is directing me to the loginpage for administrating cutenews, cant figure out why  http://cutephp.com/forum/style_emoticons/default/sad.gif

2 (edited by 2013-03-22 08:19:52)

Re: Pagination problem

Try to paste $PHP_SELF = '/index.php'; before  include show_news.php

Best regards,
CN Support team

Re: Pagination problem

Tried that now and gets

Not Found

The requested URL /newsindex.php was not found on this server.


Looks like this now in my index.php

<?php
$number="3";
$template="citgho";
$category="1";
$static=TRUE;
$PHP_SELF = 'index.php';
include("news/show_news.php");
?>

Re: Pagination problem

Then, try $PHP_SELF = '/index.php';

Best regards,
CN Support team

Re: Pagination problem

Doesnt work either, still getting directed to cute admin page

6 (edited by 2013-03-22 08:33:20)

Re: Pagination problem

Got it working now.
When i added $PHP_SELF = '/index.php'; it didnt work

Then just in chance i tried $PHP_SELF = '../index.php'; and got a 404-error that it wanted /news../index.php

Then it hit me, went to the controlpanel and general settings:

Full URL to CuteNews directory
example: http://yoursite.com/cutenews

i thaught it wanted my "News"-folder (http://citgho.se/news

byt changed to just http://citgho.se

WORKS!

Re: Pagination problem

Yes.
The full URL to your Cutenews should be
http://citgho.se/news

Re: Pagination problem

Should yes, but doesn't work  http://cutephp.com/forum/style_emoticons/default/wacko.gif

But as i said, just http://citgho.se works like a charm, so for me its problem solved and im happy  http://cutephp.com/forum/style_emoticons/default/clapping.gif

Re: Pagination problem

Wow. cool post. I’d like to write like this too – taking time and real hard work to make a great article… but I put things off too much and never seem to get started. Thanks though.I'm common rail .