| View previous topic :: View next topic |
| Author |
Message |
Nick
Joined: 07 Aug 2008 Posts: 16 Location: Romania
|
Posted: Aug 07, 2008 9:53 am Post subject: [SOLVED]Can't locate XFileConfig.pm in @INC |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Aug 07, 2008 11:36 am Post subject: |
|
|
That's strange, in install.cgi try to add
above
| Code: | | my $ses = Session->new; |
|
|
| Back to top |
|
 |
Nick
Joined: 07 Aug 2008 Posts: 16 Location: Romania
|
Posted: Aug 07, 2008 11:45 am Post subject: |
|
|
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:
|
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Aug 07, 2008 12:26 pm Post subject: |
|
|
| Hmm..never faced this problem with our install.cgi, can you PM me FTP or SSH access to investigate the problem. |
|
| Back to top |
|
 |
Nick
Joined: 07 Aug 2008 Posts: 16 Location: Romania
|
Posted: Aug 07, 2008 1:01 pm Post subject: |
|
|
Details sent via private message.
Thank you,
Nick |
|
| Back to top |
|
 |
Nick
Joined: 07 Aug 2008 Posts: 16 Location: Romania
|
Posted: Aug 07, 2008 2:21 pm Post subject: |
|
|
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 ) customer,
Nick |
|
| Back to top |
|
 |
Nick
Joined: 07 Aug 2008 Posts: 16 Location: Romania
|
Posted: Aug 07, 2008 4:22 pm Post subject: |
|
|
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 |
|
 |
Nick
Joined: 07 Aug 2008 Posts: 16 Location: Romania
|
Posted: Aug 10, 2008 6:24 pm Post subject: |
|
|
All issues solved and now the script is working like a charm
Thanks a lot for all your help and patience during the last 5 days!
Regards,
Nick |
|
| Back to top |
|
 |
|
|
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
|