[NUUG fiksgatami] Stuck setting up our fixmystreet copy - strange error

Petter Reinholdtsen pere at hungry.com
Fri Jan 9 20:50:24 CET 2009


For our Norwegian fixmystreet copy, I got the application running, and
the database loaded, but when I try to visit the front page, I get
this message:

  Sorry! Something's gone wrong.

  Please try again later, or email us to let us know.

  The text of the error was:
  /usr/share/perl5/Error.pm:38:

This is the messages in the log:

  [Fri Jan 09 20:21:36 2009] [error] [client 192.168.1.73] [Fri Jan 9
    20:21:36 2009] index.cgi: Use of uninitialized value within @_ in
    concatenation (.) or string at /usr/share/perl5/Error.pm line 264.
  [Fri Jan 09 20:21:36 2009] [error] [client 192.168.1.73] [Fri Jan 9
    20:21:36 2009] index.cgi: caught fatal exception:
    /usr/share/perl5/Error.pm:38: at
    /media/usb0/fixmystreet/web/../perllib/Page.pm line 64.
  [Fri Jan 09 20:21:36 2009] [error] [client 192.168.1.73] [Fri Jan 9
    20:21:36 2009] index.cgi: aborting at
    /media/usb0/fixmystreet/web/../perllib/Page.pm line 65.

I tried to use the perl debugger to track down where this error come
from.  I am a bit unsure if I was able to do this correcty, because
the perl debugger claim this line in mySociety/Web.pm:

     return bless($self, $class);

I found it hard to believe, as bless should be an internal perl
function, and might have gotten it worng.

I tried tracing it a bit, and ended up in the AUTOLOAD function and
did not really understand how it could fail.  Any clues to spare?

Cc to the Norwegian project list.

Happy hacking,
-- 
Petter Reinholdtsen


More information about the fiksgatami mailing list