in reply to segfault on writing an image?
What happens if you comment out these two lines?
$sth = $self->param('DBH')->prepare( "UPDATE jbg_managed_props SET NumPhotos = 1 WHERE jbgPropertyID = ? " ); $sth->execute($id) if ( !$self->query->param('pId') );
Does the segfault go away?
It looks like your passing your DBI handle as a CGI parameter and then expecting it to work as one once it has been sent to the client and returned?
I'm not a CGI person, but I wouldn't expect that to work.
My apologies if $self is not a CGI object.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: segfault on writing an image?
by geektron (Curate) on Jul 15, 2004 at 14:43 UTC |