 |
 |
 |
 |
 |
| Author |
Message |
Mania

Joined: 03 Feb 2007 Posts: 106
|
|
url bug in show_users.php |
|
hi,
if anyone use this script, with some stastic and URL. have this bug:
for example this your news.php include code with html:
 |  |
<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 |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
nolikewise
Joined: 17 Dec 2007 Posts: 64
|
|
|
| Fri Jul 11, 2008 12:38 pm |
|
 |
|
|
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
|
|
 |
 |
 |
|