Results 1 to 9 of 9

Thread: Bugs ...

  1. #1
    Pligg Donor observer_24_7's Avatar
    Joined
    May 2006
    Posts
    45
    Thanks
    Received:0
    Given: 0

    Arrow Bugs ...

    Found these bugs (possible that its a prob with my setup or config):

    1) Recommend to a friend sends wrong story url. Sends :

    Check this out now !!
    mahaweb.com user god would like to share this story with you:
    http://www.mahaweb.com/world/world/story/11/

    Note that the story url has two worlds.

    2) Clicking on a users link returns a 404.

    http://www.mahaweb.com/world/HotNews...onders--world/
    Click on user link god .. takes u to :

    http://www.mahaweb.com/world/user/view/profile//god

    which returns 404.

  2. #2
    Pligg Donor observer_24_7's Avatar
    Joined
    May 2006
    Posts
    45
    Thanks
    Received:0
    Given: 0
    Just updated code on one other site to the latest ie 676.

    Looks like the Today Yday links on the main page is broken. It was working fine few days back. The code in mollio-beat is:

    // setup the links in smarty
    if(isset($_GET['category'])){
    $main_smarty->assign('index_url_recent', getmyurl('index_sort', 'recent', '&category='.$_GET['category']));
    $main_smarty->assign('index_url_today', getmyurl('index_sort', 'today', '&category='.$_GET['category']));
    $main_smarty->assign('index_url_yesterday', getmyurl('index_sort', 'yesterday', '&category='.$_GET['category'])); $main_smarty->assign('index_url_week', getmyurl('index_sort', 'week', '&category='.$_GET['category']));
    $main_smarty->assign('index_url_month', getmyurl('index_sort', 'month', '&category='.$_GET['category']));
    }
    $main_smarty->assign('cat_url', getmyurl("maincategory"));

    So looks like the last line prints the same url (mainpage url) for all links ie Today Yday LastWeek etc.



    2) Also looks like the category links are not working.

    3) IMP: does the demo of pligg use the latest code ? If the pligg demo runs the latest code, then its easier for us to check.

  3. #3
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks
    Received:1
    Given: 0
    Quote Originally Posted by observer_24_7 View Post
    Found these bugs (possible that its a prob with my setup or config):
    2) Clicking on a users link returns a 404.

    http://www.mahaweb.com/world/HotNews...onders--world/
    Click on user link god .. takes u to :

    http://www.mahaweb.com/world/user/view/profile//god

    which returns 404.
    I think both of those are an htaccess issues. Try grabbing the latest htaccess and make sure that you go to your category manager and copy that code it provides over the default category code in the htaccess.

    I need to test the tell a friend thing and I will get back with you.

  4. #4
    Pligg Donor observer_24_7's Avatar
    Joined
    May 2006
    Posts
    45
    Thanks
    Received:0
    Given: 0
    Just updated code on one other site to the latest ie 676.

    Looks like the Today Yday links on the main page is broken. It was working fine few days back. The code in mollio-beat is:

    // setup the links in smarty
    if(isset($_GET['category'])){
    $main_smarty->assign('index_url_recent', getmyurl('index_sort', 'recent', '&category='.$_GET['category']));
    $main_smarty->assign('index_url_today', getmyurl('index_sort', 'today', '&category='.$_GET['category']));
    $main_smarty->assign('index_url_yesterday', getmyurl('index_sort', 'yesterday', '&category='.$_GET['category'])); $main_smarty->assign('index_url_week', getmyurl('index_sort', 'week', '&category='.$_GET['category']));
    $main_smarty->assign('index_url_month', getmyurl('index_sort', 'month', '&category='.$_GET['category']));
    }
    $main_smarty->assign('cat_url', getmyurl("maincategory"));

    So looks like the last line prints the same url (mainpage url) for all links ie Today Yday LastWeek etc.



    2) Also looks like the category links are not working.

    3) IMP: does the demo of pligg use the latest code ? If the pligg demo runs the latest code, then its easier for us to check.

  5. #5
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks
    Received:1
    Given: 0
    Okay, the URL thing is a bug that was created a few days ago. I think Ash thought those URLs were supposed to be for something else and he wrapped them in if(isset($_GET['category'])){ which they shouldn't be. I fixed it this morning. Check out what I changed here http://pligg.svn.sourceforge.net/vie...76&pathrev=677

  6. #6
    Pligg Donor observer_24_7's Avatar
    Joined
    May 2006
    Posts
    45
    Thanks
    Received:0
    Given: 0
    can u pls thank me once for finding the bug

  7. #7
    Donor argh2xxx's Avatar
    Joined
    Jan 2007
    Posts
    376
    Thanks
    Received:0
    Given: 0

    Well actually I found the bug

    Actually I found the bug like last 2 weeks, been posting the bug in the forum but no one giving me any solution and so I was like taking off tell a friend function off my site.

    I hope this time the fix will fix it for realz...

    thanks for solving.

  8. #8
    Donor argh2xxx's Avatar
    Joined
    Jan 2007
    Posts
    376
    Thanks
    Received:0
    Given: 0
    I check the svn but it look like the file you change doesn't look like my index.php at all... I see no similar code, and so I do not know what to remove or add in.

    So I go to svn of 677 instead of 676 and upload to server, but it result in blank page, and so I recopy the older file of index.php.

    It's not work for me.

  9. #9
    Pligg Donor observer_24_7's Avatar
    Joined
    May 2006
    Posts
    45
    Thanks
    Received:0
    Given: 0
    One small feedback ... when commiting fixes .. it will be good if u can provide the bug details in the fix note.

    this fix says: Code cleanup for yget ...

    so there wud have been no way we will know that this fixes the bug. Saying this becos it was a major BUG as none of the Today Yday etc even on the main page is working without the fix.

    Quote Originally Posted by kbeeveer46 View Post
    Okay, the URL thing is a bug that was created a few days ago. I think Ash thought those URLs were supposed to be for something else and he wrapped them in if(isset($_GET['category'])){ which they shouldn't be. I fixed it this morning. Check out what I changed here http://pligg.svn.sourceforge.net/vie...76&pathrev=677

Similar Threads

  1. Please man! How many bugs are there??
    By arkasun in forum Questions & Comments
    Replies: 21
    Last Post: 01-11-2010, 06:08 PM
  2. Too many bugs
    By crazyeight in forum Questions & Comments
    Replies: 8
    Last Post: 09-12-2008, 08:54 PM
  3. two bugs !!!
    By trh792 in forum Questions & Comments
    Replies: 0
    Last Post: 03-02-2007, 12:39 AM
  4. A few bugs.....
    By LinkinX in forum Questions & Comments
    Replies: 3
    Last Post: 08-03-2006, 03:29 PM
  5. 6.01 bugs so far...
    By manatee in forum Questions & Comments
    Replies: 4
    Last Post: 02-24-2006, 05:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg