Koozali.org: home of the SME Server

Script error or SME permission or setup error.

ctoshack

Script error or SME permission or setup error.
« on: July 26, 2004, 08:18:30 AM »
What's up I could use some help.   I'm running a script on my server that is CGI and Perl.  I have set up an ibay for it and activated the Execution of dynamic content (CGI, PHP, SSI).  I have set all permissions on all files for full access chmod -R 0777 *  because I was having access problems with the suggested settings so I figured I would open it up untill I got the script running properly.   My problem is some of the cgi scripts don't seem to be executing and I'm wondering if it's an error in t :roll: he script or something to do with the way sme is setup and such.  This is a commercial script and should work just fine, its hard to get help from developers as alot of them don't seem to know what the hell they are looking at when they look at SME and or have never used it.   One developer thought I was using some sort of window server. LOL :hammer: and another said he's never seen a server that had components hard coded in templates   :roll:   Anyway's it's getting very frustrating and I know I'm very close to getting the problem solved.   Here is one of the error messages from my httpd: error_log.  I'm very new to SME and I've never written code in cgi or perl so I would appreciate any help.  


[Sun Jul 25 20:19:54 2004] MyAccount.cgi: Can't locate Mail/POP3Client.pm in @INC (@INC contains: /home/e-smith/files/ibays/ioffer/cgi-bin/auction /home/e-smith/files/ibays/ioffer/cgi-bin/auction . /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at /home/e-smith/files/ibays/ioffer/cgi-bin/auction/MyAccount.cgi line 82.

[Sun Jul 25 20:19:54 2004] MyAccount.cgi: BEGIN failed--compilation aborted at /home/e-smith/files/ibays/ioffer/cgi-bin/auction/MyAccount.cgi line 82.

[Sun Jul 25 20:19:54 2004] [error] [client 134.215.197.162] malformed header from script. Bad header=BEGIN failed--compilation abor: /home/e-smith/files/ibays/ioffer/cgi-bin/auction/MyAccount.cgi

ctoshack

Script error or SME permission or setup error.
« Reply #1 on: July 26, 2004, 08:57:02 AM »
Ok so I think what it means after some careful thought that I'm missing perl moduels.  I ran perldig.cgi and I don't have the perl moduel that the script is calling for.

Mail/POP3Client.pm

Can anyone tell me where I can find it and how to install it on SME properly.   I also need Net:SMTP.pm


Offline satovey

  • ****
  • 75
  • +0/-0
    • Yevotas Ministry Network
Script error or SME permission or setup error.
« Reply #3 on: July 27, 2004, 11:50:07 PM »
Quote from: "guest22"
http://search.cpan.org/~sdowd/Mail-POP3Client-2.16/POP3Client.pm


This is the place to find all perl moduels that
you need. However, SME does come with developer
tools by default, and you will need them in order
to compile the module properly. Expecially if
the modual was written in C or C++.

Scott
Scott A Tovey