Gossamer Forum
Home : Products : DBMan SQL : Discussion :

limit of search_results.html?

Quote Reply
limit of search_results.html?
Hello,

I am running into some problem. I have been adding some lines to search_results.html , when I come to certain points, the following error shows up:

A fatal error has occured:
GT::Template (25398): Unable to run compiled template file '/ip/librcsd/www/dbman/admin/templates/default/compiled/search_results.html.compiled'. Reason: $@: Illegal octal digit '9' at /ip/librcsd/www/dbman/admin/templates/default/compiled/search_results.html.compiled line 358, at end of line. $!: at /ip/librcsd/www/dbman/admin/Dbsql/Home.pm line 116.


Please enable debugging in setup for more details.

I then remove the latest added line, the program begins to work again. Strange. Maybe I shouldn't let search_results.html do most of work, and put those lines in MYSQL instead?




Jian Liu
Indiana University Libraries
Quote Reply
Re: [jiliu] limit of search_results.html? In reply to
Are you using a digit in that template like 0999 or something like that?
Quote Reply
Re: [RedRum] limit of search_results.html? In reply to
Yes, indeed.

I have one column named 01, 02, 03, 04... to 65, and in the search_results.html, I have something like, if 01, do this, and etc. I have about 20 of those ifs, and then I got the error message. Before then, everything worked fine. So I thought maybe there is some kind of length limit.
Jian Liu
Indiana University Libraries
Quote Reply
Re: [jiliu] limit of search_results.html? In reply to
Octal digits are the problem - numbers beginning like a valid octal digit that aren't really octal cause perl to spew.

Do you have ' ' around the number?....Im not sure if that will fix it.

Last edited by:

RedRum: Jan 14, 2002, 10:51 AM
Quote Reply
Re: [RedRum] limit of search_results.html? In reply to
Thanks for the tip. I changed the digits to letters and it seems to be working fine now.
Jian Liu
Indiana University Libraries