Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: 500 error  (Read 11249 times)

0 Members and 1 Guest are viewing this topic.

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
500 error
« on: April 05, 2012, 08:53:38 PM »

what am i supposed to check so i can fix this error ?
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: 500 error
« Reply #1 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.
Logged

Hal9000

  • Team
  • *
  • Offline Offline
  • Posts: 103
Re: 500 error
« Reply #2 on: April 06, 2012, 10:08:57 PM »

please try the latest version from github, chances are the problem has been fixed
Logged

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
Re: 500 error
« Reply #3 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
Logged

Hal9000

  • Team
  • *
  • Offline Offline
  • Posts: 103
Re: 500 error
« Reply #4 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
Logged

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
Re: 500 error
« Reply #5 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
« Last Edit: April 10, 2012, 01:40:21 PM by BlackDragon »
Logged

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
Re: 500 error
« Reply #6 on: April 11, 2012, 11:57:15 AM »

help me :(
Logged

Hal9000

  • Team
  • *
  • Offline Offline
  • Posts: 103
Re: 500 error
« Reply #7 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?
Logged

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
Re: 500 error
« Reply #8 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
Logged

Alexander Maassen

  • Anope User
  • Offline Offline
  • Posts: 4
Re: 500 error
« Reply #9 on: April 13, 2012, 09:08:11 AM »

what does ls -l /home/blacky/public_html/setup/.htaccess tell you ?
Logged

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
Re: 500 error
« Reply #10 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.. !
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: 500 error
« Reply #11 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
Logged

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
Re: 500 error
« Reply #12 on: April 13, 2012, 03:18:02 PM »

i am there... but you are not aparently... :P
Logged

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
Re: 500 error
« Reply #13 on: April 13, 2012, 03:50:22 PM »

well... rebuilding apache now... let's hope i found the problem myself :P
Logged

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
Re: 500 error
« Reply #14 on: April 13, 2012, 05:28:01 PM »

ok fixed... working now... had some problems with permissions though ! :/
Logged

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
Re: 500 error
« Reply #15 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 ?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: 500 error
« Reply #16 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 :)
Logged

BlackDragon

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 44
  • Hellenic Administrator
    • Hellenic
Re: 500 error
« Reply #17 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 !?!?!
Logged

Hal9000

  • Team
  • *
  • Offline Offline
  • Posts: 103
Re: 500 error
« Reply #18 on: April 17, 2012, 07:00:50 AM »

they CAN be one, the don't have to be one though
Logged
Pages: [1]   Go Up