| Author | 
					Message | 
				
				 
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 15:41:19
	  
	
	
 						 | 
					
					
						
						
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..........
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 16:32:55
	  
	
	
 						 | 
					
					
						
						
Carbonize
 
	Master
	 
		![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)  
  
	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 | 
						
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 20:47:06
	  
	
	
 						 | 
					
					
						
						
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.  
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 20:51:57
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									I changed the folder to chmod 777,  did you say I need to change the FILES in the folder to 777?[/u]
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 20:59:18
	  
	
	
 						 | 
					
					
						
						
Carbonize
 
	Master
	 
		![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)  
  
	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 | 
						
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 21:29:07
	  
	
	
 						 | 
					
					
						
						
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.
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 21:45:36
	  
	
	
 						 | 
					
					
						
						
Carbonize
 
	Master
	 
		![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)  
  
	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 | 
						
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 21:46:37
	  
	
	
 						 | 
					
					
						
						
Carbonize
 
	Master
	 
		![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)  
  
	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 | 
						
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 21:54:11
	  
	
	
 						 | 
					
					
						
						
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]
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 22:16:34
	  
	
	
 						 | 
					
					
						
						
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.
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 22:37:20
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									Here is what I have for "post':
  
   <form method="post" action="http://cafedesire.com/cgi-bin/links.pl" name="message">
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/09/2004 23:05:34
	  
	
	
 						 | 
					
					
						
						
Carbonize
 
	Master
	 
		![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)  
  
	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 | 
						
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 26/09/2004 00:36:49
	  
	
	
 						 | 
					
					
						
						
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?
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 26/09/2004 00:42:55
	  
	
	
 						 | 
					
					
						
						
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?
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 26/09/2004 02:28:04
	  
	
	
 						 | 
					
					
						
						
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!
							
							
						 | 
					
		
					 
						| 
						 | 
					
				
		
				
					| 
						
					 |