I don't see anything wrong in your code. The one thought I had was that
Linux is case sensitive. Verify your page names match the cases
specified in the URLs. Under windows the web servers don't care about
case as the OS does not. In Linux they enforce case very specifically. I
don't know if it matters to you but you have hardcoded your charsets to
be ISO Latin 1. I usually make a point to use utf-8 as it is more
flexible, especially in combination with Cache unicode in web
applications. The only other thought I had was that the query is failing
to find the menu table definitions. Can you test the query manually and
validate that is is returning rows?
Leonardo J. Tramontina wrote:
Ok, my situation is:
I have a page called menu.csp and when it is invoked, it calls menuSup.csp
and menuInf.csp. In menuInf.csp is where I show (by a query) the menus for
the user that is logged. The pages are attached.
All the forms open at menuInf.csp.
The strange is this is working at Windows, but not at Linux. And I want
exactly show that there is no difference between have an applications at
Linux ans Windows....
The query LinksPaiNivel is:
Query LinksPaiNivel(pai As %Integer) As %SQLQuery(CONTAINID = 1)
{
SELECT
%ID,Titulo,Descricao,URL,"NivelAcesso->ID","NivelAcesso->Descricao","MenuPai
->Descricao" FROM LinkMenu
WHERE (MenuPai = :pai)
ORDER BY Titulo, MenuPai, NivelAcesso
}
And the table LinkMenu is populated with real data...