Moderated by: FocalMedia Team, Miles, Gerrit, Rian

FocalMedia.Net Forums » Other Products »  FM SiteSearch Pro

Page: 1 of 1

« Back to Topic Index Page 2 | Replies: 3

 Author  Topic: config.cfg error
Robert Metzig

New Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of Robert Metzig 
After running the setup.cgi and adding the paths I get the following error trying to proceed;

unable to write to config.cfg - please ensure that config.cfg situated in your cgi-bin directory is set to permission setting of 777.

This is a Windows 2000 machine. The cgi-bin is located in the \inetpub\cgi-bin directory with read-write and execute permissions. All the cgi files have been modified with the appropriate path to the .cfg file.

I cannot see why the file cannot be accessed. The file path in the cgi and the pm files are entered as : "c:\inetpub\cgi-bin\fsearch"

This makes no sense.

We are trying to evaluate this and we can't get past this problem.


Thanks


Total Posts: 2 | Joined: May 13, 2004 - 11:14am | IP Logged

FocalMedia Team

Moderator
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of FocalMedia Team 
The path in the scripts should look like this:
c:/inetpub/cgi-bin/fsearch/config.cfg

Miles


Total Posts: 1453 | Joined: Jul 27, 2002 - 4:28am | IP Logged

Robert Metzig

New Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of Robert Metzig 
They are as specified and the file is in the right location. The cgi-bin has read-write & execute permissions....


Problem found...You can't wrap the file path in double quotes:

"c:\inetpub\cgi-bin\fsearch" - this fails

'c:\inetpub\cgi-bin\fsearch' - this works

You need to verify this and change your docs. Your docs specify "path".

That solves Config Path 1 & 2.

Now I can't get the URL paths to work http://srevername.
Error: Does not exist. - Connection failed when trying to connect to http daemon at /

This is an Intranet not a WWW..com. Could that be an issue?


Total Posts: 2 | Joined: May 13, 2004 - 11:14am | IP Logged

FocalMedia Team

Moderator
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of FocalMedia Team 
The quotes " are definately correct and not a programming mistake.

You need to get the path to look like this:
$cfile = "c:/inetpub/cgi-bin/fsearch/config.cfg";

Note that config.cgf is included in the path.

Miles


Total Posts: 1453 | Joined: Jul 27, 2002 - 4:28am | IP Logged


Lock Topic

 

Forum Legend

New Member

Reply to topic

More than 50 posts | Member

Reply to topic with quoted message

More than 100 posts | Full Member

Edit Message

More than 150 posts | Advanced Member

View profile

More than 200 posts | Advanced Member

Email member