If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Free Link Pages  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi,
I have a prblm with it. When I'm trying to add new link, it says: "Cannot open ID file links_id.txt in /home/.../links for writing!"

Help me to do it right, pls

thanx
Anonymous



check with your server to get the correct base directory for http docs

example..my base directory for http is

"/home/httpd/vhosts/usernam.com/httpdocs/";

if you put the files into a folder inside your httpdocs directory named "links" it would look like this

"/home/httpd/vhosts/username.com/httpdocs/links";

you will need to change this information in you links.pl file

hera@autumbliss.com
Anonymous



I wonder if I can use this in a windows server?
Anonymous



Guest wrote:I wonder if I can use this in a windows server?


With Windows2000 server its works perfect !!!
SteinerKD
Beginner

Joined: 09/10/2002 07:14:36
Messages: 23
Location: Karlstad, Sweden
Offline

Yes, works fine on Win XP. You just need to set the:

# base directory to all link files from the server root without trailing "/"

correctly, for me the both partition is E: and standard install of Apache and the site that uses the links is in /ferrari/. so my setting is:

$base_dir = "E:/Program Files/Apache Group/Apache2/htdocs/ferrari/links";

Also default path install for perl and the first line in my scripts read:

#!/perl/bin/perl

Hope that helps.
[MSN] [ICQ]
Anonymous



Luckily I didn't have to post new, Excellent, This is the info I needed.

You are the Man
Anonymous



I have tried all the paths,
c:/inetpub/wwwroot/links
/links
/wwwroot/links
none of them are workin for me, its xp pro with iis 5.1
i set up the permissions so that the txt file can be written to, and im still havin the same problem.
i see alot of others havin the same problem too, and this is the only thread that had an answer.
i have used alot of pearl before to set up cs stats pages on servers. i have never had this problem before im not sure what im doing wrong.
can anyone please help?
Anonymous



Make sure you have this in your setup section:

Make your base path read something like:

$base_dir = "/usr/your domain/www";

Do not add a path to the file itself, the script does it for you. Make it read like this:

$id_count = "links_id.txt";

The script it finds the txt file by taking the base directory path and then it appends the file name. I also made the mistake of this:

$id_count = "/usr/your domain/www/links_id.txt". When the script executes it would look run this path:

/usr/your domain/www/usr/your domain/www/links_id.txt

which of course did not work.

Hope this helps....And thanks to Chi Kien Uong for this nice script.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum