Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Bug report - Admin Interface

Quote Reply
Bug report - Admin Interface
I had an error in my HTML_templaes.pm file.

When I clicked "build all" netscape prompted me to download or open a file.

The error message was not being sent to the main window as html (which it looked like), but was being returned as a file.... probably a content/header problem Smile Remember the \n\n <G> (The WWW/HTML equivalent of 'Remember the Alamo!').

Scott
Quote Reply
Re: Bug report - Admin Interface In reply to
You mean when you clicked on build all from the left bar you were prompted to download the file? Can you email me a URL where I can see this?

Cheers,

Alex
Quote Reply
Re: Bug report - Admin Interface In reply to
Hi,

I fixed the error condition, but you can probably re-create it by making a bad HTML_Templates.pm file (mine tried to include templates.cfg, to generate the error).

Rather than printing the error message in HTML, it prompted me to download.

This happens with header/content problems.

It has to be in the error routine that sends the error message back to the browser, or the code that sets up the header BEFORE it gets to the code to send back to the browser.

As I said, you can probably recreate it by trying to 'require' a file Smile