PERL ERROR

Powerfull XFileSharing version

Moderator: admin

Message
Author
stunna
Posts: 44
Joined: Apr 25, 2010 10:19 pm

PERL ERROR

#1 Postby stunna » Aug 23, 2010 5:23 pm

I copied my script to a new server and now I am getting this:

Can't locate CGI/Pager.pm in @INC (@INC contains: Plugins Modules . /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at /home/mockuse/public_html/cgi-bin/index.cgi line 8.
BEGIN failed--compilation aborted at /home/mockuse/public_html/cgi-bin/index.cgi line 8.


Can anyone help please.

find /usr/lib/perl5 -name CPAN.pm -print 2>/dev/null
/usr/lib/perl5/5.8.8/CPAN.pm
[~]# find /usr/lib/perl5 -name Pager.pm -print 2>/dev/null
[~]# find /usr/lib/perl5 -name CGI.pm -print 2>/dev/null
/usr/lib/perl5/5.8.8/CGI.pm
/usr/lib/perl5/site_perl/5.8.8/AppConfig/CGI.pm

stunna
Posts: 44
Joined: Apr 25, 2010 10:19 pm

#2 Postby stunna » Aug 23, 2010 6:54 pm

I also see in the logs:
[Mon Aug 23 13:44:11 2010] [error] malformed header from script. Bad header=X: index.cgi

any explanation?

admin
Site Admin
Posts: 1784
Joined: Mar 22, 2006 12:32 pm

#3 Postby admin » Aug 24, 2010 8:12 am

Try to install perl module CGI::Pager

stunna
Posts: 44
Joined: Apr 25, 2010 10:19 pm

#4 Postby stunna » Aug 24, 2010 2:32 pm

I did, I got past that step.

CPAN: Storable loaded ok (v2.15)
Going to read /home/.cpan/Metadata
Database was generated on Mon, 23 Aug 2010 02:36:37 GMT
CGI::Pager is up to date (1.00).

Now the error I get is Software error:

Can't exec:
Column 'ip' cannot be null at Modules/DataBase.pm line 55.

when a link is clicked on my site.I check the logs and see Can't exec:
Column 'ip' cannot be null

any ideas?

mrperl
Posts: 65
Joined: Mar 06, 2010 11:40 am

re: PERL ERROR

#5 Postby mrperl » Sep 03, 2010 3:57 pm

If you're using XFS Pro, 1.8, get the latest version and re-install it correctly based on the installation instructions (run the .sql and .cgi installation scripts as documented.)

If you still have a problem, reply to this post again.

mrperl

stunna
Posts: 44
Joined: Apr 25, 2010 10:19 pm

#6 Postby stunna » Sep 06, 2010 12:53 am

Yes I am still getting that error:

Software error:

Can't exec:
Column 'ip' cannot be null at /home/public_html/cgi-bin/index.cgi line 2652

andy help ?

mrperl
Posts: 65
Joined: Mar 06, 2010 11:40 am

re: PERL ERROR

#7 Postby mrperl » Sep 06, 2010 1:16 pm

Well, if you're still trying to fix this, then read my post on debugging here:

http://www.sibsoft.net/forum/software-e ... t2585.html

mrperl


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests