Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-19-2008, 08:02 AM
New Pligger
Pligg Version: Beta 9.9.0
Pligg Template: yget
 
Join Date: Dec 2007
Posts: 28
Thanks: 3
Thanked 0 Times in 0 Posts
Unhappy [SOLVED] 404 when editing a story becuase redirected to DOMAIN/story.php?id= without

Hi,

I'm not using Friendly URLs, so i got DOMAIN/story?id=ID URL style. When i edit a story (changing title, tags or description) and submit it, the chnages take effect but i'm redirected to DOMAIN/story.php?id= without the ID ! And so to the 404 Oops page...

p.s. I've applied revision 1513 SourceForge.net Repository - [pligg] Revision 1513

Thanks for helping.
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 11:34 AM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
This should fix the problem you're having. SourceForge.net Repository - [pligg] Revision 1517
__________________
- Ash
Reply With Quote
The Following User Says Thank You to AshDigg For This Useful Post:
  #3 (permalink)  
Old 01-19-2008, 12:35 PM
New Pligger
Pligg Version: Beta 9.9.0
Pligg Template: yget
 
Join Date: Dec 2007
Posts: 28
Thanks: 3
Thanked 0 Times in 0 Posts
Thumbs up

Thank you, Works great now!
Reply With Quote
  #4 (permalink)  
Old 02-12-2008, 07:33 AM
New Pligger
Pligg Version: 9.9.0
Pligg Template: Custom
 
Join Date: Jan 2008
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
I get this error when I apply the changes.
Fatal error: Call to undefined method Link::get_internal_url() in /var/www/public_html/editlink.php on line 127

Before I had the same problem. When I tried to edit a story
/story/286/edit/
after the edit I got sent to
/story/
and got the 404 error.

Am I missing something?

UPDATE:
Found this after digging through the bug forum. Think it will solve the issue with get_internal_url() - will test it now.
SourceForge.net Repository - [pligg] Diff of /branches/9.x/libs/link.php

Yep it worked perfectly. Sorry for the post.

Last edited by Ghool; 02-12-2008 at 08:10 AM..
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
[SOLVED] Complete solution to approve the story after being submitted redwine Modification Tutorials 36 11-09-2008 01:15 PM
[SOLVED] Direct link to story instead of going throught out.php or /out/ doit Suggestions 10 01-27-2008 05:29 PM
Image lost after editing the story impulsive Bug Report 5 11-14-2007 01:25 PM
[SOLVED] When I upload a image when submitting a news story... gossipqueenie General Help 3 10-27-2007 11:44 AM
How to disable html in editing a story kenjoy General Help 6 11-24-2006 02:39 AM


Search Engine Friendly URLs by vBSEO 3.2.0