Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
url bug in show_users.php

 
Reply to topic    Forum Index » Bugs and errors View previous topic
View next topic
url bug in show_users.php
Author Message
Mania



Joined: 03 Feb 2007
Posts: 106

Post url bug in show_users.php Reply with quote
hi,
if anyone use this script, with some stastic and URL. have this bug:
for example this your news.php include code with html:
Code:

<div class="left">

               <?php
               $static['template'] = 'Headlines';
               $static['number'] = 5;
                    $static['category'] = 2;
                    include $cutepath.'/show_news.php';
               ?>

</div>

<div class="content">

            <?php
if ($do == 'search'){
   include $cutepath.'/search.php';
} elseif ($do == 'users'){
   include $cutepath.'/show_users.php';
} elseif ($do == 'category' and !$category){
   echo cn_category();
} elseif ($do == 'archives'){
   echo cn_archives();
} else {
                $number = 7;
                $template= 'Default';
                $category = '1,2,3,4،5،6,7';
               include $cutepath.'/show_news.php';
}
?>

</div>


<div class="right">

               <?php
               $static['template'] = 'Headlines';
               $static['number'] = 5;
                    $static['category'] =17;
                    include $cutepath.'/show_news.php';
               ?>
</div>

so this http://domain.com/news.php/users show the users list , but if you click of the alone user name diplay nothing, the link change to http://domain.com/index.php?user=test&do=users (for user test)
but if you remove the include code in DIV class left over the DIV class content or move it under DIV class content worked the link to show user post and profile fine 100%.
i test it of more than one server, on localhost...etc

if anyone have solution for that, or that is php configuration error in server...?!

best regards
Sun Jun 22, 2008 7:11 pm View user's profile Send private message
Guest








Please login to hide the ads.

nolikewise



Joined: 17 Dec 2007
Posts: 64

Post Reply with quote
I have the same problem and i talked about it in here... http://forums.cutenewsru.com/showing-category-headlines-t2268.html

I need urgent help and i think this is a big bug. Maybe admin can handle it if he creates a new plug in or change some codes.
Fri Jul 11, 2008 12:38 pm View user's profile Send private message
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.