Another symptom:
in another method
sub do_edit_and_upload : Exported {
my ($self, $r) = @_;
# deal with uploaded file
$self->do_edit($r);
}
something fishy happens at $self->do_edit($r) as nothing is created
in the DB.
Again, all worked fine when it was a copy and paste from M:M:CDBI job.
On 20 Dec 2005, at 15:29, Kieren Diment wrote:
Working on this SSIsearch thing, I had:
sub SSIsearch : Exported {
my ( $self, $r ) = @_;
$r->{template_args}{ssi} = 1;
$self->search($r);
}
which doesn't work. The error log fills up with (unfortunately
illegible) information about an error in my sql syntax. I'm pretty
sure there aren't any reserved words in my table either.
However, it all works fine when I cut and paste the search method
from Maypole::Model::CDBI.
Any ideas?
kd
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through
log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users