in reply to syntax error! jqGrid problem parsed by Catalyst server.pl

That is unusual—static files aren't parsed, they're just "shipped"—and the errors don't make sense—they don't seem to be Catalyst specific errors but generic perl errors. You also apparently posted this question twice :(

Examine the contents of root/static/js/jquery.jqGrid.min.js to ensure it's just JS as a start and then maybe set Catalyst::Plugin::Static::Simple to use debug and give the actual output of the *_server.pl when visiting /static/js/jquery.jqGrid.min.js while running under debug.

Replies are listed 'Best First'.
Re^2: syntax error! jqGrid problem parsed by Catalyst server.pl
by xiaoyafeng (Deacon) on Jun 26, 2010 at 04:56 UTC
    I'm shameful for my stupid fault. I set a default sub in controller, and it lead to server ship default page when it can't find jqGrid.min.js. How delete my post?! ;)




    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

      It's not shameful. It's the road we're on. I once spent, seriously, almost two hours trying to debug an “impossible” bug caused by fat-fingering ) with } in a place perl couldn't accurately tell me what was going on. The problem was obvious but I was sure it was something else so I kept debugging and swapping lines and messing around with print statements and applying the keyboard to my forehead… We’ve all got at least one of those.