Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-18-2006, 12:05 PM
NeoKnight's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: Europe
Posts: 23
Thanks: 10
Thanked 0 Times in 0 Posts
Send a message via MSN to NeoKnight
Exclamation Editing comment doesn't send to the right page

Hi, if you go to this page

http://www.advotiser.com/vote/story....iness-on-web-1

you will see the comment, now anybody that is registered can't edit their comment if they like as the link takes them to a dead link which is

http://www.advotiser.com/vote./edit....=1&commentid=1

You'll notice the " . " in " /vote./ " that's where the problem is. Can anybody help me fix it please, THANKS.
Reply With Quote
  #2 (permalink)  
Old 12-18-2006, 12:24 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
First check if my_pligg_base and base_url are correct.

then in /libs/html.php

look for this line.

If ($x == "editcomment") {return my_pligg_base."/edit.php?id=" . $var2 . "&commentid=" . $var1;}

is it there and is it the same
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #3 (permalink)  
Old 12-18-2006, 12:30 PM
NeoKnight's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: Europe
Posts: 23
Thanks: 10
Thanked 0 Times in 0 Posts
Send a message via MSN to NeoKnight
nope, there is no libs/html.php just libs/html1.php - maybe they are the same.

and that line is not there.

And yes the my_pligg_base and base_url are correct
Reply With Quote
  #4 (permalink)  
Old 12-18-2006, 12:33 PM
NeoKnight's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: Europe
Posts: 23
Thanks: 10
Thanked 0 Times in 0 Posts
Send a message via MSN to NeoKnight
I just found something in the libs/html1.php file it reads as below

If ($x == "editcomment") {return my_pligg_base."./edit.php?id=" . $var2 . "&commentid=" . $var1;} //leave the . in "./editcomment" because full url should be /story/15/editcomment/2
Reply With Quote
  #5 (permalink)  
Old 12-18-2006, 12:34 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Are you using beta 8? I believe this bug was fixed about 8 weeks ago http://pligg.svn.sourceforge.net/vie...v&revision=203
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #6 (permalink)  
Old 12-18-2006, 12:38 PM
NeoKnight's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: Europe
Posts: 23
Thanks: 10
Thanked 0 Times in 0 Posts
Send a message via MSN to NeoKnight
nope beta 8.2 the one before 9. I just downloaded 9 should I just upgrade and hope for the best.
Reply With Quote
  #7 (permalink)  
Old 12-18-2006, 12:39 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
oops, that's what I meant. If you're using 8.2 then there is a bug and that link above will help you fix it.
__________________
I accept donations for my time helping users like you on the forum and IRC.

Last edited by kbeeveer46; 12-18-2006 at 12:47 PM..
Reply With Quote
  #8 (permalink)  
Old 12-18-2006, 12:42 PM
NeoKnight's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: Europe
Posts: 23
Thanks: 10
Thanked 0 Times in 0 Posts
Send a message via MSN to NeoKnight
okey dokey, thanks a lot for your help guys, and oh yeah if you want to register on my pligg site - now that we have adsense revenue sharing which I will implement plus you can win as well.

the advertisers will come.

THANKS AGAIN!!!!!
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Most Recent Comment Date To Main News Page? jkjunkfilter Customization Assistance 3 09-02-2008 09:40 PM
Page Variables Yankidank Wiki Articles 1 08-13-2008 03:59 AM
Send RSS Stories to their own page? Is this possible? jkjunkfilter General Help 3 01-27-2008 10:37 PM
Editing a reply to a comment? bbrian017 General Help 0 01-10-2008 04:30 PM
Advanced comment editing tbones Suggestions 1 12-29-2007 05:34 AM


Search Engine Friendly URLs by vBSEO 3.2.0