| View previous topic :: View next topic |
| Author |
Message |
luckid
Joined: 09 Feb 2008 Posts: 8
|
Posted: Feb 09, 2008 4:48 pm Post subject: Not file and not worrk !!! |
|
|
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
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 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  |
|
| Back to top |
|
 |
luckid
Joined: 09 Feb 2008 Posts: 8
|
Posted: Feb 09, 2008 6:13 pm Post subject: |
|
|
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 |
|
 |
luckid
Joined: 09 Feb 2008 Posts: 8
|
Posted: Feb 10, 2008 12:53 am Post subject: |
|
|
I payd for this (120£) your reply o NOT !!!!
please reply on my answer
Luckid |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2134 Location: UFO Lab
|
Posted: Feb 10, 2008 6:23 am Post subject: |
|
|
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 |
|
 |
luckid
Joined: 09 Feb 2008 Posts: 8
|
Posted: Feb 10, 2008 10:36 am Post subject: |
|
|
It ok now ( error my for subfolder htdocs )
Now 1 little error:
this dir is setting 777 |
|
| Back to top |
|
 |
luckid
Joined: 09 Feb 2008 Posts: 8
|
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2134 Location: UFO Lab
|
Posted: Feb 10, 2008 5:17 pm Post subject: |
|
|
| 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 |
|
 |
luckid
Joined: 09 Feb 2008 Posts: 8
|
Posted: Feb 10, 2008 5:41 pm Post subject: |
|
|
Is ok but only whit index.html
If add .htaccess on dir htdocs not working...
upload is ok but download error page 500  |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2134 Location: UFO Lab
|
Posted: Feb 11, 2008 12:33 pm Post subject: |
|
|
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 |
|
 |
luckid
Joined: 09 Feb 2008 Posts: 8
|
Posted: Feb 11, 2008 1:49 pm Post subject: |
|
|
Pm on you.... i Hope....  |
|
| Back to top |
|
 |
|