XFileSharing Pro - Urgent Help

Message
Author
soniFiles
Posts: 5
Joined: Jul 14, 2016 9:03 am

Urgent Help

#1 Postby soniFiles » Jul 16, 2016 5:48 pm

Hello
From the day i brought this script i just keep having bugs I dont know if is script problem or what is .

I had loads of problems and i keept reinstalling my servers loads . my website its gone down now and support is so slow or nothing at all .
Anyway I manage to fix mostly of that but now thi happened :

When users try to download it says File Doesn't Exist or 404 Error ,, then its will be reloaded imediatlly .

example:
http://xxx/q49sfs7cdfre/_BAGAS31__AMT_E ... 1.zip.html
http://xxx/files/0/win87jqgb3i8xu/_BAGA ... v0.8.1.zip

Files Code are different

File Server and Main Server are in same server .

Please if that have happened to anyone can you tell me how to fix it .
Thank you

soniFiles
Posts: 5
Joined: Jul 14, 2016 9:03 am

Support

#2 Postby soniFiles » Jul 16, 2016 10:03 pm

Any support there .!??

RootShell
Posts: 35
Joined: Jul 23, 2009 9:11 pm

#3 Postby RootShell » Jul 17, 2016 9:03 pm

Hey soniFiles,
Sibsoft support doesn't work the week-end, and the support existing in the forum is community driven, can you share with us what your web server says in the logs in order to identify the porblem. Check Apache logs, maybe I can help

For CentOS : /var/log/httpd/error.log

soniFiles
Posts: 5
Joined: Jul 14, 2016 9:03 am

Thank you

#4 Postby soniFiles » Jul 17, 2016 9:31 pm

Hello .
Thank you for reply . Yeah i know they dont support on weekends but I'm mre than one week trying to fix that and really that is wasting me loads of money . I have reset my cpanel and things trying to fix things but no . I just left them and hopefully sibsoft team will help me out .
If you can help me please just reply me back as soon you can


[Sun Jul 17 23:20:03.299920 2016] [cgi:error] [pid 43860] [client 162.158.34.72:29325] AH01215: [Sun Jul 17 23:20:03 2016] CGI.pm: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:20:03.299879 2016] [cgi:error] [pid 43860] [client 162.158.34.72:29325] AH01215: [Sun Jul 17 23:20:03 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:20:02.429860 2016] [cgi:error] [pid 44862] [client 162.158.34.72:57615] AH01215: [Sun Jul 17 23:20:02 2016] CGI.pm: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:20:02.429810 2016] [cgi:error] [pid 44862] [client 162.158.34.72:57615] AH01215: [Sun Jul 17 23:20:02 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:20:02.171918 2016] [cgi:error] [pid 43861] [client 162.158.108.137:26431] AH01215: [Sun Jul 17 23:20:02 2016] CGI.pm: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:20:02.171881 2016] [cgi:error] [pid 43861] [client 162.158.108.137:26431] AH01215: [Sun Jul 17 23:20:02 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:20:02.069187 2016] [cgi:error] [pid 43861] [client 162.158.108.137:26431] AH01215: [Sun Jul 17 23:20:02 2016] CGI.pm: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:20:02.069141 2016] [cgi:error] [pid 43861] [client 162.158.108.137:26431] AH01215: [Sun Jul 17 23:20:02 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:19:20.120217 2016] [cgi:error] [pid 44880] [client 162.158.108.137:34792] AH01215: [Sun Jul 17 23:19:20 2016] CGI.pm: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:19:20.120170 2016] [cgi:error] [pid 44880] [client 162.158.108.137:34792] AH01215: [Sun Jul 17 23:19:20 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:19:12.736574 2016] [cgi:error] [pid 44862] [client 141.101.98.132:9061] AH01215: [Sun Jul 17 23:19:12 2016] CGI.pm: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/upload.cgi, referer: http://sonifiles.com/?op=upload
[Sun Jul 17 23:19:12.736517 2016] [cgi:error] [pid 44862] [client 141.101.98.132:9061] AH01215: [Sun Jul 17 23:19:12 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/upload.cgi, referer: http://sonifiles.com/?op=upload
[Sun Jul 17 23:19:02.707923 2016] [cgi:error] [pid 43859] [client 162.158.108.137:59292] AH01215: [Sun Jul 17 23:19:02 2016] CGI.pm: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:19:02.707880 2016] [cgi:error] [pid 43859] [client 162.158.108.137:59292] AH01215: [Sun Jul 17 23:19:02 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:19:02.645269 2016] [cgi:error] [pid 43857] [client 162.158.108.137:45091] AH01215: [Sun Jul 17 23:19:02 2016] CGI.pm: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/upload.cgi
[Sun Jul 17 23:19:02.645217 2016] [cgi:error] [pid 43857] [client 162.158.108.137:45091] AH01215: [Sun Jul 17 23:19:02 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/upload.cgi
[Sun Jul 17 23:19:02.330229 2016] [cgi:error] [pid 43873] [client 162.158.108.137:22059] AH01215: [Sun Jul 17 23:19:02 2016] CGI.pm: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:19:02.330184 2016] [cgi:error] [pid 43873] [client 162.158.108.137:22059] AH01215: [Sun Jul 17 23:19:02 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/api.cgi
[Sun Jul 17 23:17:54.174006 2016] [cgi:error] [pid 43860] [client 141.101.98.132:31382] AH01215: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:17:54.173968 2016] [cgi:error] [pid 43860] [client 141.101.98.132:31382] AH01215: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:17:52.189047 2016] [cgi:error] [pid 43860] [client 141.101.98.132:31382] AH01215: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:17:52.188978 2016] [cgi:error] [pid 43860] [client 141.101.98.132:31382] AH01215: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:17:52.033912 2016] [cgi:error] [pid 43860] [client 141.101.98.132:31382] AH01215: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:17:52.033871 2016] [cgi:error] [pid 43860] [client 141.101.98.132:31382] AH01215: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:17:03.322782 2016] [cgi:error] [pid 43872] [client 141.101.98.132:36833] AH01215: [Sun Jul 17 23:17:03 2016] install.cgi: Field 'usr_notes' doesn't have a default value at Modules/DataBase.pm line 65, <FILE> line 538.: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:17:03.322741 2016] [cgi:error] [pid 43872] [client 141.101.98.132:36833] AH01215: [Sun Jul 17 23:17:03 2016] install.cgi: Can't exec:: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:17:03.322480 2016] [cgi:error] [pid 43872] [client 141.101.98.132:36833] AH01215: [Sun Jul 17 23:17:03 2016] install.cgi: DBD::mysql::db do failed: Field 'usr_notes' doesn't have a default value at Modules/DataBase.pm line 65, <FILE> line 538.: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:17:03.225372 2016] [cgi:error] [pid 43872] [client 141.101.98.132:36833] AH01215: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:17:03.225325 2016] [cgi:error] [pid 43872] [client 141.101.98.132:36833] AH01215: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:15:15.659443 2016] [cgi:error] [pid 43595] [client 141.101.98.132:37949] AH01215: [Sun Jul 17 23:15:15 2016] install.cgi: Field 'usr_notes' doesn't have a default value at Modules/DataBase.pm line 65, <FILE> line 538.: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:15:15.659401 2016] [cgi:error] [pid 43595] [client 141.101.98.132:37949] AH01215: [Sun Jul 17 23:15:15 2016] install.cgi: Can't exec:: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:15:15.659132 2016] [cgi:error] [pid 43595] [client 141.101.98.132:37949] AH01215: [Sun Jul 17 23:15:15 2016] install.cgi: DBD::mysql::db do failed: Field 'usr_notes' doesn't have a default value at Modules/DataBase.pm line 65, <FILE> line 538.: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:15:15.560661 2016] [cgi:error] [pid 43595] [client 141.101.98.132:37949] AH01215: \t(Maybe you should just omit the defined()?): /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:15:15.560612 2016] [cgi:error] [pid 43595] [client 141.101.98.132:37949] AH01215: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:13:57.953881 2016] [cgi:error] [pid 42875] [client 141.101.98.132:17189] AH01215: [Sun Jul 17 23:13:57 2016] install.cgi: Field 'usr_notes' doesn't have a default value at Modules/DataBase.pm line 65, <FILE> line 538.: /home/sr1/public_html/cgi-bin/install.cgi, referer: http://sonifiles.com/cgi-bin/install.cgi
[Sun Jul 17 23:13:57.953848 2016] [cgi:error] [pid 42875] [client 141.101.98.132:17189] AH01215: [Sun Jul 17 23:13:57 2016] install.cgi: Can't exec:: /home/sr

soniFiles
Posts: 5
Joined: Jul 14, 2016 9:03 am

other hosting works

#5 Postby soniFiles » Jul 17, 2016 9:33 pm

And this script works fine on other shared hosting that I've been using to develop my design . Provider Hoting24

RootShell
Posts: 35
Joined: Jul 23, 2009 9:11 pm

#6 Postby RootShell » Jul 17, 2016 11:35 pm

I believe its related to the Perl version, the perl interpreter here is crying because of the usage of `defined` in the version you are using is replaced simply by `if(@array)`, check which perl version you are using by running `perl -v`

If you don't have root/user access to the box, ask the hosting provider or check your hosting panel ex : cPanel in the left side to see which Perl version

XFS needs Perl higher than 5.007 version, but if we it runs on a new released Major version maybe it can breaks if the Perl changelog says a lot

soniFiles
Posts: 5
Joined: Jul 14, 2016 9:03 am

perl

#7 Postby soniFiles » Jul 18, 2016 7:40 am

well version 2.4 of xfs supports perl 5.2 and WHM/CPanel haves perl v5.10

that:

[[email protected] ~]# perl -v

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

[[email protected] ~]#


I can install script site looks like is working okay for a bit but then i cant download . everytime I try to it just redirect me to 404 page

Apache
Posts: 1
Joined: Jul 20, 2016 10:08 pm

#8 Postby Apache » Jul 20, 2016 10:19 pm

The following error can be fixed by installing system wide modules CGI and CGI::Simple

[Sun Jul 17 23:20:03.299879 2016] [cgi:error] [pid 43860] [client 162.158.34.72:29325] AH01215: [Sun Jul 17 23:20:03 2016] CGI.pm: defined(@array) is deprecated at Modules/CGI.pm line 496.: /home/sr1/public_html/cgi-bin/api.cgi



They're most likely already present on your system but the script is configured to use a local copy from Modules directory. So in order to use updated version of the above modules from system you need to delete/rename the copies from Modules directory. It's enough to delete/rename CGI.pm and CGI directory.

Make sure you do this on all file nodes and restart Apache (apachectl -k restart)


How to install/upgrade CGI and CGI::Simple modules (requires root access)

perl -MCPAN -e shell

and once you get to the prompt, execute

install CGI
install CGI::Simple


Return to “XFileSharing Pro”