SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
[SOLVED]Can't locate XFileConfig.pm in @INC

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
Nick



Joined: 07 Aug 2008
Posts: 16
Location: Romania

PostPosted: Aug 07, 2008 9:53 am    Post subject: [SOLVED]Can't locate XFileConfig.pm in @INC Reply with quote

Hello,

As the title says, when I'm trying to execute install.cgi I get the 500 error, internal server error.

The Apache error log says:

Code:

Can't locate XFileConfig.pm in @INC


How do I add XFileConfig.pm to INC or how do I specify in the code where to look for it?

I've searched the forum for a similar issue but I couldn't find any therefore I've decided to post my problem here.

Thank you,

Nick

***Later edit***

I've solved the issue by adding the path to the directory containing the XFileConfig.pm file to the "use lib" but now I have a different error:

Code:

[Thu Aug 07 13:21:00 2008] [error] [Thu Aug  7 13:21:00 2008] -e: Can't call method "f" on an undefined value at /***/***/******/****/cgi-bin/install.cgi line 25.\n


Any help would be appreciated.

Thank you!


Last edited by Nick on Aug 10, 2008 8:23 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Aug 07, 2008 11:36 am    Post subject: Reply with quote

That's strange, in install.cgi try to add
Code:
require Session;

above
Code:
my $ses = Session->new;
Back to top
View user's profile Send private message Visit poster's website AIM Address
Nick



Joined: 07 Aug 2008
Posts: 16
Location: Romania

PostPosted: Aug 07, 2008 11:45 am    Post subject: Reply with quote

I get the same error now on line 26 (same line considering I've added the extra line 'require Session;'.

Code:


Can't call method "f" on an undefined value at /***/***/******/****/cgi-bin/install.cgi line 26.



The line with the error is:

Code:


my $f = $ses->f;

Back to top
View user's profile Send private message Visit poster's website
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Aug 07, 2008 12:26 pm    Post subject: Reply with quote

Hmm..never faced this problem with our install.cgi, can you PM me FTP or SSH access to investigate the problem.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Nick



Joined: 07 Aug 2008
Posts: 16
Location: Romania

PostPosted: Aug 07, 2008 1:01 pm    Post subject: Reply with quote

Details sent via private message.

Thank you,

Nick
Back to top
View user's profile Send private message Visit poster's website
Nick



Joined: 07 Aug 2008
Posts: 16
Location: Romania

PostPosted: Aug 07, 2008 2:21 pm    Post subject: Reply with quote

As many have said before me ... if you're planning to buy this software and still have doubts .. don't!

The most important thing about a program or script is the possibility to actually use it on your platform and this usually comes with after sales support!

These guys from XFileSharing are great at that. Finally a good platform with an excellent after sales support at such a LOW cost (only 120$).

This is great!

Keep it up XFileSharing!

A satisfied (so far Smile) customer,


Nick
Back to top
View user's profile Send private message Visit poster's website
Nick



Joined: 07 Aug 2008
Posts: 16
Location: Romania

PostPosted: Aug 07, 2008 4:22 pm    Post subject: Reply with quote

Coming back with a new error that I didn't previously notice:

upon entering the database credentials and trying to save them I get this error:

Code:


HTML::Template->new() : Cannot open included file Templates/message.html : file not found. at /***/***/******/****/cgi-bin/Modules/HTML/Template.pm line 329
   HTML::Template::_init_template('HTML::Template=HASH(0x8711060)') called at /***/***/******/****/cgi-bin/Modules/HTML/Template.pm line 123
   HTML::Template::_init('HTML::Template=HASH(0x8711060)') called at /***/***/******/****/cgi-bin/Modules/HTML/Template.pm line 79
   HTML::Template::new('HTML::Template', 'filename', 'Templates/message.html', 'die_on_bad_params', 0, 'global_vars', 1, 'loop_context_vars', 1, ...) called at /***/***/******/****/cgi-bin/Modules/Session.pm line 118
   Session::CreateTemplate('Session=HASH(0x8302354)', 'message.html') called at /***/***/******/****/cgi-bin/Modules/Session.pm line 154
   Session::PrintTemplate('Session=HASH(0x8302354)', 'message.html', 'err', 'Can\'t read XFileConfig') called at /***/***/******/****/cgi-bin/Modules/Session.pm line 190
   Session::message('Session=HASH(0x8302354)', 'Can\'t read XFileConfig') called at /***/***/******/****/cgi-bin/install.cgi line 53
   ModPerl::****::ModPerl::PerlRun::***_***_******_****_cgi_2dbin_install_2ecgi::handler('Apache2::RequestRec=SCALAR(0x8859fb8)') called at /usr/lib/perl5/vendor_perl/5.8.8/i486-linux/ModPerl/RegistryCooker.pm line 204
   eval {...} called at /usr/lib/perl5/vendor_perl/5.8.8/i486-linux/ModPerl/RegistryCooker.pm line 204
   ModPerl::RegistryCooker::run('ModPerl::PerlRun=HASH(0x82a703c)') called at /usr/lib/perl5/vendor_perl/5.8.8/i486-linux/ModPerl/RegistryCooker.pm line 170
   ModPerl::RegistryCooker::default_handler('ModPerl::PerlRun=HASH(0x82a703c)') called at /usr/lib/perl5/vendor_perl/5.8.8/i486-linux/ModPerl/PerlRun.pm line 31
   ModPerl::PerlRun::handler('ModPerl::PerlRun', 'Apache2::RequestRec=SCALAR(0x8859fb8)') called at -e line 0
   eval {...} called at -e line 0



The Apache error log looks like this:

Code:


[Thu Aug 07 18:23:25 2008] [error] [Thu Aug  7 18:23:25 2008] -e: HTML::Template->new() : Cannot open included file Templates/message.html : file not found. at /***/***/******/****/cgi-bin/Modules/HTML/Template.pm line 329\n[Thu Aug  7 18:23:25 2008] -e: \tHTML::Template::_init_template('HTML::Template=HASH(0x8720d50)') called at /***/***/******/****/cgi-bin/Modules/HTML/Template.pm line 123\n[Thu Aug  7 18:23:25 2008] -e: \tHTML::Template::_init('HTML::Template=HASH(0x8720d50)') called at /***/***/******/****/cgi-bin/Modules/HTML/Template.pm line 79\n[Thu Aug  7 18:23:25 2008] -e: \tHTML::Template::new('HTML::Template', 'filename', 'Templates/message.html', 'die_on_bad_params', 0, 'global_vars', 1, 'loop_context_vars', 1, ...) called at /***/***/******/****/cgi-bin/Modules/Session.pm line 118\n[Thu Aug  7 18:23:25 2008] -e: \tSession::CreateTemplate('Session=HASH(0x83029c0)', 'message.html') called at /***/***/******/****/cgi-bin/Modules/Session.pm line 154\n[Thu Aug  7 18:23:25 2008] -e: \tSession::PrintTemplate('Session=HASH(0x83029c0)', 'message.html', 'err', 'Can\\'t read XFileConfig') called at /***/***/******/****/cgi-bin/Modules/Session.pm line 190\n[Thu Aug  7 18:23:25 2008] -e: \tSession::message('Session=HASH(0x83029c0)', 'Can\\'t read XFileConfig') called at /***/***/******/****/cgi-bin/install.cgi line 53\n[Thu Aug  7 18:23:25 2008] -e: \tModPerl::****::ModPerl::PerlRun::***_***_******_****_cgi_2dbin_install_2ecgi::handler('Apache2::RequestRec=SCALAR(0x82b6a94)') called at /usr/lib/perl5/vendor_perl/5.8.8/i486-linux/ModPerl/RegistryCooker.pm line 204\n[Thu Aug  7 18:23:25 2008] -e: \teval {...} called at /usr/lib/perl5/vendor_perl/5.8.8/i486-linux/ModPerl/RegistryCooker.pm line 204\n[Thu Aug  7 18:23:25 2008] -e: \tModPerl::RegistryCooker::run('ModPerl::PerlRun=HASH(0x830248c)') called at /usr/lib/perl5/vendor_perl/5.8.8/i486-linux/ModPerl/RegistryCooker.pm line 170\n[Thu Aug  7 18:23:25 2008] -e: \tModPerl::RegistryCooker::default_handler('ModPerl::PerlRun=HASH(0x830248c)') called at /usr/lib/perl5/vendor_perl/5.8.8/i486-linux/ModPerl/PerlRun.pm line 31\n[Thu Aug  7 18:23:25 2008] -e: \tModPerl::PerlRun::handler('ModPerl::PerlRun', 'Apache2::RequestRec=SCALAR(0x82b6a94)') called at -e line 0\n[Thu Aug  7 18:23:25 2008] -e: \teval {...} called at -e line 0\n\t(in cleanup) Can't locate object method "UnInitDB" via package "Session" at /***/***/******/****/cgi-bin/Modules/Session.pm line 26.\n



I believe I've got serious path issues with the latest customizations made ...


Nick
Back to top
View user's profile Send private message Visit poster's website
Nick



Joined: 07 Aug 2008
Posts: 16
Location: Romania

PostPosted: Aug 10, 2008 6:24 pm    Post subject: Reply with quote

All issues solved and now the script is working like a charm Wink

Thanks a lot for all your help and patience during the last 5 days!

Regards,

Nick
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group