Menu

2/3 of lw.cgi succeeded. lm.cgi/fm.cgi failed

2002-07-04
2002-07-04
  • Nobody/Anonymous

    I got the following errors:

    1. lw.cgi: can view Home & Test Tags. But Admin Tag said "you do not have permission..."

    2. lm.cgi and fm,cgi returned an error:

    Can't locate object method "new" via package "CGI::new" at c:/perl/site/lib/LibWeb/CGI.pm line 81.

    Anyne to help?

     
    • Anonymous

      Anonymous - 2002-07-04

      Hi,

      1.  Ack, this is a weird situation.  An error message like this will occur if you are logged in as a non-Admin user and you try to go to the Admin tab...but you won't be able to log in as the Admin user without getting to that very same Admin page(!).  What you will need to do is to "log out" your current user, then go back to the Admin tab.  You can "log out" the current credentials by just waiting (the time to automatic log-out is set in the .lwrc file, but I don't remember the default value off the top of my head.  maybe it was 8 or 10 hours?) or by deleting your cookies for the libweb application (how to do this depends on your browser.).  I guess this will be our lesson to make sure that all the sample programs have Log Out links on the pages...   ;-)

      2.  You might get an error like this if the LibWeb::CGI.pm module was installed, but the plain perl CGI.pm was not installed (or not in one of the places where your perl looks for modules by default).  I would recommend that you check for this first, since LibWeb::CGI requires the 'plain old' CGI.pm to work properly. 

      Hope this helps, let us know if you have any more questions!
      Cheers,
      -siimat 

       

Log in to post a comment.