Topic: Punbb site 500 error

if you go to http://tactical-gaming.co.uk/upload/ you get a 500 error... how would i sort this... the error log shows

Sun May 06 16:46:03 2007] [warn] Cannot get media type from 'cgi-script'
[Sun May 06 16:46:03 2007] [error] [client 82.35.160.46] Premature end of script headers: index.php
[Sun May 06 16:47:42 2007] [error] [client 82.110.105.8]   adding: tactical-gaming.co.uk-access_log
[Sun May 06 16:47:42 2007] [error] [client 82.110.105.8]  (deflated 96%)
[Sun May 06 16:47:42 2007] [error] [client 82.110.105.8]   adding: tactical-gaming.co.uk-error_log

and my host is using the zend optermisation...

how would i sort it?

Sorry. Unactive due to personal life.

Re: Punbb site 500 error

I'd talk to your host and see if they have any ideas

Edit: Or try this:

FIND

    if (in_array(basename($_SERVER['PHP_SELF']), array('index.php', 'search.php')))
        $tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<ul class="conr">'."\n\t\t\t\t".'<li><a href="search.php?action=show_new">'.$lang_common['Show new posts'].'</a></li>'."\n\t\t\t\t".'<li><a href="misc.php?action=markread">'.$lang_common['Mark all as read'].'</a></li>'."\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
    else
        $tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';

REPLACE WITH

        $tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';

Re: Punbb site 500 error

what file??

Sorry. Unactive due to personal life.

Re: Punbb site 500 error

Oh, sorry, forgot that tongue
header.php

5 (edited by Utchin 2007-05-06 18:28)

Re: Punbb site 500 error

nope still get it. on two sites aswell http://tactical-gaming.co.uk/search.php

it does it on search, register, and all the admin options, but they still submit??

Sorry. Unactive due to personal life.

Re: Punbb site 500 error

Yeah, I saw that you only got the error on those two pages (you don't even get it when certain search URLs are triggered), which is why I was curious about that code.
I'm out of ideas, I would ask your host

Re: Punbb site 500 error

Smartys wrote:

Yeah, I saw that you only got the error on those two pages (you don't even get it when certain search URLs are triggered), which is why I was curious about that code.
I'm out of ideas, I would ask your host

just been looking around and the htacces file says:

ErrorDocument 404 "/error//http-error.cgi"
ErrorDocument 500 "/error//http-error.cgi"


?? that isnt the nornal file. and when i  replate it with the noram one, it denyes me acces to the whole site?

do i have to do anything via ftp for it to work

Sorry. Unactive due to personal life.

Re: Punbb site 500 error

I'd try deleting and reuploading the files

9 (edited by Utchin 2007-05-06 18:56)

Re: Punbb site 500 error

will do boss...

also i dont know if i move it accors the proper way, i exported and impoerted the mysql database and i just changed the config.php to the new settings? surley thats ok
??

altguht http://www.checkupdown.com/status/E500.html

there is says its not normaly a client side problem

Sorry. Unactive due to personal life.

Re: Punbb site 500 error

Yes, that shouldn't cause any problems

11

Re: Punbb site 500 error

nope, no effect sad


im puzzled on what it is too?

its not so much the search, but mainly the admin submit section that dosnt work sad

Sorry. Unactive due to personal life.

Re: Punbb site 500 error

Have you looked in the error and access log? According to this line:
[Sun May 06 16:47:42 2007] [error] [client 82.110.105.8]   adding: tactical-gaming.co.uk-error_log

There is another one that might have more info?

13

Re: Punbb site 500 error

acces log :

 gaming.co.uk/index.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
tactical-gaming.co.uk 86.3.124.104 - - [06/May/2007:20:22:57 +0100] "GET /img/smilies/smile.png HTTP/1.1" 200 598 "http://tactical-gaming.co.uk/index.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
tactical-gaming.co.uk 86.3.124.104 - - [06/May/2007:20:22:57 +0100] "GET /img/Sadness/back.png HTTP/1.1" 200 46 "http://tactical-gaming.co.uk/index.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
tactical-gaming.co.uk 86.3.124.104 - - [06/May/2007:20:22:57 +0100] "GET /img/Sadness/cellpic2.gif HTTP/1.1" 200 764 "http://tactical-gaming.co.uk/index.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
tactical-gaming.co.uk 86.3.124.104 - - [06/May/2007:20:22:57 +0100] "GET /img/Sadness/forum_arrow.gif HTTP/1.1" 200 80 "http://tactical-gaming.co.uk/index.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
tactical-gaming.co.uk 86.3.124.104 - - [06/May/2007:20:22:57 +0100] "GET /img/menu.jpg HTTP/1.1" 200 62110 "http://tactical-gaming.co.uk/index.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
tactical-gaming.co.uk 82.35.160.46 - - [06/May/2007:20:23:04 +0100] "GET /search.php HTTP/1.1" 200 371 "http://tactical-gaming.co.uk/index.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"
tactical-gaming.co.uk 86.3.124.104 - - [06/May/2007:20:23:27 +0100] "GET /misc.php?action=rules HTTP/1.1" 200 371 "http://tactical-gaming.co.uk/index.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"

error log:

 [Sun May 06 20:17:07 2007] [error] [client 82.35.160.46] Premature end of script headers: search.php, referer: http://tactical-gaming.co.uk/profile.php?id=2
[Sun May 06 20:18:02 2007] [error] [client 82.35.160.46] Premature end of script headers: admin_loader.php, referer: http://tactical-gaming.co.uk/admin_loader.php?plugin=AP_Clear_Cache.php
[Sun May 06 20:18:07 2007] [error] [client 82.35.160.46] Premature end of script headers: search.php, referer: http://tactical-gaming.co.uk/index.php
[Sun May 06 20:21:11 2007] [warn] Cannot get media type from 'cgi-script'
[Sun May 06 20:21:15 2007] [warn] Cannot get media type from 'cgi-script'
[Sun May 06 20:21:15 2007] [error] [client 82.35.160.46] Directory index forbidden by rule: /home/sites/tactical-gaming.co.uk/public_html/error/, referer: http://www.extendcp.com/install.cgi
[Sun May 06 20:22:27 2007] [error] [client 82.35.160.46] Premature end of script headers: search.php, referer: http://tactical-gaming.co.uk/index.php
[Sun May 06 20:22:30 2007] [error] [client 82.35.160.46] Premature end of script headers: search.php, referer: http://tactical-gaming.co.uk/index.php
[Sun May 06 20:23:04 2007] [error] [client 82.35.160.46] Premature end of script headers: search.php, referer: http://tactical-gaming.co.uk/index.php
[Sun May 06 20:23:27 2007] [error] [client 86.3.124.104] Premature end of script headers: misc.php, referer: http://tactical-gaming.co.uk/index.php
[Sun May 06 20:24:52 2007] [error] [client 82.110.105.8]   adding: tactical-gaming.co.uk-access_log
[Sun May 06 20:24:52 2007] [error] [client 82.110.105.8]  (deflated 96%)
[Sun May 06 20:24:52 2007] [error] [client 82.110.105.8]   adding: tactical-gaming.co.uk-error_log
Sorry. Unactive due to personal life.

Re: Punbb site 500 error

Hrmm, just a wild guess, but does your server configuration have any special settings for images?

15 (edited by Utchin 2007-05-06 19:36)

Re: Punbb site 500 error

elbekko wrote:

Hrmm, just a wild guess, but does your server configuration have any special settings for images?

not that i can see, im with www.thehosters.co.uk

i have a list of all the modules installed if that helps?

dont know if that is anything:

 Image::Info
Image::Info::BMP
Image::Info::GIF
Image::Info::JPEG
Image::Info::PNG
Image::Info::PPM
Image::Info::SVG
Image::Info::TIFF
Image::Info::XBM
Image::Info::XPM
Image::Magick
Image::TIFF

list of the Perl and PHP modules

Sorry. Unactive due to personal life.

16

Re: Punbb site 500 error

just had the enginners They say the server is fine, and they cannot see anything wrong. As they have run other php scripts which worked fine. The reason a 500 is occuring is because the script is making the server crash.

Sorry. Unactive due to personal life.

Re: Punbb site 500 error

Well, that doesn't make sense, since you have two copies of PunBB running and two files are affected on one where as only one is affected on the other wink

18

Re: Punbb site 500 error

Can you show me the tech spec for punbb

Sorry. Unactive due to personal life.

Re: Punbb site 500 error

What specs?

20 (edited by Utchin 2007-05-08 07:01)

Re: Punbb site 500 error

Smartys wrote:

What specs?

the minimum requirments to run punbb, its just php and mysql?


i have uploaded the files in ascii mode with passive on. now when i look at the flies on the host, there is no formating on notepad? is that ok? it seems to be on all the files....?


would moving host be a better idea, or is it relly a scipt error

Sorry. Unactive due to personal life.

Re: Punbb site 500 error

Could you try running an unmodded version?

Re: Punbb site 500 error

matt1298 wrote:
Smartys wrote:

What specs?

the minimum requirments to run punbb, its just php and mysql?

Requirements

    * A webserver (preferably Apache).
    * PHP 4.1.0 or later (PHP 5 included).
    * MySQL 3.23.17 or later, PostgreSQL 7.0 or later or SQLite. (see details below).

MySQL: PunBB will not work at all with any version prior to 3.23.17.

PostgreSQL: PunBB 1.2.* has been thoroughly tested on various versions between 7.3.3 and 7.4.5, but it should work fine with any version greater than 7.0. Please note that PHP 4.3.0 or later is required for PostgreSQL support.

SQLite: PunBB 1.2.* has only been thoroughly tested on versions 2.8.11 and 2.8.14 of SQLite, but should work with basically any version.

matt1298 wrote:

i have uploaded the files in ascii mode with passive on. now when i look at the flies on the host, there is no formating on notepad? is that ok? it seems to be on all the files....?
would moving host be a better idea, or is it relly a scipt error

They're PHP files, so I'd hope there wouldn't be formatting

23

Re: Punbb site 500 error

elbekko wrote:

Could you try running an unmodded version?

yeh i have, i lets me install it, but once i get onto the index.php i get 500 error... and its on all the pages?

Sorry. Unactive due to personal life.

24

Re: Punbb site 500 error

from what i can see, the server meets the specs...


would chaning host work?

Sorry. Unactive due to personal life.

25

Re: Punbb site 500 error

do i need any cirtin modules installed?

Sorry. Unactive due to personal life.