I am trying to get xUpload Pro installed on an IIS server and have run into a path difficulty. When trying to view upload_form2.html I am getting a javascript error:
Error: unterminated string literal
Source File: http://badger-utility.com/cgi-bin/uploa ... gs&xmode=1
Line: 2, Column: 8
Source Code:
<pre>Can't locate XUploadConfig.pm in @INC (@INC contains: . c:/Perl/lib c:/Perl/site/lib) at d:\inetpub\badger-utility\cgi-bin\upload.cgi line 8.
The top 8 lines in upload.cgi are:
#!Perl
### XUpload PRO3.0
### SibSoft.net (Jan 2008)
use strict;
use lib '.';
use CGI::Carp qw(fatalsToBrowser);
use CGI qw/:standard/;
use XUploadConfig;
I know there is probably a simple answer to this, but I'm not aware of it. Any help would be greatly appreciated.
XUpload - Path problem on IIS6
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Still getting JS error
I added:
chdir('d:\inetpub\badger-utility\CGI-BIN');
to the second line of upload.cgi and I'm getting the same JS error. I tried escaping the backslashes also and it had no effect.
chdir('d:\inetpub\badger-utility\CGI-BIN');
to the second line of upload.cgi and I'm getting the same JS error. I tried escaping the backslashes also and it had no effect.
Any ideas?
Do you possibly have any ideas about this? I have used this script on an IIS machine before but haven't run into this path problem.