PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Warning: Unable to create the content file (http://www.phpdig.net/forum/showthread.php?t=145)

Tanasja 10-10-2003 01:34 AM

Warning: Unable to create the content file
 
Hi,

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,
Tanasja

BernhardG 10-10-2003 01:51 AM

Hi,

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

Bernhard


All times are GMT -8. The time now is 01:56 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.