Author |
Message |
kwiqness
Hangin' Around
Joined: Mar 01, 2012
Posts: 25
|
Posted:
Wed Nov 20, 2013 3:46 pm |
|
OK, I am not new to web development and have successfully installed many cms web applications, drupal, php nuke, phpbb, wordpress, to name a few.
I thought I would give raven nuke a try as I really like some of the features listed. Well, I am having a heck of a time. I have read and followed every single set of instructions i can find, and even re-downloaded the package several times thinking it could be file corruption. I have had no luck at all.
I configure the SQL instance, and configure the config.php file to reflect those settings. (just as I have done for many applications in the past).
Every time I try to access any of the installation scripts, I always get a 500 Internal Server error.
I am on php 5.2, MySQL, and a Linux box. I am installing Raven 2.51.
I have a sinking feeling that it is either something that is not compatible, or something really basic that I am overlooking.
Can anyone assist me with this problem?
Thanks in advance for anyone that takes time to answer me. I am at a loss here and frankly, my internet searches, although they find articles, have not found a solution to the problem.
Thanks, |
|
|
|
|
kguske
Site Admin
Joined: Jun 04, 2004
Posts: 6433
|
Posted:
Wed Nov 20, 2013 4:15 pm |
|
|
|
|
kguske
|
Posted:
Wed Nov 20, 2013 4:21 pm |
|
Sorry...saw the PHP version 5.2 after posting. Try renaming the htaccess file to see if the 500 error goes away. If so, we can focus on the htaccess file. |
|
|
|
|
kwiqness
|
Posted:
Wed Nov 20, 2013 4:29 pm |
|
like I said in the original post php ver is 5.2
MySQL version is 5.0
This is being installed in a sub-directory within the root of the server. I am using direct links, no domains yet.
I will try renaming the .htaccess file. I have removed everything from the folder again and was planning to start completely over. I will re-upload, edit the config.php, rename .htaccess, then post my results.
Thanks for the input. |
|
|
|
|
kwiqness
|
Posted:
Wed Nov 20, 2013 4:57 pm |
|
You are awesome. Stupid htaccess file was the culprit. I will continue with the installation and post my final result.
thanks for your help. |
|
|
|
|
kguske
|
Posted:
Wed Nov 20, 2013 5:46 pm |
|
Did you modify the htaccess file? You comment out every line, then uncomment by section until you find the culprit. Usually, the server configuration (usually php.ini, but sometimes Apache) causes issues with htaccess, so it would be helpful to know what specifically is causing the issue. |
|
|
|
|
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm
Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Thu Nov 21, 2013 6:23 am |
|
Hi kwiqness
Quote: | Stupid htaccess file |
.htaccess is a file to protect your domain and u can do lots of things.
You just needed to open .htaccess with a decent editor and read there.
# we use this symbol to comment the code out and u can see in these examples how it works. U just need to comment it one by one and press F5 to reload again until u get the installation warning. It is very simple. U don't need to upload all the files every time u get an error at least u have a corrupt file.
Code:# 'Options +FollowSymLinks' is required for use of mod_rewrite.
# Can be commented out if causes errors, see notes above.
#Options +FollowSymLinks
# 'Options +Includes' is required for use of Server Side Includes (SSI), such as custom error pages (like 403.shtml).
# Can be commented out if causes errors, see notes above.
#Options +Includes
# 'Options -Indexes' is used for controlling directory listings if there is not an index file in a directory (and said directory is readable by the web server).
# A directory index will be automatically generated and this can prove to be a dangerous security issue.
# To disable this feature, use: 'Options -Indexes'
# To enable this feature (not advised), use: 'Options +Indexes'
# Can be commented out if causes errors, see notes above.
#Options -Indexes
|
Keep in touch how everything goes with your Ravennuke installation. |
|
|
|
|
kwiqness
|
Posted:
Thu Nov 21, 2013 8:03 am |
|
Well to start I just changed the name of the file and it allowed my installation to succeed.
I will rename it back to its original name, and begin trouble shooting the entries as you suggested.
I'll post my results when I figure out the problem.
Thanks for the help. |
|
|
|
|
kwiqness
|
Posted:
Thu Nov 21, 2013 8:26 am |
|
OK, it seems to be this line in the htaccess file. I have commented out the problem line for now.
"Options +Includes"
Any suggestions on what to do now? What functionality does that provide, and is it something I need?
I also have some other questions about panel usage, and privaleged user setup once I get this issue resolved.
Thanks again for the help, looking forward to the reponses. |
|
|
|
|
hicuxunicorniobestbuildpc
|
Posted:
Thu Nov 21, 2013 9:41 am |
|
Take my .htaccess and let me know
Remove everything u have and replace with this one.
Code:#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
# THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations. They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file. If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected. If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################
# 'Options +FollowSymLinks' is required for use of mod_rewrite.
# Can be commented out if causes errors, see notes above.
#Options +FollowSymLinks
# 'Options +Includes' is required for use of Server Side Includes (SSI), such as custom error pages (like 403.shtml).
# Can be commented out if causes errors, see notes above.
#Options +Includes
# 'Options -Indexes' is used for controlling directory listings if there is not an index file in a directory (and said directory is readable by the web server).
# A directory index will be automatically generated and this can prove to be a dangerous security issue.
# To disable this feature, use: 'Options -Indexes'
# To enable this feature (not advised), use: 'Options +Indexes'
# Can be commented out if causes errors, see notes above.
#Options -Indexes
# -------------------------------------------
# Set search order for index files
# -------------------------------------------
DirectoryIndex index.php index.htm index.html
# -------------------------------------------
# For better performance set FileETag to NONE base on recommendations from
# http://developer.yahoo.net/blog/archives/2007/07/high_performanc_11.html
# -------------------------------------------
FileETag none
# -------------------------------------------
# Only process if mod_expires is installed
# For faster load times cache certain types of files for specific amount of time
# You should adjust these settings based upon your caching requirements
# -------------------------------------------
<IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType text/css "access plus 5 minutes"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/plain "access plus 15 minutes"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType video/x-flv "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
# ExpiresByType text/html "access plus 5 minutes"
ExpiresByType text/javascript "access plus 5 minutes"
ExpiresByType application/x-javascript "access plus 5 minutes"
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|html)$">
#no cache for php files, cgi files, pl files, html files.
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
</IfModule>
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
deny from all
</Files>
<Files .staccess>
deny from all
</Files>
# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication when PHP is compiled as CGI and NOT an Apache module.
# -----------------------------------------------------------------------------------------------------
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted"
AuthType Basic
AuthUserFile /yourdomainpath/.staccess
</Files>
|
Note: Please read RavenNuke WIKI Manual in order to setup properly nukesentinel and other things. |
Last edited by hicuxunicorniobestbuildpc on Thu Nov 21, 2013 9:42 am; edited 1 time in total |
|
|
|
kwiqness
|
Posted:
Thu Nov 21, 2013 9:41 am |
|
Are there any good documents out there that address permissions and forum access? I have created a group, but it doesn't show up in my list of group permissions.
I still just have the canned options (ALL, REG, MOD, etc..)
I see the custom group that I created when I go to Group Management in the forums module, but I have no way to assign access to a thread to that group.
I'm used to user classes that you can either allow or deny access to threads in your forums, and this doesn't seem to be setup that way at all.
The wiki doesn't go into detail on the permissions piece either.
Any documentation you could point me to in order to clarify how permissions work on Raven?
Thanks again in advance. |
|
|
|
|
hicuxunicorniobestbuildpc
|
Posted:
Thu Nov 21, 2013 9:46 am |
|
Is your PHP is compiled as CGI? Then .htaccess should be 644 and the rest of the files u shoudn't change it. they are 775. Do not change it to 777 otherwise u open door for unknown visitors. |
|
|
|
|
kwiqness
|
Posted:
Thu Nov 21, 2013 9:56 am |
|
hicuxunicorniobestbuildpc wrote: | Take my .htaccess and let me know
Remove everything u have and replace with this one.
Code:#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
# THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations. They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file. If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected. If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################
# 'Options +FollowSymLinks' is required for use of mod_rewrite.
# Can be commented out if causes errors, see notes above.
#Options +FollowSymLinks
# 'Options +Includes' is required for use of Server Side Includes (SSI), such as custom error pages (like 403.shtml).
# Can be commented out if causes errors, see notes above.
#Options +Includes
# 'Options -Indexes' is used for controlling directory listings if there is not an index file in a directory (and said directory is readable by the web server).
# A directory index will be automatically generated and this can prove to be a dangerous security issue.
# To disable this feature, use: 'Options -Indexes'
# To enable this feature (not advised), use: 'Options +Indexes'
# Can be commented out if causes errors, see notes above.
#Options -Indexes
# -------------------------------------------
# Set search order for index files
# -------------------------------------------
DirectoryIndex index.php index.htm index.html
# -------------------------------------------
# For better performance set FileETag to NONE base on recommendations from
# http://developer.yahoo.net/blog/archives/2007/07/high_performanc_11.html
# -------------------------------------------
FileETag none
# -------------------------------------------
# Only process if mod_expires is installed
# For faster load times cache certain types of files for specific amount of time
# You should adjust these settings based upon your caching requirements
# -------------------------------------------
<IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType text/css "access plus 5 minutes"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/plain "access plus 15 minutes"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType video/x-flv "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
# ExpiresByType text/html "access plus 5 minutes"
ExpiresByType text/javascript "access plus 5 minutes"
ExpiresByType application/x-javascript "access plus 5 minutes"
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|html)$">
#no cache for php files, cgi files, pl files, html files.
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
</IfModule>
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
deny from all
</Files>
<Files .staccess>
deny from all
</Files>
# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication when PHP is compiled as CGI and NOT an Apache module.
# -----------------------------------------------------------------------------------------------------
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted"
AuthType Basic
AuthUserFile /yourdomainpath/.staccess
</Files>
|
Note: Please read RavenNuke WIKI Manual in order to setup properly nukesentinel and other things. |
Your htaccess file worked fine.
I am working on confuguring Nuke Sentinal right now. Will post back when that is complete. |
|
|
|
|
kwiqness
|
Posted:
Thu Nov 21, 2013 10:01 am |
|
I stand corrected. I got the 500 Internal Server error again when accessing the admin.php file to configure nuke sentinal.
I will revert back to my working htacces file and get nuke sentinal configured then report back. |
|
|
|
|
hicuxunicorniobestbuildpc
|
Posted:
Thu Nov 21, 2013 10:01 am |
|
Comment out this part
Code:# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication when PHP is compiled as CGI and NOT an Apache module.
# -----------------------------------------------------------------------------------------------------
# <Files admin.php>
# <Limit GET POST PUT>
# require valid-user
# </Limit>
# AuthName "Restricted"
# AuthType Basic
# AuthUserFile /web/htdocs/yourdomain.com/home/.staccess
# </Files>
|
After this u need to setup properly nukesentinel and uncomment this code above with the right path out. Please read wiki. |
|
|
|
|
kwiqness
|
Posted:
Thu Nov 21, 2013 10:07 am |
|
hicuxunicorniobestbuildpc wrote: | Comment out this part
After this u need to setup properly nukesentinel and uncomment this code above with the right path out. Please read wiki. |
That worked.
Will post back once Nuke Sentinel is configured properly. Thanks for the help. |
|
|
|
|
kwiqness
|
Posted:
Thu Nov 21, 2013 10:43 am |
|
Ok, now I am having trouble with the NS configuration. It is smooth sailing until I get to the point where I copy and past the CGIAuthSetup code into my htaccess. Then I get error 500 again.
I have followed the wiki word for word, twice now and I always get stuck at that point. If I comment out the 'start of NukeSentinel' section everything works fine. With that in the htaccess, i have no access to the administration panel. |
|
|
|
|
|