Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

Crys dunno wanna work!! dam F2s.com

Quote Reply
Crys dunno wanna work!! dam F2s.com
right i have uploaded all the cgi everything in ASCII mode
and thats it dunno how 2 set the chmod and iam on www.f2s.com websever and my message board works fine but this links thing just makes me download the admin.cgi not see it can some help me?? also iam using ftp

WS_FTP LE Version 5.08 ( i know its old but i dont have any case for cuteftp or WS_ftp pro :( )


Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
As discussed in many Threads in this forum and also in the Links 2.0 Installation-UNIX forum (search for download admin.cgi, and you will see what I mean), you need to include the FULL PATH to the links.cfg file in the admin.cgi and your OTHER CGI scripts.

EXAMPLE:

Windows Server (if that is what you are on)
Code:

require "C:/Inetpub/wwwroot/youraccount/cgi-bin/links/admin/links.cfg";


Unix/Linux/Cobalt Servers
Code:

require "/full/path/to/youraccount/cgi-bin/links/admin/links.cfg";


The reason that your forum script is probably working fine is that ALL the scripts and configuration files are in the same directory/folder. Links separates files into separate folders for easier long-term management.

Regards,

Eliot Lee
Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
okay this is the way i have it set out on my ftp

cgi-bin/links/ - User cgi like search.cgi etc
cgi-bin/links/admin - all admin in there
cgi-bin/links/admin/pages - all background and pages there

Is this right????
cheers

Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
1) Yes, your cgi scripts, db, and admin files are put in the proper folders. BUT again, the DOWNLOAD error you are encountering has to do with NOT properly referencing the links.cfg as I ALREADY mentioned.

2) Your pages folder should NOT go in the cgi-bin folder!

You need to change:

Code:

cgi-bin/links/admin/pages - all background and pages there


to /links/pages/ underneath your ROOT directory.

EDIT the links.cfg file!

Regards,

Eliot Lee
Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
right just let me get this right
i see what u mean right on the links ive chnaged it to look like this http://www.mydomain.com/links/pages/background.gif

and thats all i done if thats right then is that all i have 2 do is change that and make a folder in the root of my ftp cos if thats it then lol its a small prob anyways it might be peeing u of a bit so ill sort it out lol if not im back ere i guess anyways cheers for all your help :)

Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
AND you also have to edit all the *_path and *_url variables in the links.cfg file!

Regards,

Eliot Lee
Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
yeah i gte it now thnk f**k lmao cheers man u helped me alot :) i ow u lots ill show u when its all done a dusted gimme ya e-mail addy ill send u a link there laters :)

Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
Sorry, I don't follow you.

Regards,

Eliot Lee
Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
In Reply To:
yeah i gte it now thnk f**k lmao cheers man u helped me alot :) i ow u lots ill show u when its all done a dusted gimme ya e-mail addy ill send u a link there laters :)
Translation:

-------

Yeah I get it now thank fu**, laugh my a** off.

Cheers man you helped me a lot.

I owe you lots and I'll show you when it is all done and dusted. Give me your email address and I'll send you a link when it is done.

-------

End Translation

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
got it In reply to
i get what u mean as in im sorting it out now when ive done it ill send u a link on ere if u want 2 see it working for once lol :) anyways cheers for ya help

Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/psxonline.f2s.com/links/cgi-bin/admin";
$db_dir_url = "http://www.psxonline.f2s.com/cgi-bin/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.psxonline.f2s.com/links/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/psxonline.f2s.com/links/pages";
$build_root_url = "http://www.psxonline.f2s.com/links/pages";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";

# Database Options
# --------------------------------------------------------
# You really need to use flock(). However if your system doesn't support it (Win95),
# then turn this off at your own risk!
$db_use_flock = 1;
# Use Pragma: no-cache to stop browsers from caching output? (0 = cache, 1 = nocache)
$db_nocache = 0;
# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
$db_iis = 0;
# Field number of category in category.db
$db_main_category = 1;
# Referers -- which hosts are allowed to add to your database.
@db_referers = ();

thats what ive done and its still not bloody working its start 2 do my head in now

Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
Why is this in the Windows Installation Forum? F2s.com servers are UNIX Wink

As for the paths, I think you have them wrong!

It will be something like this for the $db_script_path variable;

/web/sites/136/the-splash/psxonline.f2s.com/links/cgi-bin/admin

The bit in bold will more than likely be different to that. Try using a variables script like mine at http://216.29.246.8/files/acevars.zip. This will give you the path is on your server.

Also, on f2s.com servers, all of the folder related to Links 2 need to be CHMODed to 766 (not 777, as is the case with most other servers).

Hope this helps

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
Andy your acevars script is missing a lot of variables and you do it a weird way...to print all variables all you need is:

foreach $key (keys %ENV) {
print "$key : $ENV{$key}\n";
}

Or use "sort" as well. I was going to post this privately but though it may be useful for "mentaltorture".

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
LOl..I know I wrote it odd. I did it about a year ago. I have been meaning to re-write it recently, but I have never got around to it Smile

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
Uhuh..

I'm sure it will be re-written very soon now that you have the code Wink

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: Crys dunno wanna work!! dam F2s.com In reply to
Not funny. I was looking at adding some more features to it too. Like the option to have modules listed, the variables e-mailed to you etc. And no, I didn't need your code. I could have got that from anywhere Smile

Andy

webmaster@ace-installer.com
http://www.ace-installer.com