View Full Version : Warning: Unable to create the content file

10-10-2003, 01:34 AM

I have 2 questions,

1. Warning
When I want to index a part of my website I receive the Warning:
Warning : Unable to create the content file ../text_content/152.txt !
Is this a problem?

2. Subdirectories without links
I have subdirectories with .doc files and other types. There is no hyperlink to those files. What is the best way to index them?

Thnx for helping,

10-10-2003, 01:51 AM

The problem is that your directory "text_content/" is not writeable by the web server. Set the rights of this directory to "777" to be sure that it works right. Later you can try to set the rights to 707 to raise the security level a bit.

I have no direct aswer to your second question. I would create a page that contains the links to your .doc files and is NOT linked with the other pages. After that you can index this page. Another solution could be to create a url file and use the command line interface of phpDig. Your call to this should look like this: php4 admin/spider.php a_file_that_contains_the_urls.txt