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

Can not create What's New Pages

Quote Reply
Can not create What's New Pages
I installed the script, however even though it creates the category directories, it is not creating,

Pages built on 23-Feb-2000 at 13:44:18
--------------------------------------------------------

** Loading Category information . . .
** Done (0 s)!

** Loading Summary information . . .
** Done (0 s)!

** Creating Home Page . . .
Subcategories: 4
Total Links: 3
Opening page: c:/www/links/pages/index.html
Closing page.
** Done (0 s)!

** Creating What's New Pages . . .

CGI ERROR
==========================================
Error Message : unable to open what's new page: $build_root_path/New/index.html. Reason: No such file or directory
Script Location : c:\www\links\cgi-bin\admin\nph-build.cgi
Perl Version : 5.00503

I would appreciated if you can suggest where I can be doing a mistake.
Quote Reply
Re: Can not create What's New Pages In reply to
1) Create a New directory under your $build_root_path.

2) Change the permissions of this directory to 777 (rwxrwxrwx).

You will have to do the same for the Ratings and Cool directories.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Can not create What's New Pages In reply to
Icreated the necessary directories and even I created a blank html file as index.html, however I'm still getting the same response as soon as I say build, and on the built report the url for the building <u>what's new </u> page is referring to

http://10.0.0.2/links/cgi-bin/admin/$build_root_url/New/index.html

I wonder if there is a missing definition in links.cfg, I assume the sub routine for sub build_new_page is equivelent of sub build_detailed_view, because the detailed directory is created in the same pages directory. Sorry to bug you but I can't seem to figure it out.

Thnx,

Kaan
Quote Reply
Re: Can not create What's New Pages In reply to
No, there is not a missing variable in the links.cfg file.

You need to set up the following variables, like the following:

Code:
$build_root_path = "C:/InetPub/wwwroot/Web/links/pages";
$build_root_url = "http://10.0.0.2/links/pages";

REALLY hope this helps.

Best of luck!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Can not create What's New Pages In reply to
Thnaks a lot for your prompt response, I finally found the mistake, it was the
" vs ' , it looks great, Howevere I still have 2 simple questions. I checked the help file but couldn't find my answer,

1) Is there a better way than modifying the templates one by one to include a header and footer like <!-- #include file="header.inc" --> or the templates or any similar coding with in the script?

2) Is there a way to import an existing data to the *.db files ?

thnx in advance,

kaan

Quote Reply
Re: Can not create What's New Pages In reply to
 
Quote:
Is there a better way than modifying the templates one by one to include a header and footer like <!-- #include file="header.inc" --> or the templates or any similar coding with in the script?

READ the Header and Footer FAQ in the Resource Center, which is the first place to check for answers to questions and also modification ideas for your LINKS!

Quote:
Is there a way to import an existing data to the *.db files ?

CHECK out the Bulkload.cgi Mod in the Resource Center in the Modification Section of LINKS!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums