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 
How do I cprrect this?  XML
Forum Index » Support Forum
Author Message
Anonymous



I am getting this error message when I try to submit a link:

Cannot create ID file links_id.txt in cafedesire/user/links. Please check your base directory.

What the heck did I do wrong?


Thanks much for any help..........
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

You need to make the links directory writable from what I can see. Check your FTP program on how to change a files/folders permissions and change the folder to 766 or if that doesn't work 777.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Greetingsi Carbonize,

I am stil getting the below message after hitting the "submit URL" button :

Cannot create ID file links_id.txt in /domains/cafedesire.com/public_html/cgi-bin/links. Please check your base directory.

after CHMOD to 777 the links directory. It has to be something simple I would think.
Anonymous



I changed the folder to chmod 777, did you say I need to change the FILES in the folder to 777?[/u]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

change the file that the script writes to. Chmod links_id.txt to 777 and try again.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Can I email you the URL of that error page? I would prefer not to paste it here. It is giving me alot of info below the initial error. I will paste the links.pl (only partial part of script) below so maybe you can advise if I have the paths incorrect.


# url of script
$cgiurl = "http://mywebsite.com/cgi-bin/links.pl";

# base url to all link files without trailing "/"
$link_url = "http://mywebsite.com/links";

# base directory to all link files from the server root without trailing "/"
$base_dir = "/domains/mywebsite.com/usr/cgi-bin/links";

# default index page of your choice
$index_url = "http://mywebsite.com/links/ffa-business.html";

After you view the URL to the error page maybe it will show what I have done wrong.

You let me know if thats ok with you.

Thanks.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

I just submitted my site twice on cafedesire.com and it said successful but never appeared but no error messages. Then realised I was using your old links script
Anyway the problem is that you are trying to put the files in the cgi-bin and it's not letting you. Try changing

to

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

or it could be /home/refresh2/domains/cafedesire.com/public_html/cgi-bin/links

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



The link page from my index page is a totally different link script (called LinkDept). Thats the one I want to replace with this one we are talking about. I will try what you suggested, thanks.again.[/u]
Anonymous



Is the "Links" folder suppose to go into the CGI-BIN folder? Because if it is, I need to move it into the cgi-bin folder.
Anonymous



Here is what I have for "post':

<form method="post" action="http://cafedesire.com/cgi-bin/links.pl" name="message">
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

The post tag is right as it points to your script. I think the fault lies in the location you have supplied for where the text file is stored. this is why I posted my variations. Try putting the links folder in the HTML folder.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Carbonize wrote: I think the fault lies in the location you have supplied for where the text file is stored. .


I do to, but, I have the the text file stored in the "Links" folder where it originally came. Is this where it is supposed to be?
Anonymous



By the way, the "links" folder has always been in my root folder (public_html). Is it supposed to go in the cgi-bin?
Anonymous



I finally contacted my host and they advised I was using the wrong directory path!! You were right about changing the directory path, you (and I) just didnt know the correct directory path. I wish to thank you for working with me on this my friend !

Maybe we have helped others when they read how important the correct directory path can be!
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum