1 (edited by teva 2008-12-05 13:35)

Topic: "View all user's posts" show nothing

When trying to show all posts from a user (from user's profile). I get only page numbers a no posts. If looking at users topics, then it works fine.

Here's sample on my page

I just changed from php 4 to php 5...could this be the problem. I have disabled all extensions and still no change

tnx

Re: "View all user's posts" show nothing

Try to rebuild search index via admin console

3

Re: "View all user's posts" show nothing

Didn't help

4

Re: "View all user's posts" show nothing

I noticed that every search, where display results are shown as posts, doesn't work. If i do the same search to display results as topics, then it works.

Any idea?

Re: "View all user's posts" show nothing

Try to enable the debug mode. Maybe some errors will be shown.

6

Re: "View all user's posts" show nothing

I added define('FORUM_DEBUG', 1); to config.php
Where should i see this errors?

I do have error_log in main dir with this inside
[08-Dec-2008 15:32:47] PHP Notice:  Undefined index:  hotfix in /home/forum/include/cache.php on line 374
[09-Dec-2008 08:00:45] PHP Notice:  Undefined index:  hotfix in /home/forum/include/cache.php on line 374

7

Re: "View all user's posts" show nothing

bump

still got this problem

Re: "View all user's posts" show nothing

This error are not connected with showing of all posts. We fixed it in [978]. What is your level of PHP? Try to see what is search-query return. Add this

print_r($search_set);

to 225 line of search.php.

9 (edited by teva 2008-12-23 08:51)

Re: "View all user's posts" show nothing

Yes...error above was fixed. I use PHP 5.2.6

I added this, but i don't see any difference. Where should i see search query?  I uploaded search.php from 1.3.2 zip file and no difference.

tnx

sample

10

Re: "View all user's posts" show nothing

Ok...found this when showing last topics

Array ( [0] => Array ( [tid] => 1184 [poster] => Marijch [subject] => Klepetalnica [first_post_id] => 17584 [posted] => 1205498614 [last_post] => 1230025566 [last_post_id] => 39192 [last_poster] => Mojca Aleksandra [num_replies] => 7637 [closed] => 0 [sticky] => 0 [forum_id] => 9 [forum_name] => Kar tako [has_posted] => 41 ) [1] => Array ( [tid] => 1846 [poster] => svetloba [subject] => Shizofrenija [first_post_id] => 39097 [posted] => 1229897817 [last_post] => 1230024879 [last_post_id] => 39191 [last_poster] => marjan [num_replies] => 9 [closed] => 0 [sticky] => 0 [forum_id] => 2 [forum_name] => Alternativno zdravljenje in duhovna rast [has_posted] => 0 ) [2] => Array ( [tid] => 1791 [poster] => Mojca Aleksandra [subject] => Matevž!.... :) [first_post_id] => 37157 [posted] => 1228393191 [last_post] => 1230022440 [last_post_id] => 39189 [last_poster] => Mojca Aleksandra [num_replies] => 10 [closed] => 0 [sticky] => 0 [forum_id] => 15 [forum_name] => Administrator [has_posted] => 5 ) ) 

If i view active topics i get even more of this "mumbojumbo".  Can you get any info from this?

11

Re: "View all user's posts" show nothing

This "mumbojumbo" mean that the search set is not empty. Try to add this

error_reporting(E_ALL | E_STRICT);

to 225 line of search.php. Are there some errors?

12

Re: "View all user's posts" show nothing

Ok...so if i don't see this "mumbojumbo" in let say, "View all user's posts", then the search set is empty and that's not good?

After adding code above, i get no errors what so ever.

The funny thing is, that i can see pages and browse them..but every page is empty, no search results. If i select show as topics, then it works fine.

13

Re: "View all user's posts" show nothing

Just bumping this, since i still have this problem. Anybody has some idea about why this would happen.

Searching with showing as posts, just doesn't work.

tnx