XFileSharing Pro - CGI.pm: defined(@array) | extra file server problem

Message
Author
Steve9e8
Posts: 81
Joined: Jun 19, 2014 11:27 am

CGI.pm: defined(@array) | extra file server problem

#1 Postby Steve9e8 » Mar 09, 2016 3:32 pm

Hello

I just added a new file server, but when I try to download anything that is successfully uploaded to, the download doesn't work after loading for seconds, then it goes to error page where the captured address of server for example :

Code: Select all

59.190.54.56:182/d/mvsnquxuxkyp75ghg7rrafyyase6okawcnk5rjomc3qd2obatrq7vjjb/a.part.rar
The error log :

Code: Select all

[Wed Mar 09 09:19:05.451587 2016] [cgi:error] [pid 5062] [client xx.xxx.xx.xx::12589] AH01215: [Wed Mar 9 09:18:30 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496., referer: http://www.filehost.com/
[Wed Mar 09 09:19:05.451631 2016] [cgi:error] [pid 5062] [client xx.xxx.xx.xx:12589] AH01215: [Wed Mar 9 09:18:30 2016] CGI.pm: \t(Maybe you should just omit the defined()?), referer: http://www.filehost.com/
I'm sure I already installed all required packages :

perl-CGI
perl-libwww-perl.noarch
perl-DBI
perl-DBD-MySQL
perl-GD

So is there any missing package ( s ) ?

Beside I just comapred the file that might cause that error ( Modules/CGI.pm ) in the new extra file server, with the same file in an old extra file server that works normally and I found the content of file is exactly the same in both servers !

So what do you think the problem is ?

Steve9e8
Posts: 81
Joined: Jun 19, 2014 11:27 am

#2 Postby Steve9e8 » Mar 10, 2016 11:03 am

The problem solved by Sibsoft support ... and here is the solution if anyone of you have the same problem in future :

Just make sure the two mods ( Nginx ) and ( 100% complete download ) are installed on the server that you try to download the file from, if they aren't installed you have to remove the activation mark on each of them in admin settings/mods

Logan
Posts: 1
Joined: Mar 10, 2016 6:35 am

#3 Postby Logan » Mar 10, 2016 11:00 pm

Steve9e8 wrote:The problem solved by Sibsoft support ... and here is the solution if anyone of you have the same problem in future :

Just make sure the two mods ( Nginx ) and ( 100% complete download ) are installed on the server that you try to download the file from, if they aren't installed you have to remove the activation mark on each of them in admin settings/mods
Hello, I don't have these mods installed but I receive the same error in my logs. Can't upload, deprecated files etc.

I also checked to see if your solution was the answer and still, nothing uploads.

Steve9e8
Posts: 81
Joined: Jun 19, 2014 11:27 am

#4 Postby Steve9e8 » Mar 11, 2016 12:32 pm

Logan wrote:
Hello, I don't have these mods installed but I receive the same error in my logs. Can't upload, deprecated files etc.

I also checked to see if your solution was the answer and still, nothing uploads.
What exactly happens when you try to upload ?. do you have an error window that says :

Code: Select all

 <HTML><HEAD><Script>alert('Fatal Error: Can\'t copy file from temp dir (Bad file descriptor)');</Script></HEAD><BODY><b>Fatal Error: Can\'t copy file from temp dir (Bad file descriptor)</b></BODY></HTML>
If yes, make sure to install a fresh XFS script on your extra file server ( not restoring the script from backup ) , it usually prevent the uncommon errors from showing up ...

Manders
Posts: 19
Joined: Mar 27, 2014 10:04 pm

#5 Postby Manders » Mar 18, 2016 11:35 am

Did you solve the problem?

It is nice for other forum members to know if the solution worked and also it will let us know if you still need help.