XFileSharing Pro - help me add server

Message
Author
filescopy
Posts: 20
Joined: Sep 04, 2012 5:13 am

help me add server

#1 Postby filescopy » Sep 17, 2012 12:12 pm

0:ERROR: fs_key is wrong or not empty 0.00 Mb
0:ERROR: fs_key is wrong or not empty 0.00 Mb
0:ERROR: fs_key is wrong or not empty 0.00 Mb


Have 1 servers to update.

ID=1 sv1...FAILED!


Done.
1 servers failed to update.

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#2 Postby randy » Sep 17, 2012 1:50 pm

you must delete the fs_key value in the new server in XFSConfig.pm

download the xfsconfig of the fileserver you have problems and then change this

something like that written in there

Code: Select all

 # FileServer auth key (generating when adding server)
 fs_key => 'fcgjklbg'
must change to

Code: Select all

 # FileServer auth key (generating when adding server)
 fs_key => ''
you can copy paste the code

so that it's empty between the " ' "
'(empty)'

then upload it again and add fileserver again and it should work!

if it is already empty you have to ask admin

don't know what you did before...

filescopy
Posts: 20
Joined: Sep 04, 2012 5:13 am

#3 Postby filescopy » Sep 20, 2012 2:27 pm

Also the same.

Code: Select all

package XFSConfig;
use strict;
use lib 'Modules';
use Exporter ();
@XFSConfig::ISA    = qw(Exporter);
@XFSConfig::EXPORT = qw($c);
use vars qw( $c );

$c=
{
 # Directory for temporary using files, witout trailing /
 temp_dir => '/home/xxxxx/domains/xxxxx/public_html/cgi-bin/temp',

 # Directory for uploaded files, witout trailing /
 upload_dir => '/home/xxxxx/domains/xxxxxx/public_html/cgi-bin/uploads',

 cgi_dir => '/home/xxxxx/domains/xxxxxx/public_html/cgi-bin',

 # Path to htdocs/files folder - to generate direct links, witout trailing /
 htdocs_dir => '/home/xxxxx/domains/xxxxxx/public_html/files',

 # Path to htdocs/tmp folder
 htdocs_tmp_dir => '/home/xxxx/domains/xxxxxxxx/public_html/tmp',

 # FileServer auth key (generating when adding server)
 fs_key => '',

 dl_key => 'dsvoc2bugi',

 # FileServer status
 srv_status => 'ON',

 # Your Main site URL, witout trailing /
 site_url => 'http://xxxxxxx',

 # Your Main site cgi-bin URL, witout trailing /
 site_cgi => 'http://xxxxxx/cgi-bin',

 m_i => '',
 m_v => '',
 m_r => '',
 
 mu_logins => '',
 nl_logins => '',
 hf_logins => '',

 m_i_resize => '0',

 bitflu_address => '127.0.0.1:4081',
# bitflu_address => '10.0.0.12:4081',


#--- Anonymous users limits ---#
 enabled_anon => '1',

 # Max number of upload fields
 max_upload_files_anon => '2',

 # Maximum upload Filesize in Mbytes (0 to disable)
 max_upload_filesize_anon => '10',

 # Allow remote URL uploads
 remote_url_anon => '',

 leech_anon => '',
#------#

#--- Registered users limits ---#
 enabled_reg => '1',

 # Max number of upload fields
 max_upload_files_reg => '3',

 # Maximum upload Filesize in Mbytes (0 to disable)
 max_upload_filesize_reg => '100',

 # Allow remote URL uploads
 remote_url_reg => '1',

 leech_reg => '',
#------#

#--- Premium users limits ---#
 enabled_prem => '1',

 # Max number of upload fields
 max_upload_files_prem => '50',

 # Maximum upload Filesize in Mbytes (0 to disable)
 max_upload_filesize_prem => '0',

 # Allow remote URL uploads
 remote_url_prem => '1',

 leech_prem => '',
#------#

 # Banned IPs
 # Use \d+ for wildcard *
 ip_not_allowed => '^(10\.0\.0\.182)$',

 # Logfile name
 uploads_log => 'logs.txt',

 # Enable scanning file for viruses with ClamAV after upload (Experimental)
 # You need ClamAV installed on your server
 enable_clamav_virus_scan => '0',

 # Update progress bar using streaming method
 ajax_stream => 0,

 #Files per dir, do not touch since server start
 files_per_folder => 5000,

##### Custom error messages #####

 msg => { upload_size_big   => "Maximum total upload size exceeded<br>Max total upload size is: ",
          file_size_big     => "Max filesize limit exceeded! Filesize limit: ",
          no_temp_dir       => "No temp dir exist! Please fix your temp_dir variable in config.",
          no_target_dir     => "No target dir exist! Please fix your target_dir variable in config.",
          no_templates_dir  => "No Templates dir exist! Please fix your templates_dir variable in config.",
          transfer_complete => "Transfer complete!",
          transfer_failed   => "Upload failed!",
          null_filesize     => "have null filesize or wrong file path",
          bad_filename      => "is not acceptable filename! Skipped.",
          too_many_files    => "wasn't saved! Number of files limit exceeded.",
          saved_ok          => "saved successfully.",
          wrong_password    => "You've entered wrong password.<br>Authorization required.",
          ip_not_allowed    => "You are not allowed to upload files",
        },

 ### NEW 1.7 ###
 m_i_width => '200',
 m_i_height => '200',
 m_i_wm_position => '',
 m_i_wm_image => '',

 m_h_login => '',
 m_h_password => '',
 fs_files_url => '',
 fs_cgi_url => '',

 ### NEW 1.8 ###
 m_h => '',
 m_e => '',
 m_e_vid_width => '320',
 m_e_vid_quality => '24',
 m_e_audio_bitrate => '96',

 rs_logins => '',
 mf_logins => '',
 fs_logins => '',
 df_logins => '',
 ff_logins => '',
 es_logins => '',
 sm_logins => '',
 ug_logins => '',
 fe_logins => '',

 m_i_hotlink_orig => '',

 m_b => '',

### NEW 1.9 ###

 m_e_flv => '',
 m_e_flv_bitrate => '450',

 m_i_magick => '',

#### NEW 2.0 ####

  bs_logins => '',
  wu_logins => '',


};

1;

filescopy
Posts: 20
Joined: Sep 04, 2012 5:13 am

#4 Postby filescopy » Sep 20, 2012 2:32 pm

Now I can do it. Thank You

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#5 Postby randy » Sep 20, 2012 4:44 pm

great ;)