Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-21-2007, 01:10 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 136
Thanks: 5
Thanked 0 Times in 0 Posts
v 9.1 - yget template - urlmethod 2 - broken title link

Hi,

I am using v9.1 beta with yget template.
Using urlmethod 2, which was supposed to be working.

But the link from the title of the stories submitted is broken and throws a 404 message. thanks for any help in fixing this.

Cheers
__________________
www.StartupBug.com : User submitted content for Entrepreneurs
www.tutoriALLs.com : ALL the user submitted tutoriALls in one place
Reply With Quote
  #2 (permalink)  
Old 02-21-2007, 01:48 AM
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
Did you copy the code in your category manager over the existing code in the htaccess file?
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 02-24-2007, 07:31 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 136
Thanks: 5
Thanked 0 Times in 0 Posts
Hi,

I tried ovcerwriting in the .htaccess file, but when i did that, whole site was broken.

This was the section in .htaccess file, i overwrote...

Quote:
##### You can find the below lines pre-made for you in the category management section of the admin panel ######
RewriteRule ^(all|pligg)/([a-zA-Z0-9-]+)/?$ story.php?title=$2 [L]
RewriteRule ^(all|pligg)/?$ ?category=$1 [L]

#####
Thanks for any help.
__________________
www.StartupBug.com : User submitted content for Entrepreneurs
www.tutoriALLs.com : ALL the user submitted tutoriALls in one place
Reply With Quote
  #4 (permalink)  
Old 02-24-2007, 08:08 AM
Jarda's Avatar
New Pligger
 
Join Date: Jan 2007
Posts: 27
Thanks: 5
Thanked 1 Time in 1 Post
Same problem

I have same problem.
__________________
Share-News.net
Reply With Quote
  #5 (permalink)  
Old 02-24-2007, 09:26 AM
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
Can we have a link to your site? It may be caused by weird characters it the story title. This is something that's easily fixed.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #6 (permalink)  
Old 02-24-2007, 10:50 AM
Jarda's Avatar
New Pligger
 
Join Date: Jan 2007
Posts: 27
Thanks: 5
Thanked 1 Time in 1 Post
URL method 2

URL method 1 - everything is great but....SE non friendly

URL method 2 - PUBLISHED STORIES - great

USER PROFILE LINKS - 404 error

QUEUED STORIES - 404 error

QUEUED CATEGORIES - 404 error

SUBMITTED STORY giving 404 error ( story is really submitted)

Template: yget / Pligg 9.1
__________________
Share-News.net
Reply With Quote
  #7 (permalink)  
Old 02-24-2007, 11:38 AM
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
It doesn't look like you're using the latest htaccess file. Please download and use the one from the beta 9.1 files.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #8 (permalink)  
Old 02-24-2007, 12:50 PM
Jarda's Avatar
New Pligger
 
Join Date: Jan 2007
Posts: 27
Thanks: 5
Thanked 1 Time in 1 Post
Lol

Thanks, you are correct. I accidentaly reuploaded old .htaccess file

I guess i found a bug.

When i copy generated code from Admin/category management into .htaccess site is giving error.

Problem is with this part of code:

RewriteRule ^(All|XXX|YYY|ZZZ||)/([a-zA-Z0-9-]+)/?$ story.php?title=$2 [L]
RewriteRule ^(AllNews|XXX|YYY|ZZZ|)/?$ ?category=$1 [L]

Categories end with "|" sign. I removed last "|" and everything works great now or i hope so.
__________________
Share-News.net

Last edited by Jarda; 02-24-2007 at 12:54 PM..
Reply With Quote
The Following User Says Thank You to Jarda For This Useful Post:
  #9 (permalink)  
Old 02-24-2007, 12:52 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
Yes, we have submitted this bug to our Sourceforge account
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
The Following User Says Thank You to kbeeveer46 For This Useful Post:
  #10 (permalink)  
Old 02-25-2007, 04:08 PM
New Pligger
 
Join Date: Jan 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
true there is eror
http://www.site.com/Blogs/Wrap-Your-...lue-Variables/
it says

Quote:
Not Found
The requested URL /Blogs/News-Wire-PHP-Group-accused-security-incompetence/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
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] how to make story's title link to original resource? hbtq Customization Assistance 12 10-21-2008 09:58 PM
Where should I put a link in the yGet template? dyrinda "yget" 0 10-24-2007 02:12 PM
Can the URL link be made more visible / title link? jon General Help 2 03-21-2007 03:30 PM


Search Engine Friendly URLs by vBSEO 3.2.0