[OA] Post Marks Error

Les Richardson les at celery.richtech.ca
Sun Aug 20 12:50:27 EST 2006


Hi Methodius,

Yes, sloppy work on my part. This was obviously unfinished since I was 
converting Gradebook scripts down to single scripts to try to reduce 
script count. The general process is where there are multiple scripts like 
post0.pl and post1.pl to integrate them into a single script 'post.pl' 
(which I've done for may scripts in the last 8 months or so). This makes 
them easier to maintain since there is less overhead for script setup with 
a common header part at the start.

I've rewritten post.pl and finished the i18n work as well. Please test to 
make sure all is well with this script also. This is also on the demo 
site and in updates area.


Les



On Wed, 9 Aug 2006, Methodius Dusyk wrote:

> Hi
>
> I am testing OA 2.00.  In the Grade Book, when I post marks to the 
> Report Card system I get a white screen. Checking the logs I see the 
> following.
>
> Undefined subroutine &main::postMark called at 
> /opt/schools/testschool/tcgi/gbook/post.pl line 99, <TERM> line 1., 
> referer: 
> http://testschoolt.lskysd.ca/cgi-bin/gbook/post.pl?subjsec=0533-10 
> <http://testschoolt.lskysd.ca/cgi-bin/gbook/post.pl?subjsec=0533-10>
>
>
> Checking the post.pl file the function called is postMark(); , whereas 
> the function itself is called postMarks.  I corrected this for this 
> site.
>
> I also had to comment out the following section at the top of the of the 
> subroutine postMarks
>
> #   foreach my $key (keys %arr) { print "K:$key V:$arr{$key}<br>\n"; }
> #   die;
>
> Methodius



More information about the Openadmin mailing list