Loading ...
Sorry, an error occurred while loading the content.

RE: [PBML] Perl Modules - errors...

Expand Messages
  • Gordon Stewart
    ... Basically - Ive got the two databases/ Two sets of headers and things & CGI/PM files.. one set is :- nz.kwister.com = /cgi-bin/ The other is at
    Message 1 of 5 , Sep 1, 2002
    • 0 Attachment
      At 13:00 31/08/02 -0500, you wrote:

      > I couldn't reproduce this error without others.
      >According to perldiag this is a generic warning
      >perl raises when more specific warnings like not
      >in @INC and not returning true pass. Can you supply
      >the code for the bannerside1 module. Perhaps
      >something in it is hiccupping.


      >
      >: The URL is :-
      >:
      >: http://tdview.kwister.com/
      >:
      >: Basically, I've got the same database system - With two lots
      >: of data, & two headers/footers etc..
      >:
      >: I'm combining them into one set of scripts, & the sub-domain
      >: determines which set of headers/data/footers the script
      >: will show..
      >:
      >: The script DOES work - in my regular/normal mode..
      >
      > What does mean "regular/normal mode" mean?


      Basically - Ive got the two databases/ Two sets of headers and things &
      CGI/PM files..

      one set is :-

      nz.kwister.com = /cgi-bin/ The other is at

      http://disabled.kwister.com/ = /cgi-bin/health/ (i'm going to re-name
      that sub domain

      Each sub domain - Goes into a different CGI directory - Each has its own
      set of CGI files & stuff..
      If I make improvements to one Set of CGI scripts I need to also alter the
      2nd set..

      I'm combining them into one set - So each subdomain goes into the same set
      of files.

      In my test directory - To combine the two, in cgi-bin/test, Thosecfiles
      cause the error..

      In the forum of the ISP/HOST, someone mentioned to

      BEGIN { push @INC, ".\""; } - As apparently the server isnt accessing the
      PM file in the same directory..

      & ive got the EXACT same pm file oin the /cgi-bin/ directory - So why isnt
      it accessing that ?


      Curious...

      I'll ZIP my PM file & send the URL shortly...

      G.


      ----------


      ---
      Outgoing mail is certified Virus Free.
      Checked by AVG anti-virus system (http://www.grisoft.com).
      Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/02


      [Non-text portions of this message have been removed]
    • Gordon Stewart
      http://groups.yahoo.com/group/perl-beginner/files/GordonStewart/bannerside1.pm Ive uploaded the script - You may need to view source to see it.. G ...
      Message 2 of 5 , Sep 1, 2002
      • 0 Attachment
        http://groups.yahoo.com/group/perl-beginner/files/GordonStewart/bannerside1.pm

        Ive uploaded the script - You may need to 'view source' to see it..


        G

        ----------


        ---
        Outgoing mail is certified Virus Free.
        Checked by AVG anti-virus system (http://www.grisoft.com).
        Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/02


        [Non-text portions of this message have been removed]
      • Charles K. Clarkson
        ... Here are the errors I got from the command line. If you re just getting the last 2 lines, then your you re using a different bannerside1.pm than one you
        Message 3 of 5 , Sep 1, 2002
        • 0 Attachment
          Gordon Stewart [mailto:gordon@...] wrote:
          :
          : At 13:00 31/08/02 -0500, you wrote:
          :
          : > I couldn't reproduce this error without others.
          : >According to perldiag this is a generic warning
          : >perl raises when more specific warnings like not
          : >in @INC and not returning true pass. Can you supply
          : >the code for the bannerside1 module. Perhaps
          : >something in it is hiccupping.

          Here are the errors I got from the command line.
          If you're just getting the last 2 lines, then your
          you're using a different bannerside1.pm than one you
          showed. Do you have access to the command line?
          Taking care of these things might help. You should
          also drop '1;' to the bottom of the file, below
          the getlist sub (though it doesn't seem to matter).

          Global symbol "$site" requires explicit package name at bannerside1.pm
          line 21.
          Global symbol "$site" requires explicit package name at bannerside1.pm
          line 22.
          Global symbol "%t" requires explicit package name at bannerside1.pm line
          24.
          Global symbol "%t" requires explicit package name at bannerside1.pm line
          25.
          Global symbol "$bannerlist" requires explicit package name at
          bannerside1.pm line 26.
          Global symbol "%t" requires explicit package name at bannerside1.pm line
          26.
          Global symbol "$site" requires explicit package name at bannerside1.pm
          line 26.
          Global symbol "%t" requires explicit package name at bannerside1.pm line
          28.
          Global symbol "%t" requires explicit package name at bannerside1.pm line
          29.
          Global symbol "%t" requires explicit package name at bannerside1.pm line
          30.
          Global symbol "$site" requires explicit package name at bannerside1.pm
          line 30.
          Compilation failed in require at aa.pl line 9.
          BEGIN failed--compilation aborted at aa.pl line 9.


          : In the forum of the ISP/HOST, someone mentioned to
          :
          : BEGIN { push @INC, ".\""; } - As apparently the server isnt
          : accessing the PM file in the same directory..

          Er, I think that's './' not ".\"". Use lib. It
          does some error checking:

          use lib './';


          : & ive got the EXACT same pm file oin the /cgi-bin/ directory
          : - So why isnt it accessing that ?

          It seems to me that it is accessing it. To be certain,
          rename bannerside1.pm and see if you get the same error.
          Then check file and directory permissions.


          HTH,

          Charles K. Clarkson
          --
          Head Bottle Washer,
          Clarkson Energy Homes, Inc.
          Small commercial and residential rehabilitation specialists.
          254 968-8328

          CJ Web Work - Solutions for Real Estate Investors.
          972 216-4952

          CJ Web Hosting - Lookout; We have one whole paying customer!
          254 968-8328
        Your message has been successfully submitted and would be delivered to recipients shortly.