Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Installation Issues :: Archives ⇒ [solved]9.0 still trouble with internal error 500 :: Archived


[solved]9.0 still trouble with internal error 500 :: Archived
Post your DragonflyCMS installation questions and problems here.
Note that we have "Switch from X" forums for other CMS/forum conversions.
DO NOT post those or module installation issues here!

Go to page 1, 2  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Installation Issues

Topic Archived View previous topic :: View next topic  
Author Message
sal0975
Newbie
Newbie

Offline Offline
Joined: Feb 25, 2005
Posts: 2

PostPosted: Fri Feb 25, 2005 11:10 am
Post subject: [solved]9.0 still trouble with internal error 500

Please apologize, i still can't come out from that error, not alone anyway...

obiouvsly i've been reading all the forum's posts before post a new topic....

Well, i've been working on the .htaccess file as described on many posts, but it's still giving me the same 500 error page... i've been uploading twice everything and chmod as written in the install txt...but it's not working.

maybe someone here has had the same experience and can help me. thank you all.

running:
MySQL 4.0.23
Apache version: 1.3.33
PHP version: PHP/4.3.9


sal0975's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
lnx/apache/mysql/php7.5/cpg9
Back to top
View user's profile Visit poster's website
Trevor
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2170
Location: New York
PostPosted: Fri Feb 25, 2005 12:21 pm
Post subject: Re: 9.0 still trouble with internal error 500

Can you please post your .htaccess file?


Trevor's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.34 / 4.1.18 / 4.4.2 / CVS
Back to top
View user's profile Photo Gallery
sal0975
Newbie
Newbie

Offline Offline
Joined: Feb 25, 2005
Posts: 2

PostPosted: Fri Feb 25, 2005 12:32 pm
Post subject: Re: 9.0 still trouble with internal error 500

# CPG Dragonfly CMS
# Copyright (c) 2004-2005 by CPG-Nuke Dev Team, www.dragonflycms.com
# Released under the GNU GPL version 2 or any later version

# $Source: /cvs/html/.htaccess,v $
# $Revision: 9.3 $
# $Author: trevor $
# $Date: 2005/02/03 00:04:43 $

# Remove the pound sign on these 3 for production sites
# if your server doesn't allow it then a Error 500 is given
#php_flag display_errors off
#php_value error_reporting 0
#php_flag register_globals 0

# deny most common except .php
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|bin|spd|theme|module|exe)$">
deny from all
</FilesMatch>

# disable access to config.php and .ht* from a browser
<FilesMatch "^(config\.php|\.ht)">
Deny from all
</FilesMatch>
<FilesMatch "error\.(php|gif)">
allow from all
</FilesMatch>

# if you use LEO, mod_rewrite is necessary
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} -f
RewriteRule (.*) $1 [L]

# Check for Santy Worms and redirect them to a fail page
#-------------------------------------------------------------------
# Variant -1
# uncomment if you dont use LWP
# RewriteCond %{HTTP_USER_AGENT} ^LWP [NC,OR]
# Variant -2
RewriteCond %{REQUEST_URI} ^visualcoders [NC,OR]
# Variant -3
RewriteCond %{QUERY_STRING} rush=([^&]+) [NC]
# deny them
RewriteRule ^.*$ [F]
#-------------------------------------------------------------------

# if you use LEO and CPG-Nuke is installed in a sub-directory like '/html',
# remove that # before RewriteBase and rename /html to the path of the sub-directory
# RewriteBase /html
RewriteRule /index\.html /index.php
RewriteRule ^([a-zA-Z0-9_=+-]*)\.html index=$1 [L,S=4]
RewriteRule ^([a-zA-Z0-9_]*)/([a-zA-Z0-9_]*)\.html index=$1&file=$2 [L,S=3]
RewriteRule ^([a-zA-Z0-9_]*)/([a-zA-Z0-9_]*)/(.*)\.html index=$1&file=$2&$3 [L,S=1]
RewriteRule ^([a-zA-Z0-9_]*)/(.*)\.html index=$1&file=index&$2 [L]
RewriteRule ^index=(.*[^/])/(.*) index=$1&$2 [N,L]
RewriteRule ^index=(.*) index.php?name=$1 [L]
</IfModule>

# use custom error pages if you wish
ErrorDocument 400 /error.php
ErrorDocument 401 /error.php
ErrorDocument 403 /error.php
ErrorDocument 404 /error.php
ErrorDocument 500 /error.php

# disallow index viewing (like ftp) of directory
# Remove # for production sites
# Options -Indexes

# for hosts that don't allow the above, we won't give people anything to look at
<IfModule mod_autoindex.c>
IndexIgnore *
</IfModule>

AddDefaultCharset utf-8


sal0975's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
lnx/apache/mysql/php7.5/cpg9
Back to top
View user's profile Visit poster's website
Trevor
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2170
Location: New York
PostPosted: Fri Feb 25, 2005 1:07 pm
Post subject: Re: 9.0 still trouble with internal error 500

What I would do, is go through this file and comment chunks of code at a time, so you can pinpoint the issue.

For example, take:
Code::
# deny most common except .php
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|bin|spd|theme|module|exe)$">
deny from all
</FilesMatch>

and replace with:
Code::
# deny most common except .php
#<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|bin|spd|theme|module|exe)$">
#deny from all
#</FilesMatch>

Then if you find that chunk of code isn't the issue, remove the comments.

Let us know when you have found the issue.


Trevor's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.34 / 4.1.18 / 4.4.2 / CVS
Back to top
View user's profile Photo Gallery
stimpy2k
Newbie
Newbie

Offline Offline
Joined: Mar 14, 2005
Posts: 10

PostPosted: Mon Mar 14, 2005 12:23 am
Post subject: Re: 9.0 still trouble with internal error 500

I am having the same issue, and I have tried your suggestion regarding commenting sections out to narrow down the issue. I literally have to comment everything out, or remove .htaccess, to get anywhere. If I so much as un-comment a single command (“AddDefaultCharset utf-8” for example) I receive the 500 error.

Help!


stimpy2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
?/Apache 1.3.29/MySQL 4.0.18/?/Dragonfly 9.0.1.1
Back to top
View user's profile Visit poster's website
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Mon Mar 14, 2005 12:31 am
Post subject: Re: 9.0 still trouble with internal error 500

if you do
# AddDefaultCharset utf-8
then page load up?

_________________

Firefox is my Favorite Browser

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
NEMINI
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 4551

PostPosted: Mon Mar 14, 2005 12:31 am
Post subject: Re: 9.0 still trouble with internal error 500

some server specs would be very helpful in your search for support

_________________
NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org

NEMINI's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS
Back to top
View user's profile Visit poster's website Photo Gallery
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Mon Mar 14, 2005 12:32 am
Post subject: Re: 9.0 still trouble with internal error 500

stimpy, if you don't know apache version then i can find out by HTTP Header.

_________________

Firefox is my Favorite Browser

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Mon Mar 14, 2005 2:12 am
Post subject: Re: 9.0 still trouble with internal error 500

i had the same error and it was because of htaccess. someone needs to fix it. completely doesn't work with my brand new site5 account. not good.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
NEMINI
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 4551

PostPosted: Mon Mar 14, 2005 3:37 am
Post subject: Re: 9.0 still trouble with internal error 500

djdevon3 wrote:
i had the same error and it was because of htaccess. someone needs to fix it. completely doesn't work with my brand new site5 account. not good.

Nothing wrong with it for me. Version 9.7 and everything below has worked for me just fine.

_________________
NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org

NEMINI's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS
Back to top
View user's profile Visit poster's website Photo Gallery
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Mon Mar 14, 2005 4:20 am
Post subject: Re: 9.0 still trouble with internal error 500

lots of changes in 9.3 to 9.7 htaccess.

_________________

Firefox is my Favorite Browser

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
stimpy2k
Newbie
Newbie

Offline Offline
Joined: Mar 14, 2005
Posts: 10

PostPosted: Mon Mar 14, 2005 10:41 pm
Post subject: Re: 9.0 still trouble with internal error 500

xfsunoles wrote:
if you do
# AddDefaultCharset utf-8
then page load up?

It will only load if ALL lines are commented out... all of them, not just "AddDefaultCharset utf-8." So if any one line isn't commented out, I get the 500 error.

And this is probably about to be a stupid question, but how do I send you my HTTP header?


stimpy2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
?/Apache 1.3.29/MySQL 4.0.18/?/Dragonfly 9.0.1.1
Back to top
View user's profile Visit poster's website
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Mon Mar 14, 2005 11:10 pm
Post subject: Re: 9.0 still trouble with internal error 500

Firefox Web Developer Extensions.

i check, it said Apache/1.3.29 (Unix)

_________________

Firefox is my Favorite Browser

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
zepster
Newbie
Newbie

Offline Offline
Joined: Nov 20, 2004
Posts: 13
Location: USA
PostPosted: Tue Mar 15, 2005 3:02 pm
Post subject: Re: 9.0 still trouble with internal error 500

I am using Dragonfly for our team website, that I host on a Windows 2000 server machine. I love the CPG program and have been using it for at least 4 months now.


I'm having the same proplem with a site that i upgraded from 8.2b to 9.0. Everything was working fine for about a month now till yesterday. Getting a internal error 500 when you go into the index.php. But I can get into the admin.php with no problem, till i select the home page. I've modified the .htaccess file and even removed it and still getting the same error on the index page. If I put the site in mainteneance mode it will show the "We'll be back" page. I've gone through the MYSQL database and reset the users and passwords but still no luck. Looking through my Apache error log this seems to show up, but not sure what to do with it.

Premature end of script headers: c:/php/php.exe

I also had created a test 9.0 site before doing the upgrade to the 8.2b site, and it is functioning ok.

I'm still learning PHP and MYSQL so any help would be appreciated.


zepster's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
WIN2K/1.3.33/4.0.24/4.39/9.0.5
Back to top
View user's profile Yahoo Messenger
zepster
Newbie
Newbie

Offline Offline
Joined: Nov 20, 2004
Posts: 13
Location: USA
PostPosted: Wed Mar 16, 2005 12:28 am
Post subject: Re: 9.0 still trouble with internal error 500

I'm not too sure as to what happened to my site, but i restored the database from an earlier date and now things seem to be working ok.


zepster's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
WIN2K/1.3.33/4.0.24/4.39/9.0.5
Back to top
View user's profile Yahoo Messenger
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Installation Issues
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

Διαβάστε περισσότερα ...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy