Author |
Message |
27/02/2002 11:48:42
|
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
|
|
07/07/2002 01:31:09
|
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
|
|
04/10/2002 15:06:58
|
Anonymous
|
I wonder if I can use this in a windows server?
|
|
13/10/2002 21:47:31
|
Anonymous
|
Guest wrote:I wonder if I can use this in a windows server?
With Windows2000 server its works perfect !!!
|
|
14/10/2002 06:02:46
|
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.
|
|
23/10/2002 07:20:00
|
Anonymous
|
Luckily I didn't have to post new, Excellent, This is the info I needed.
You are the Man
|
|
23/04/2003 22:58:09
|
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?
|
|
13/02/2004 07:12:14
|
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.
|
|
|