Gossamer Forum
Home : Products : Links 2.0 : Discussions :

What's this?????

Quote Reply
What's this?????
Ok- everything going ok- go to build pages - still getting error - permission denied- created a blank links.db.bak file and set to 666- after searching through form - and it keeps saying error. So I decided to improvise and create a blank "index.html" and put it in the pages folder and try to build again. Well, apart from the error, I can see a page there but this is what is says...

#!/usr/bin/perl require '/usr/local/httpdocs/wsdemo/ws.conf'; require '/usr/local/httpdocs/wsdemo/functions.pl'; require '/usr/local/httpdocs/wsdemo/ws-lib.pl'; use CGI qw/:standard/; use CGI::Carp qw(fatalsToBrowser carpout); use DBI; ############### MAIN PROGRAM ############################### ############################################################ my $script_url = url(); my $form = path_info(); $form =~ s!^/!!; if (!$form) { show_request_form(); } elsif ($form eq 'new') { my $name = param('name'); my $username = param('username'); my $domain = param('domain'); my $email = param('email'); my $problem = param('problem'); my $priority = param('priority'); check_url(); # Clean problem field $problem =~ s/\cM//g; $problem =~ s/\n/ /g; check_fields($name,$username,$domain,$email,$problem); my $date = get_date(); # Get date my $ticket = assign_ticket(); # Get ticket number write_database($ticket,$date,$name,$username,$domain,$email,$problem,$priority); confirm_email($ticket,$name,$email,$script_url); if ($notify) { notify_admin($ticket,$name,$username,$domain,$email,$problem,$priority); } print_details($ticket,$name,$username,$domain,$email,$problem,$priority); } elsif ($form eq 'view') { show_status_form() } elsif ($form eq 'show') { my $ticket = param('ticket'); my $username = param('username'); check_ticket($ticket,$username); } else { error_page("
Illegal calling of script."); } ############### FUNCTIONS AND SUBROUTINES ################## ############################################################ sub show_request_form { my $nr; open (NEW_REQUEST, "$new_request_tpl") || error_page("........

and goes on and on. The source code is a cgi script itself. This is supposed to be my "category" index? I even tried to set the permissions. I dunno.

Can anyone give advice? I have looked through the forum for related subjects, and I did what was suggested for permission denied.

CGI ERROR
==========================================
Error Message : unable to open home page: /home/carrigan/public_html/pages/index.html. Reason: Permission denied
Script Location : /home/carrigan/public_html/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00503


Subject Author Views Date
Thread What's this????? rcarrigan 2098 Aug 7, 2001, 11:33 PM
Thread Re: What's this?????
QooQ 2041 Aug 8, 2001, 12:08 AM
Thread Re: What's this?????
rcarrigan 2041 Aug 8, 2001, 12:16 AM
Post Re: What's this?????
rcarrigan 2030 Aug 8, 2001, 12:20 AM