Edit comment link not working

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-15-2006, 01:52 PM
Casual Pligger
Pligg Version: 995
Pligg Template: Yget
 
Join Date: Sep 2006
Posts: 58
I am using Pligg 8.2.0 with mod_rewrite (latest .htaccess from svn) and URL Method 2.

The "Edit" link in the comments section is not working (blank page). Does anybody know how to make this link work?

As always, your help is highly appreciated.

Cheers, Dubai
Reply With Quote
  #2 (permalink)  
Old 12-26-2006, 05:09 PM
New Pligger
 
Join Date: Oct 2006
Posts: 11
I'm having the same problem. I'm using Beta 9 and when I click on edit comment it takes me to a 404 page. Any help would be appreciated.
Reply With Quote
  #3 (permalink)  
Old 12-26-2006, 06:56 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,181
find this line

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

line 416

If ($x == "editcomment") {return my_pligg_base."/story/". $var2 . "/editcomment/" . $var1;}

if you are using urlmethod2
Reply With Quote
  #4 (permalink)  
Old 12-26-2006, 07:33 PM
New Pligger
 
Join Date: Oct 2006
Posts: 11
Is that on html1.php? I changed the line and I'm still getting a 404. And I'm using URL method 2.
Reply With Quote
  #5 (permalink)  
Old 12-26-2006, 08:27 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,181
do you have a file called .htaccess in the root folder?

and could you give me a link to the page
Reply With Quote
  #6 (permalink)  
Old 12-26-2006, 08:44 PM
New Pligger
 
Join Date: Oct 2006
Posts: 11
Yes I do have .htaccess. My pligg site is at http://crimene.ws
Reply With Quote
  #7 (permalink)  
Old 12-26-2006, 08:58 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,181
I posted the wrong line to replace.

replace this line
PHP Code:
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 
try that. If it doesn't work attach the html1.php file and post here
Reply With Quote
  #8 (permalink)  
Old 01-08-2007, 03:26 PM
New Pligger
 
Join Date: Oct 2006
Posts: 11
Still not working and my html1.php is too long to post here.
Reply With Quote
  #9 (permalink)  
Old 01-08-2007, 09:21 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
Trench, can you attach it to the forum? You don't have to copy and paste it. There should be an option to add an attachment.
Reply With Quote
  #10 (permalink)  
Old 01-09-2007, 01:41 PM
New Pligger
 
Join Date: Oct 2006
Posts: 11
Duh. I knew that.
Attached Files
File Type: php html1.php (24.1 KB, 168 views)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit link bug cucat Questions and Comments 2 01-21-2009 07:58 PM
Better Submit and Edit Link pages AnAlienHolakres3 Questions and Comments 3 07-24-2008 09:44 AM
[SOLVED] Editorial Link is not working 911 Questions and Comments 13 08-30-2007 02:50 PM
edit story and outgoing link returns blank page crusty Questions and Comments 0 08-23-2007 03:30 PM
How can I edit Link of title to directly website coreduo Questions and Comments 2 10-16-2006 02:54 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development