I have a really strange problem.
when my script is run it works fine except for the bit that moves a company's config file. (shown below).
the server comes back with a server error page and the server error log says :-
"the CGI program /admin_tfoak did not produce a valid header (name without value: got line 'could not move file illegal seek at /admin_tfoak line 322.")
 
the queer thing is that it actualy moves the file  then dies!
 
Any ideas what is going on here?
 
TIA
 
Terry
 
 
 
snip ->
 
320    if ($query->param("dcomp")) { 
321    &GETQUERYSTRINGVALUES;
322    `mv /web/company_profiles/$company_id /web/deleted_company_profiles/$company_id` or die "could not move file $!";
323    &GETREWRITEUSERS_CTL;
324    $content = "\<meta http-equiv=\"REFRESH\" content=\"1; URL=admin_tfoak?display=admin_menu\">";
325    }
snip -<
 
 

Terry Honeyford
Unix System Administrator
Focal Design Studios
New Mills
High Peak
SK22 3EX

IT Dept - Terry Honeyford.vcf

Reply via email to