Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-03-2006, 02:36 PM
New Pligger
 
Join Date: Mar 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
.htaccess + admin bug. can anyone please help?

I can't access anything with the current .htaccess file.

Quote:
RewriteEngine On
Options +FollowSymlinks
Options Indexes FollowSymLinks
RewriteBase /
RewriteRule ^story/([0-9]+)/?$ story.php?id=$1 [L]
RewriteRule ^category/([a-zA-Z0-9]+)/?$ ?category=$1 [L]
RewriteRule ^category/([a-zA-Z0-9]+)/digg/?$ shakeit.php?category=$1 [L]
RewriteRule ^story/([0-9]+)/editcomment/([0-9]+)?$ edit.php?id=$1&commentid=$2
RewriteRule ^story/([0-9]+)/edit/?$ editlink.php?id=$1
RewriteRule ^story/([0-9]+)/modify/([a-z]+)/?$ linkadmin.php?id=$1&action=$2
RewriteRule ^user/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ user.php?login=$1&view=$2
RewriteRule ^user/([a-zA-Z0-9-]+)/?$ user.php?login=$1
RewriteRule ^search/([a-zA-Z0-9-]+)/?$ index.php?search=$1
RewriteRule ^login/?$ login.php
RewriteRule ^login/([a-zA-Z0-9-]+)/?$ login.php?return=$1
RewriteRule ^login/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ login.php?return=$1/$2
RewriteRule ^register/?$ register.php
RewriteRule ^user/?$ user.php
RewriteRule ^topusers/?$ topusers.php
RewriteRule ^topstories/?$ topstories.php
RewriteRule ^about/([a-zA-Z0-9-]+)/?$ faq-$1.php
RewriteRule ^shakeit/?$ shakeit.php
RewriteRule ^submit/?$ submit.php
RewriteRule ^bugreport/?$ bugreport.php
RewriteRule ^rss2/?$ rss2.php
RewriteRule ^rss2/([a-zA-Z0-9-]+)/?$ rss2.php?status=$1
RewriteRule ^trackback/([0-9]+)/?$ trackback.php?id=$1
RewriteRule ^profile/?$ profile.php
RewriteRule ^admin/?$ admin_index.php
RewriteRule ^tagcloud/?$ cloud.php
RewriteRule ^sneak/?$ sneak.php

RewriteRule ^logout/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ login.php?op=logout&return=$1/$2


But with an empty htaccess, everything works. Except access to admin.

When I access admin, here's what I see:

Quote:
Fatal error: Cannot redeclare checklevel() (previously declared in /home/www/ponjam.freecoolsite.com/admin/index.php:26) in /home/www/ponjam.freecoolsite.com/libs/utils.php on line 153
Not sure what to do from here. I'd like to have access to admin and fix that .htaccess problem if I can.

I have an empty .htaccess atm.
Reply With Quote
  #2 (permalink)  
Old 03-03-2006, 03:02 PM
New Pligger
 
Join Date: Mar 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, I got access to admin now.

so the admin is actually http://www.mysite.com/admin_index.php
and not http://www.mysite.com/admin/ as the pligg install redirects you to.
Reply With Quote
  #3 (permalink)  
Old 03-03-2006, 03:11 PM
New Pligger
 
Join Date: Mar 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Still no luck with .htaccess.

the current configuration gives me an Internal Server Error.

I think someone previously posted a similar problem with no response yet.
http://www.pligg.com/forum/showthread.php?t=10

can anyone help?
Reply With Quote
  #4 (permalink)  
Old 03-05-2006, 12:00 PM
New Pligger
 
Join Date: Mar 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
After several tests, it looks like it doesn't work with PHP5.

Everything's fine with php4.
Reply With Quote
  #5 (permalink)  
Old 03-08-2006, 09:59 AM
New Pligger
 
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by boofme
Still no luck with .htaccess.

the current configuration gives me an Internal Server Error.

I think someone previously posted a similar problem with no response yet.
http://www.pligg.com/forum/showthread.php?t=10

can anyone help?
Internal Server Error covers a wide range of possible errors, the real problem will be in your error log. Make a request to trigger the error and see what gets logged.

If your problem is the same as the other thread you'll see "Options not allowed here" and you can comment out the lines starting Options, examples are in that thread. If not, share the error.
Reply With Quote
  #6 (permalink)  
Old 11-07-2008, 05:54 AM
New Pligger
 
Join Date: Nov 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
that link does not work . . . .

BUT I AM WILLING TO PAY !

http://forums.pligg.com/general-help...html#post69748
Reply With Quote
  #7 (permalink)  
Old 11-08-2008, 12:37 AM
New Pligger
 
Join Date: Nov 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

I FIXED IT ! ! ! IT FINALLY WORKS ! ! !
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
change .htaccess default to .htaccess error gadiez Installation and Upgrade Help 0 08-31-2008 11:33 AM
Gzip enabled in both admin and .htaccess? ditto General Help 2 01-16-2008 10:39 AM
Why can't an Admin Account get to Administration? slobizman General Help 1 12-29-2007 01:14 PM
.htaccess bug? bluehenn General Help 0 12-10-2007 02:28 PM
::How to:: Use .htaccess file with Pligg kbeeveer46 General Help 0 01-25-2007 10:16 AM


Search Engine Friendly URLs by vBSEO 3.2.0