Topic: Include problem with cutenews 1.5.2

Hey there, i've installed cutenews 1.5.2 on my server in a folder mysite.com/cutenews/show_news.php

The page where i want to include the news is mysite.com/test.php

so i've used the following code in cutenews 1.4.7 but it does not work any more in cutenews 1.5.2:

<?php  
        $PHP_SELF = 'index.php';
        $QUERY_STRING = 'action=test';
        include("cutenews/show_news.php");
    ?>

the index.php is my template-site where i've included the following code:

<?
switch($_GET['action']){
case "test": include("test.php"); break;
default: include("test.php"); break;
}
?>

It works fine to show the short-news. But when clicking on "read more" the following url appears:

mysite.com/test.php?subaction=showcomments&id=1359620315&template=Default&test=test

But it should be "&action=test" not "&test=test".. how do i have to change the code above????

Re: Include problem with cutenews 1.5.2

anyone has a solving for 

"&action=test" not "&test=test"

??

Re: Include problem with cutenews 1.5.2

This problem appeared because of a bug. We updated the code that corrected the bug with this commit
https://github.com/CuteNews/cute-news-repo/...c81ce8e5c1befc3

Download the latest version from github  https://github.com/CuteNews/cute-news-repo/...hive/master.zip

Best regards,
CN Support team

Re: Include problem with cutenews 1.5.2

THANKS

Posts: 4

Pages 1

You must login or register to post a reply

CutePHP Forums → Problem Solving / Help & Support → Include problem with cutenews 1.5.2