[OA] Transfer withdrawn student - globenrol.pl

Les Richardson les at celery.richtech.ca
Thu Aug 24 16:09:28 EST 2006


Hi Methodius

This is now fixed and in the updates area for 2.01. There are _also_ fixes 
for sentry0.pl and trandel.pl, both which had errors. (and some other 
stuff, too... birthday lists, etc)

Man, who wrote this stuff? (grin)


Les



On Thu, 24 Aug 2006, Methodius Dusyk wrote:

> Hi
>
> When I try to enrol a student who has been withdrawn from another school within our division I get a blank screen. Checking our logs I see the following:
>
> Scalar found where operator expected at /opt/schools/conn/cgi/entry/globenrol.pl line 107, near "] $arr", referer: http://conna.lskysd.ca/cgi-bin/entry/sentry0.pl <http://conna.lskysd.ca/cgi-bin/entry/sentry0.pl>
>
> I addjusted the cgi/entry/globenrol.pl script to make it work. The following is a diff of the old and new file.
>
> [root at ogimow entry]# diff globenrol.pl.original  globenrol.pl
> 110c110
> <       '$arr{country}','Y','$arr[$m{lastname}] $arr[$m{firstname] $arr[$m{initial}] $arr[$m{birthdate}] $arr[$m{provnum}]')");
> ---
>>       '$arr{country}','Y',$arr[$m{lastname}] $arr[$m{firstname}] $arr[$m{initial}] $arr[$m{birthdate}] $arr[$m{provnum}])");
>
> I added a curly bracket after firstname and removed the last set of single quotes. The script works OK now.
>
> Methodius
>
> _______________________________________________
> Openadmin mailing list
> Openadmin at pananix.com
> https://www.pananix.com/cgi-bin/mailman/listinfo/openadmin
>


More information about the Openadmin mailing list