GET /group/new gives 500

I get a blank page, whenever i try to add a group.

http://statusnet.pplsnet.com/group/new

and the logs give me:

statusnet.pplsnet.com - [31/Oct/2010:12:38:21 -0400] "GET /group/new HTTP/1.1" 500 0 "http://statusnet.pplsnet.com/group" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.13) Gecko/20100914 Firefox/3.5.13"

I have fancy on, and this works fine:

http://statusnet.pplsnet.com/technobuddha/all

what should i be looking at to troubleshoot?

thanks!

Comments

  • technobuddhatechnobuddha
    Ok, fresh install on one of my other servers.

    I get the SAME ERROR...

    so is this a bug with the new version?

  • technobuddhatechnobuddha
    I am soooo embarrassed! I had errors turned off in my php.ini.

    here is the error, for both a fresh install and and "upgrade" from .9.5 to .9.6
    when I try and add a new group:

    Notice: Undefined variable: base_url in /www/statusnet.pplsnet.com/pages/index.php on line 207 Parse error: syntax error, unexpected ';' in /www/statusnet.pplsnet.com/pages/actions/newgroup.php on line 150
  • jordancjordanc
    @technobuddha it looks like there is something wrong with your install, fancy urls are not working properly either.
    Can I have the output of
    php scripts/setconfig.php -a (remove the sensitive password info)
    and please show me what your .htaccess file looks like
  • technobuddhatechnobuddha
    hey there jordanc! thanks for your time.
    this is a fresh install on another server.
    I don't use .htaccess, cause i'm using lighttpd.
    I removed the server.error-handler-404 = "/index.php" from my lighttpd.conf
    and I now get this error (which i've seen someone else has said its a bug?):

    Notice: Undefined variable: base_url in /index.php on line 207

    now to answer your question:
    setconfig.php -a

    http://pastebin.com/1NSv3iCg

  • jordancjordanc
    @technobuddha Ahh, the software is generally designed with Apache in mind.. Try adding this line to your config.php

    $config['site']['path'] = '';

    It might clear up some of the errors. Although there might also be some issues because it looks like you're migrating from gnusocial to statusnet with legacy gnusocial info still in there.
  • technobuddhatechnobuddha
    yep, that's what i thought too! So i did an install from scratch, and i still get the same errors.

    if you have time to go here: you can see for yourself: http://gnusocial.pplsnet.com/

    this was the old location. i put things into the new location: http://statusnet.pplsnet.com/

    BUT, I created a fresh install of statusnet-0.9.6.tar.gz on the old location: http://gnusocial.pplsnet.com/

    and I got those errors.

    OK, so I did as you told, and put in: $config['site']['path'] = '';

    Notice: Undefined variable: base_url in /www/gnusocial.pplsnet.com/pages/index.php on line 207

    I go and try to add a group, and I get:

    Notice: Undefined variable: base_url in /www/gnusocial.pplsnet.com/pages/index.php on line 207 Parse error: syntax error, unexpected ';' in /www/gnusocial.pplsnet.com/pages/actions/newgroup.php on line 150

    i don't use fancy, I don't have the lighttpd 404 rewrite... stock install....






  • jordancjordanc
    @technobuddha I think you've still got problems with fancy urls and redirect that is breaking other things. I tried to register an account and it pointed me to this url - which is not right
    http://statusnet.pplsnet.com///index.php/main/register

    Can you try to see if you can make it work in apache then give it a shot in lighttpd?
  • technobuddhatechnobuddha
    *ugh* no. i don't have an apache that can do it at this time.. only lighttpd...

    ok, well i guess i'll have to go back to .9.5 for now, until the code works better with lighttpd.. thanks anyways!
  • jessykatejessykate
    **update**: this is already submitted as a bug and fixed, but no patch release yet:
    http://status.net/open-source/issues/2866

    FWIW, i had the same error:
    syntax error, unexpected ';' in /www/[site-name]/actions/newgroup.php on line 150

    it actually IS a syntax error-- there is a missing closing paren on line 150. add an extra one at the end of the line and you're good to go.

    (also, i am using nginx, although i don't think it's relevant).
  • CaptainStarbuckCaptainStarbuck
    Confirmed that fixed the error. End of line 150 should look like:
    ())));
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID