RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File sharing script

File mirror script
Not file and not worrk !!!

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
luckid



Joined: 09 Feb 2008
Posts: 8

PostPosted: Feb 09, 2008 4:48 pm    Post subject: Not file and not worrk !!! Reply with quote

I just installed version Pro followed all the points but I missing 2 files:

Quote:
*** Main Server Installation ***

1) Copy all files and folders from "MAIN-dist/cgi-bin" into your cgi-bin folder (folder where perl scripts running)
Copy all files and folders from "MAIN-dist/htdocs" into your htdocs folder (folder with HTML files)
NOTE: use binary mode for FTP when uploading files.

2) Set install.cgi permissions to 755. Then open it in your browser (e.g. http://server.com/cgi-bin/install.cgi)
Follow the instructions so all 4 steps will be OK.

3) After complete install delete install.cgi, install.sql files for security reasons.

4) Change relative URLs in .htaccess file in htdocs to your own ones.
If you don't have .htaccess support on your sever you can copy .htaccess source to htdocs options in httpd.conf and restart Apache.

5) Now go to the "Site Settings" page and set up your server configuration.

6) Add cron.pl script to your crontab to run it every hour.
Sample: 0 * * * * cd /var/www/cgi-bin;./cron.pl >/dev/null 2>&1

7) If you want to use PayPal payments for Premium Accounts, edit paypal settings in the very bottom of XFileConfig.pm

Cool Directly after install you'll get message "there are no servers available for upload" on index page.
That's correct. Now let's add first FileServer.


*** File Servers Installation ***

1) Copy all files and folders from "FS-dist/cgi-bin" into FileServer cgi-bin folder.
Copy all files and folders from "FS-dist/htdocs" into FileServer htdocs folder.
NOTE: if you're installing FileServer on same server where MAIN server is, DO NOT use same MAIN server htdocs folder, create sub-folder for this.

2) Set permissions:
temp 777
uploads 777
logs.txt 777
.cgi 755
htdocs 777

3) Edit XFSConfig.pm and set up ONLY 3 fields: temp_dir, upload_dir, htdocs_dir.
You can open env.cgi or env.php in browser to figure out real full path to folder.
NOTE: fs_key field should be initially empty

4) Log In to admin account and open "http://server.com/?op=admin_server_add".
Set up all fields there, then Main server will test & update FileServer configuration and if everything allright you'll see new server on "Server Management" page.
If you got error about saving config, make sure fs_key is not empty in XFSConfig.pm or paste it from Server details page.

5) Delete env.cgi, env.php for security reasons.


this 2 file : ( on black ) env.cgi env.php
There are in dir zip and on server

My site is break not work Confused And I can not find error...

For the version "normal" is ok but on Pro NOT work

Site : http://www.srilankaw-share.org/

Tnx in advance Rolling Eyes
Back to top
View user's profile Send private message
luckid



Joined: 09 Feb 2008
Posts: 8

PostPosted: Feb 09, 2008 6:13 pm    Post subject: Reply with quote

My server :
* Perl : v5.8.4 built for i386-linux-thread-multi
* MySQL : mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i386) using readline 5.0
* Apache mod_rewrite module : OK
* .htaccess files enable : OK

The problem? mmmmmm[/b]
Back to top
View user's profile Send private message
luckid



Joined: 09 Feb 2008
Posts: 8

PostPosted: Feb 10, 2008 12:53 am    Post subject: Reply with quote

I payd for this (120£) your reply o NOT !!!!

please reply on my answer Exclamation

Luckid
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2134
Location: UFO Lab

PostPosted: Feb 10, 2008 6:23 am    Post subject: Reply with quote

It looks .htaccess is not enabled, or mod_rewrite is not working, cause http://www.srilankaw-share.org should show this page: http://www.srilankaw-share.org/cgi-bin/index.cgi

I think you've copied index.html and .htaccess from FS-dist, this is not what you should do according to INSTALL. Create subfolder in your htdocs for file server. Re-upload .htaccess from MAIN-dist for correct working.
Back to top
View user's profile Send private message Visit poster's website
luckid



Joined: 09 Feb 2008
Posts: 8

PostPosted: Feb 10, 2008 10:36 am    Post subject: Reply with quote

It ok now ( error my for subfolder htdocs )

Now 1 little error:


this dir is setting 777
Back to top
View user's profile Send private message
luckid



Joined: 09 Feb 2008
Posts: 8

PostPosted: Feb 10, 2008 11:20 am    Post subject: Reply with quote

same error if i change :
htdocs URL
http://www.srilankaw-share.org o http://www.srilankaw-share.org/htdocs



is very strange Shocked
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2134
Location: UFO Lab

PostPosted: Feb 10, 2008 5:17 pm    Post subject: Reply with quote

When you open URL specified as "htdocs URL" you should see these 3 letters: "XFS" (if you set special folder for it, not the same as MAIN site use and copied index.html there)
Back to top
View user's profile Send private message Visit poster's website
luckid



Joined: 09 Feb 2008
Posts: 8

PostPosted: Feb 10, 2008 5:41 pm    Post subject: Reply with quote

Is ok but only whit index.html
If add .htaccess on dir htdocs not working...
upload is ok but download error page 500 Confused
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2134
Location: UFO Lab

PostPosted: Feb 11, 2008 12:33 pm    Post subject: Reply with quote

Strange. Download works without .htaccess?
Then try to comment with # line-by-line in .htaccess to figure out what directive gives 500 error.

By the way, it looks you don't have GD module, set captcha mode to text or disable it, cause now not able to Register.

You can give us FTP access to fix it out.
Back to top
View user's profile Send private message Visit poster's website
luckid



Joined: 09 Feb 2008
Posts: 8

PostPosted: Feb 11, 2008 1:49 pm    Post subject: Reply with quote

Pm on you.... i Hope.... Confused
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright © 2003-2013 Sibsoft Ltd