XUpload - Not working at all on windows/apache

Message
Author
DanDMan
Posts: 4
Joined: Dec 08, 2008 4:49 pm

Not working at all on windows/apache

#1 Postby DanDMan » Dec 08, 2008 5:10 pm

Ok, I just purchased xUploadPro

Its been put in a windows box using uniserver which is a pre packaged apache server with php,mysql,pearl ect..
Files are not being uploaded and infact nothing seems to happen, no progress bar, nothing!

Here is the server error log:
Apache Error Log, windows box wrote:Windows Box, apache server (uniserver) ERROR LOG:
[Mon Dec 08 09:33:08 2008] [error] [client 127.0.0.1] Premature end of script headers: upload.cgi, referer: http://me.com/upload_form.html
[Mon Dec 08 09:33:08 2008] [error] [client 127.0.0.1] Perl lib version (v5.8.7) doesn't match executable version (v5.8.8) at W:/usr/lib/Config.pm line 46.\r, referer: http://me.com/upload_form.html
[Mon Dec 08 09:33:08 2008] [error] [client 127.0.0.1] Compilation failed in require at W:/usr/lib/lib.pm line 6.\r, referer: http://me.com/upload_form.html
[Mon Dec 08 09:33:08 2008] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at W:/usr/lib/lib.pm line 6.\r, referer: http://me.com/upload_form.html
[Mon Dec 08 09:33:08 2008] [error] [client 127.0.0.1] Compilation failed in require at W:/cgi-bin/upload.cgi line 5.\r, referer: http://me.com/upload_form.html
[Mon Dec 08 09:33:08 2008] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at W:/cgi-bin/upload.cgi line 5.\r, referer: http://me.com/upload_form.html
I changed the required version in config.pm then the log show this:
apache error log, windows box wrote: [Mon Dec 08 09:38:09 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:09 2008] upload.cgi: Can't locate Digest/MD5.pm in @INC (@INC contains: . W:/usr/lib) at HTML/Template.pm line 894., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:09 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:09 2008] upload.cgi: BEGIN failed--compilation aborted at HTML/Template.pm line 894., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:09 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:09 2008] upload.cgi: Compilation failed in require at W:/cgi-bin/upload.cgi line 10., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:09 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:09 2008] upload.cgi: BEGIN failed--compilation aborted at W:/cgi-bin/upload.cgi line 10., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:13 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:13 2008] upload.cgi: Can't locate Digest/MD5.pm in @INC (@INC contains: . W:/usr/lib) at HTML/Template.pm line 894., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:13 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:13 2008] upload.cgi: BEGIN failed--compilation aborted at HTML/Template.pm line 894., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:13 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:13 2008] upload.cgi: Compilation failed in require at W:/cgi-bin/upload.cgi line 10., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:13 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:13 2008] upload.cgi: BEGIN failed--compilation aborted at W:/cgi-bin/upload.cgi line 10., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:20 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:19 2008] upload.cgi: Can't locate Digest/MD5.pm in @INC (@INC contains: . W:/usr/lib) at HTML/Template.pm line 894., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:20 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:19 2008] upload.cgi: BEGIN failed--compilation aborted at HTML/Template.pm line 894., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:20 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:19 2008] upload.cgi: Compilation failed in require at W:/cgi-bin/upload.cgi line 10., referer: http://me.com/upload_form.html
[Mon Dec 08 09:38:20 2008] [error] [client 127.0.0.1] [Mon Dec 8 09:38:19 2008] upload.cgi: BEGIN failed--compilation aborted at W:/cgi-bin/upload.cgi line 10., referer: http://me.com/upload_form.html
***
I change to Digest::Perl::MD5 in Template.pm and changed the version number for Config.pm at line 46

Now Im stuck here:
Apache Error log wrote: [Mon Dec 08 13:25:23 2008] [error] [client 127.0.0.1] Premature end of script headers: upload.cgi, referer: http://me.com/upload_form.html
[Mon Dec 08 13:25:23 2008] [error] [client 127.0.0.1] Can't locate Scalar/Util.pm in @INC (@INC contains: . W:/usr/lib) at W:/usr/lib/overload.pm line 88., referer: http://me.com/upload_form.html
Now Im getting a blank box that says "Initializing Upload..." Then "Transfer complete!" But I am not getting a progress bar and no file is uploaded..

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Dec 09, 2008 10:10 am

You can comment this line if you don't need password protection:

Code: Select all

use Digest::Perl::MD5 qw(md5_base64);
But it looks /usr/lib/overload.pm still need Scalar::Util module. Strange, not sure how you've installed your perl cause I belive it's standard module.

DanDMan
Posts: 4
Joined: Dec 08, 2008 4:49 pm

#3 Postby DanDMan » Dec 09, 2008 2:33 pm

The file IS there, but yet it cant find it..