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

Install Error: The page cannot be displayed

Quote Reply
Install Error: The page cannot be displayed
Win 2000 server with all necessary software packages. We are successfully running a couple of different cgi/perl scripts but this one is giving us problems. I have been searching and reading through the forums as well as the FAQ pages but I am having no luck finding an answer. The first errors were the "Download File" type. That changed to "The page cannot be displayed."

Code:
Paths and URL's to Important Stuff
# --------------------------------------------------------


# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "D:/webs/snipers/cgi-bin/links/admin/backup";
$db_dir_url = http://www.snipersparadise.com/cgi-bin/links/admin;





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




# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "D:/webs/snipers/cgi-bin/links/pages";
$build_root_url = http://www.snipersparadise.com/cgi-bin/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";
Any and all help will be greatly appreciated
Knowledge comes from retaining what is learned,
Thomas
http://www.snipersparadise.com
Quote Reply
Re: [snip1er] Install Error: The page cannot be displayed In reply to
The first thing is you are building your pages in the cgi-bin which is not a good idea.

Secondly the following don't match:

>>
$db_script_path = "D:/webs/snipers/cgi-bin/links/admin/backup";
$db_dir_url = http://www.snipersparadise.com/cgi-bin/links/admin;
<<

One has backup and one doesn't.
Quote Reply
Re: [RedRum] Install Error: The page cannot be displayed In reply to
Just corrected that, it took us back to the original problem, when you run admin.cgi it tries to "download."

error message reads:
Quote:


Error including libraries: syntax error at D:/webs/snipers/cgi-bin/links/admin/links.cfg line 200, near "$db_header_path = $db_script_path . "/header"; # P"

(Might be a runaway multi-line PP string starting on line 136)

Compilation failed in require at D:\webs\snipers\cgi-bin\links\admin\admin.cgi line 27.
Knowledge comes from retaining what is learned,
Thomas
http://www.snipersparadise.com
Quote Reply
Re: [snip1er] Install Error: The page cannot be displayed In reply to
Thats because 3 of the variable values aren't surrounded by " " like they are supposed to be :)

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "D:/webs/snipers/cgi-bin/links/admin/backup";
$db_dir_url = http://www.snipersparadise.com/cgi-bin/links/admin;

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "D:/webs/snipers/cgi-bin/links/pages";
$build_root_url = http://www.snipersparadise.com/cgi-bin/links/pages;
Quote Reply
Re: [RedRum] Install Error: The page cannot be displayed In reply to
Just checked, they are there, when I posted the code here (on the board) it stripped the quotes and I didn't notice.

Next....Unimpressed
Knowledge comes from retaining what is learned,
Thomas
http://www.snipersparadise.com
Quote Reply
Re: [RedRum] Install Error: The page cannot be displayed In reply to
PS, on the first post I uploaded the actual files for review. That might help you...help me..if there is help Crazy
Knowledge comes from retaining what is learned,
Thomas
http://www.snipersparadise.com
Quote Reply
Re: [snip1er] Install Error: The page cannot be displayed In reply to
This is the problem:

$build_site_title = 'Sniper's Paradise Links';

You either need:

$build_site_title = "Sniper's Paradise Links";

or

$build_site_title = 'Sniper\'s Paradise Links';
Quote Reply
Re: [RedRum] Install Error: The page cannot be displayed In reply to
You know something? That stupid ' has bit us in the butt several times when working with code and we still haven't learned our lesson. That solved the problem. Blush



Thank you very much for your help. The support was prompt, to the point, and polite.
Knowledge comes from retaining what is learned,
Thomas
http://www.snipersparadise.com

Last edited by:

snip1er: Feb 12, 2002, 11:13 AM
Quote Reply
Re: [snip1er] Install Error: The page cannot be displayed In reply to
>>The support was prompt, to the point, and not polite.<<

Pirate
Quote Reply
Re: [RedRum] Install Error: The page cannot be displayed In reply to
sorry, sorry, sorry...Blush That was not what I meant to type. I was typing something else and then...any way. I meant that you were very polite and very courteous even though it was a stupid mistake on our part.
Knowledge comes from retaining what is learned,
Thomas
http://www.snipersparadise.com