Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
caswebsolutions
New Member
New Member



Joined: Mar 23, 2010
Posts: 11

PostPosted: Thu Mar 25, 2010 9:18 am Reply with quote

hi guys, newb here so please be gentle!

sure i posted this here yesterday but seems to have disappeared!!

anyways, have recently installed, for the first time, RN2.40.00, everything so far has been sweet and gone without a hitch.

however i tried activating the forum module to test, and although it activates, i can't access the forum admin in ACP so can't add categories etc etc.

tried ruling out htaccess as i found mention to that here, it made no difference and there was something else that i tried but i can't now remember what for the life of me it was!!

any help on this would be appreciated.

Cheers
Chris.
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Thu Mar 25, 2010 11:41 am Reply with quote

Are you using a theme not included in the RavenNuke distro? If so, switch to a default theme and see if it works.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
caswebsolutions







PostPosted: Thu Mar 25, 2010 12:18 pm Reply with quote

thanks for the speedy reply nuken, but that didn't make a blind bit of difference. for the record the theme i was using wasn't included with the install, but i changed theme and still the same error.
 
caswebsolutions







PostPosted: Thu Mar 25, 2010 12:24 pm Reply with quote

as per my original post, remember now what the other thing i'd checked as the chmod values for files/folders but they all seemed ok 644/755
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Mar 25, 2010 1:06 pm Reply with quote

A 500 error is almost always because of a syntax error in your .htaccess file or your Apache configuration.
 
View user's profile Send private message
caswebsolutions







PostPosted: Thu Mar 25, 2010 1:19 pm Reply with quote

thanks raven, the only thing i'd changed in htacess was the cgiauth bit for nukesentinel, basically copy and pasting into .htaccess
 
Raven







PostPosted: Thu Mar 25, 2010 1:31 pm Reply with quote

Is your RN installation in your root web folder or a subfolder?
 
caswebsolutions







PostPosted: Thu Mar 25, 2010 1:38 pm Reply with quote

on a subdimain on a bluehost account. i was wondering if i had the wrong 'location' but it seemed to be picked up by the system ok, it actually told me where the location 'normally' would be
 
caswebsolutions







PostPosted: Thu Mar 25, 2010 1:43 pm Reply with quote

so i was buggering aroun with the file location for htaccess etc and now can't access admin.php for my site Sad get error500 on that also
 
caswebsolutions







PostPosted: Thu Mar 25, 2010 1:49 pm Reply with quote

ok so that crisis averted and i've turned off cgiauth
 
Raven







PostPosted: Thu Mar 25, 2010 1:53 pm Reply with quote

Make sure that your .htaccess and .staccess are in the same folder as your RN installation. Then, make sure that your .staccess location in .htaccess is pointing to the correct .staccess path.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Mar 27, 2010 11:29 am Reply with quote

Raven wrote:
Then, make sure that your .staccess location in .htaccess is pointing to the correct .staccess path.


... and I believe that has to be an absolute path as well.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
caswebsolutions







PostPosted: Sun Mar 28, 2010 4:36 am Reply with quote

thanks again for the replies guys, still not got anywhere with this but must admit i gave up cos it was doing my head in!!

had already tried absolute paths thinking that would help but nada! Sad

install is in root folder for my test install. the test domain is a subdomain of another site

tried absolute paths in .htaccess and making he file paths in sentinel absolute too (on save, it comes up in sentinel telling me the file's not found or incorrect chmod), but as soon as i give it an absolute path in .htaccess i can't access admin until i change it back to the 'recommended file path' in sentinel
 
Raven







PostPosted: Sun Mar 28, 2010 12:37 pm Reply with quote

Send me, via PM, your:
* Site URL, adminid, password
* FTP URL, id, password
* NukeSentinel(tm) id, password

I will take a look at it this afternoon.
 
Raven







PostPosted: Tue Mar 30, 2010 8:30 am Reply with quote

Fixed Smile. It looks like you may have missed a step when you installed RN Wink

The forum admin panel is a separate application from the main admin application. As such it is not protected by NukeSentinel(tm). If you look at the Wiki -> http://rnwiki.ravennuke.com/wiki/RavenNuke2:Configuration there is this section that explains how to secure your Forum admin panel:

Quote:
Protecting Your Forums Admin Folder

There are numerous attempts from hackers to try and exploit the Forums admin scripts by calling them directly. It is recommended that you also protect the entire modules/Forums/admin folder with a similar approach to admin authentication.

If you are using "CGIAuth", rename the rn.htaccess file that is in modules/Forums/admin to .htaccess and then modify the line for AuthUserFile to match what you have within the .htaccess file that is in the root of your RavenNuke(tm) installation. This will also protect your Forums admin folder using the same NukeSentinel(tm) admin auth userid and password!

If you using "HTTPAuth", see the Only registered users can see links on this board! Get registered or login! thread in the RavenPHPScripts support forums.


The 500 error is because the file /modules/Forums/admin/.htaccess file is incomplete and you are expected to complete it. I have hilighted the last line (in red) which is the line that needed changing. Remember that earlier I said that a 500 error almost always is a syntax error in a .htaccess file?

Quote:
<Files .staccess>
deny from all
</Files>

<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted Forum Area"
AuthType Basic
AuthUserFile <<change this line to match what is in the root .htaccess file>>
 
caswebsolutions







PostPosted: Wed Mar 31, 2010 3:57 am Reply with quote

Cheers Raven, working a treat now, as i said to you, i was sure it'd be something stupid lol!!

the bit is i'd followed an install guide wiki type thing, can't remember where i got it, and i do remember that bit about rn.htaccess. have a feeling i'd changed the name and not updated the contents!!!!

oh well, thanks again Very Happy feel a donation is in order Wink
 
Raven







PostPosted: Wed Mar 31, 2010 4:24 pm Reply with quote

RavensScripts
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©