Gossamer Forum
Quote Reply
problems
Hi!
First of all, I want to thank you for making a script like this available to us!

I installed everything, and I got to the ADMIN page. Then I tried changing the template of the file, and this is what I got. Now I'm not sure what should be the CH MODE for html file described below, or for its folder, so that may be a problem. Can you, please, help me?

CGI ERROR
==========================================
Error Message : Can't open template: /usr/home/srdjan/cgi-bin/link/admin/templates/add_success.html for writing. Reason: Permission denied
Script Location : /usr/home/srdjan/cgi-bin/link/admin/admin.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
db : links
edit_tpl : add_success.html
save_template : Save Template
save_tpl : add_success.html
tpl :
Quote Reply
Re: problems In reply to
Chmod your template files to 666 or 777.



------------------
CGI Script Installation Center
http://cgi.defend.net
Quote Reply
Re: problems In reply to
I have nothing else to say but thanks!
It worked Smile
Quote Reply
Re: problems In reply to
I RAN INTO MORE TROUBLE!
Here is the error message when I try the "BUILD ALL" from the Admin menu!
*******************************
Links Manager: Building Pages
Building Pages
Pages built on 18-Jan-2000 at 00:22:42
--------------------------------------------------------

Backing up database . . .
Backing up links, category and email database (File::Copy) ...

CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: Permission denied
Script Location : /usr/home/srdjan/cgi-bin/link/admin/nph-build.cgi
Perl Version : 5.00503

*************************************
It seems that I ran into some SERIOUS trouble with CH MODES.
Can you help me please?
Thanks again!

Srdjan
Quote Reply
Re: problems In reply to
Change the permission of the following directories to 777:

backup
hits
ratings

Also, BTW: The template files need to be changed to 666 (rw-rw-rw-) NOT 777 (rwxrwxrwx).

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




Quote Reply
Re: problems In reply to
Thanks Eliot!
That was AWESOME! It turns out I did not set the permission for the DB files to 666.

There is one more problem coming up: The setup cannot create the "NEW" "COOL" folders. I wanted to put them outside the CGI folder, into the "SEARCH" folder, and I've changed the path accordingly, and here is what I get when I click on "BUILD ALL" from the admin menu:
*******************************
Backing up database . . .
Backup exists for today.. Skipping
Done.

Building URL Index . . .
Done.

Updating New and Popular Records . . .
What's New Cutoff: 14 days
Popular Cutoff: 2 hits
Updating record: 3, marking as new.
Done.

Updating ratings ..
Done.

Loading Category Information . . .
Done.

Gathering Category and Link information . . .
Done

Building Home Pages . . .
Subcategories: 1
Total Links: 1
Opening page: /usr/home/srdjan/search/index.html

CGI ERROR
==========================================
Error Message : unable to open home page: /usr/home/srdjan/search/index.html. Reason: Permission denied
Script Location : /usr/home/srdjan/cgi-bin/link/admin/nph-build.cgi
Perl Version : 5.00503
*****************************
I guess there was another CH MODE screwup on my part.

What I did the last time, I changed the CH modes for the folders to 777 as you told me to, and I changed the Ch modes of all "*.db" files inside the "data" folder.

Can you please help me?

Thanks a lot, again!!!