Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-15-2006, 12:52 PM
Casual Pligger
Pligg Version: 995
Pligg Template: Yget
 
Join Date: Sep 2006
Posts: 61
Thanks: 12
Thanked 3 Times in 3 Posts
Edit comment link not working

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
__________________
Pligg - a Swiss version of Pligg (very much online)
Reply With Quote
  #2 (permalink)  
Old 12-26-2006, 04:09 PM
New Pligger
 
Join Date: Oct 2006
Posts: 13
Thanks: 3
Thanked 0 Times in 0 Posts
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, 05:56 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
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
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
The Following User Says Thank You to savant For This Useful Post:
  #4 (permalink)  
Old 12-26-2006, 06:33 PM
New Pligger
 
Join Date: Oct 2006
Posts: 13
Thanks: 3
Thanked 0 Times in 0 Posts
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, 07:27 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
do you have a file called .htaccess in the root folder?

and could you give me a link to the page
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #6 (permalink)  
Old 12-26-2006, 07:44 PM
New Pligger
 
Join Date: Oct 2006
Posts: 13
Thanks: 3
Thanked 0 Times in 0 Posts
Yes I do have .htaccess. My pligg site is at http://crimene.ws
Reply With Quote
  #7 (permalink)  
Old 12-26-2006, 07:58 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
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
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #8 (permalink)  
Old 01-08-2007, 02:26 PM
New Pligger
 
Join Date: Oct 2006
Posts: 13
Thanks: 3
Thanked 0 Times in 0 Posts
Still not working and my html1.php is too long to post here.
Reply With Quote
  #9 (permalink)  
Old 01-08-2007, 08:21 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
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.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #10 (permalink)  
Old 01-09-2007, 12:41 PM
New Pligger
 
Join Date: Oct 2006
Posts: 13
Thanks: 3
Thanked 0 Times in 0 Posts
Talking

Duh. I knew that.
Attached Files
File Type: php html1.php (24.1 KB, 26 views)
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
Better Submit and Edit Link pages AnAlienHolakres3 Modification Tutorials 3 07-24-2008 08:44 AM
[SOLVED] Editorial Link is not working 911 General Help 13 08-30-2007 01:50 PM
edit story and outgoing link returns blank page crusty General Help 0 08-23-2007 02:30 PM
RSS friendly link not working. can8dn General Help 4 01-03-2007 06:11 PM
How can I edit Link of title to directly website coreduo General Help 2 10-16-2006 01:54 AM


Search Engine Friendly URLs by vBSEO 3.2.0