Anope IRC Services

MagIRC => MagIRC Support => Topic started by: BlackDragon on April 05, 2012, 08:53:38 PM

Title: 500 error
Post by: BlackDragon on April 05, 2012, 08:53:38 PM
what am i supposed to check so i can fix this error ?
Title: Re: 500 error
Post by: katsklaw on April 06, 2012, 04:13:12 AM
Your web servers log file. a 500 SERVER error is just that. it's an internal error and nothing to do with magirc or any client connection.
Title: Re: 500 error
Post by: Hal9000 on April 06, 2012, 10:08:57 PM
please try the latest version from github, chances are the problem has been fixed
Title: Re: 500 error
Post by: BlackDragon on April 10, 2012, 01:06:01 AM
Quote
blacky@blacky.info [/usr/local/apache/logs]# tail -f error_log
[Mon Apr 09 20:04:48 2012] [error] [client ********] SoftException in Application.cpp:256: File "/home/blacky/public_html/index.php" is writeable by group
[Mon Apr 09 20:04:48 2012] [error] [client *********] Premature end of script headers: index.php
[Mon Apr 09 20:04:48 2012] [error] [client **********] SoftException in Application.cpp:256: File "/home/blacky/public_html/index.php" is writeable by group
[Mon Apr 09 20:04:48 2012] [error] [client **********] Premature end of script headers: index.php

default settings on .htaccess
Title: Re: 500 error
Post by: Hal9000 on April 10, 2012, 10:28:38 AM
Hmmm looks like your web server does not like the permissions on your php files...
try chmodding to 600 or 640
Title: Re: 500 error
Post by: BlackDragon on April 10, 2012, 01:19:24 PM
chmoded index.php to 600

Quote
System requirements not met. Please run setup.

and now there is this error


Quote
[Tue Apr 10 08:29:02 2012] [crit] [client *********] (13)Permission denied: /home/blacky/public_html/setup/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Title: Re: 500 error
Post by: BlackDragon on April 11, 2012, 11:57:15 AM
help me :(
Title: Re: 500 error
Post by: Hal9000 on April 11, 2012, 12:12:41 PM
Is other PHP software running fine?
It really looks to me that this is just a permissions problem... maybe the wrong file owner or something?
Wipe magirc out, download it again and try chowning all with the web server user, often it is www-data, maybe it will work then?
Title: Re: 500 error
Post by: BlackDragon on April 12, 2012, 08:04:14 PM
php softwares are fine... there is no such user www-data
other scripts that use php are working fine... eg. joomla
i could give you access on my server to see for yourself pm me if it is not a problem
Title: Re: 500 error
Post by: Alexander Maassen on April 13, 2012, 09:08:11 AM
what does ls -l /home/blacky/public_html/setup/.htaccess tell you ?
Title: Re: 500 error
Post by: BlackDragon on April 13, 2012, 02:23:56 PM
-rw-r--r-- 1 blacky blacky 17 Apr 10 08:31 /home/blacky/public_html/setup/.htaccess

i tried to chmod it to 600 - 640 - 777 and nothing happened.. !
Title: Re: 500 error
Post by: Charles Kingsley on April 13, 2012, 02:49:40 PM
Find me on IRC if you want me to look at this with/for you.

irc.anope.org #anope chaz
Title: Re: 500 error
Post by: BlackDragon on April 13, 2012, 03:18:02 PM
i am there... but you are not aparently... :P
Title: Re: 500 error
Post by: BlackDragon on April 13, 2012, 03:50:22 PM
well... rebuilding apache now... let's hope i found the problem myself :P
Title: Re: 500 error
Post by: BlackDragon on April 13, 2012, 05:28:01 PM
ok fixed... working now... had some problems with permissions though ! :/
Title: Re: 500 error
Post by: BlackDragon on April 13, 2012, 05:48:51 PM
well.... i still have issues with the admin account/setup ... can someone get it working for me? Hal9000 ?
Title: Re: 500 error
Post by: Charles Kingsley on April 16, 2012, 02:06:10 PM
Yeah, sorry I missed you on irc.

Drop in sometime and PM me so I can see you :)
Title: Re: 500 error
Post by: BlackDragon on April 16, 2012, 10:55:25 PM
everything works just fine... the thing was that some folders needed chmod !?!?! and noone told me that the denora db and magirc db should be ONE !?!?!
Title: Re: 500 error
Post by: Hal9000 on April 17, 2012, 07:00:50 AM
they CAN be one, the don't have to be one though