XFileSharing Pro - Problem thread for xfs 1.6

Message
Author
chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

Problem thread for xfs 1.6

#1 Postby chrda » Oct 29, 2009 9:42 pm

Just wanted to start this so peeps can post problems that shows up

I got one when testing dl.cgi

[root@fs03 cgi-bin]# perl dl.cgi
Can't locate HCE_MD5.pm in @INC (@INC contains: Modules /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at dl.cgi line 3.
BEGIN failed--compilation aborted at dl.cgi line 3.

Tried to do a perl -MCPAN -e shell with install Crypt::HCE_MD5 without any luck

When doing perl on the other files it looks like it works.

Update:
----
Found out that that FS files folder doesnt contain the HCE_MD5.pm file.
So if you install a new FS from 1.6 you need to copy this file from the cgi-bin to the main install.

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

#2 Postby PilgrimX182 » Oct 29, 2009 10:49 pm

Thanks! Will fix this in ZIP release asap.

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#3 Postby chrda » Oct 29, 2009 11:05 pm

When choosing direct link everything works
When not choosing directlink

Instead of forced download i get a new link:
http://s01.site.com:81/cgi-bin/dl.cgi/n ... a/some.rar

If i choose directlink i get almost the same..
http://s01.site.com:81/files/5/xgbirg8i4keasm/some.rar

I am missing the forced download? or is how its going to be now?

webzi
Posts: 14
Joined: Jan 10, 2009 1:15 pm

#4 Postby webzi » Oct 30, 2009 12:41 am

Sing up problem:

IPB: Warning: IPBSDK::require_once(//init.php): failed to open stream: No such file or directory in /vhosts/www/cgi-bin/Plugins/ipb/ipbsdk_class.inc.php on line 307 Fatal error: IPBSDK::require_once(): Failed opening required '//init.php' (include_path='.:/usr/share/php:/usr/share/pear:/vhosts/www/cgi-bin/Plugins/ipb/') in /vhosts/www/cgi-bin/Plugins/ipb/ipbsdk_class.inc.php on line 307

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am

#5 Postby adiga » Oct 30, 2009 1:50 am

I have the same problem during signup

What's this ipb???

webzi
Posts: 14
Joined: Jan 10, 2009 1:15 pm

#6 Postby webzi » Oct 30, 2009 5:54 am

Invision Power Board, but what this 'mod' do?

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

#7 Postby PilgrimX182 » Oct 30, 2009 7:06 am

Remove everything from Plugins folder, will help.

webzi
Posts: 14
Joined: Jan 10, 2009 1:15 pm

#8 Postby webzi » Oct 30, 2009 7:27 am

or comment this line in index.cgi:

my $err = $ses->ApplyPlugins('user_new', $f->{usr_login}, $f->{usr_password}, $f->{usr_email});
$ses->message("Registration complete but there were plugin errors:<br><br>$err") if $err;

webzi
Posts: 14
Joined: Jan 10, 2009 1:15 pm

#9 Postby webzi » Oct 30, 2009 7:28 am

PilgrimX182

I have this error when tur ON mod_perl:

panic: no address for 'WSD::Filter::bootstrap' in 'DynaLoader' at /vhosts/www/cgi-bin/Modules/WSD/Filter.pm line 25.\nCompilation failed in require at /vhosts/www/cgi-bin/Modules/Session.pm line 1.\nBEGIN failed--compilation aborted at /vhosts/www/cgi-bin/Modules/Session.pm line 1.\nCompilation failed in require at /vhosts/www/cgi-bin/index.cgi line 11.\nBEGIN failed--compilation aborted at /vhosts/www/cgi-bin/index.cgi line 11.\n

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

#10 Postby PilgrimX182 » Oct 30, 2009 12:41 pm

webzi, yeah, confirm this. Have found custom workaround.

PM me your client area link, will send you instructions.

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am

#11 Postby adiga » Oct 30, 2009 3:26 pm

When I run the command Run File-to-DB consistancy check of options for servers
The following error appears:

Code: Select all

Software error:

Can't locate object method "api3" via package "Session" at index.cgi line 1676. 

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#12 Postby chrda » Oct 30, 2009 5:40 pm

I also get
Can't locate object method "api3" via package "Session" at index.cgi line 1674.


Quick fix please!

elbasha751
Posts: 5
Joined: Jul 17, 2009 8:37 pm

#13 Postby elbasha751 » Oct 30, 2009 5:48 pm

i get also the same error

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am

#14 Postby adiga » Oct 30, 2009 10:23 pm

The list of errors so far:

1- Redirecting Wrong IP direct links to original download page instead of 404.html -- not working

2-When download a file from a visitor to show his link to the following form "

Code: Select all

http://site.com/gi-bin/dl.cgi/5nmlysamewsdljdmrybvwnhmefgkh7ndi5muwzhg6m/file/zip
3-After you delete the file from the owner and try to download the file from the guest page does not appear the file does not exist
It shows the words No such file with this filename
Last edited by adiga on Oct 30, 2009 11:29 pm, edited 5 times in total.

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am

#15 Postby adiga » Oct 30, 2009 10:32 pm

To fix the first error:
1- Redirecting Wrong IP direct links to original download page instead of 404.html -- not working

in api.cgi

find:

Code: Select all

print FILE qq[RewriteEngine on\nRewriteCond %{REMOTE_ADDR} !^$ip\nRewriteRule ^.*\$ "$c->{site_url}/404.html?$c->{site_url}/$f->{file_code1}/$file_name.html"];
Replaced by:

Code: Select all

print FILE qq[RewriteEngine on\nRewriteCond %{REMOTE_ADDR} !^$ip\nRewriteRule ^.*\$ "$c->{site_url}/$f->{file_code1}/$file_name.html"];