![]() |
Unable to create the content file (it did work)
I am receiving the message 'unable to create the content file ../text_content/xxx.txt
PhpDig has sucsesfully indexed the site in the past, in fact I completely re-indexed after upgrading to V1.8.7. Today I get the error message - so thinking about what has changed I can only come up with this - I have password protected the PHP_Dig root directory. Directory permissions are as follows:
|
Disk quota full?
I ran into the same problem you have (also experienced same problem as other posting about phpdig not indexing passed 50)
Turned out that my disk quota was full :o Worked fine after I increased it. |
Thanks for the idea - unfotunately (or fortunately depending upon the way you look at it!) I have 200 MB left.
|
Further info:-
I have tried removing the pasword protection but it made no difference. All ownership & group settings are correct. Further tests show that I cannot spider any site. :bang: Why, I have no idea! Yes I do sometimes need to bang my head onto a wall when things get on top of me but I have installed a device that will reduce the disruptive effects - a foam pad at the correct height. Anyone any ideas - PLEASE |
Solved the problem of being unable to spider any site, It was caused by an added value item that my ISP introduced.
Quote:
Looks like back to the drawing board again, possibly completely re-installing PHPDig. Does anyone know how to rejuvinate aging grey cells. |
did you chmod the text_content folder to 777?
can't help with the grey cells - sorry :D |
Yes.
All the permissions are listed in my first post. |
what version of php/mysql are you running?
jmitchell |
PHP 4.3.5, MySQL 4.0.18 (Client API 3.23.58), FreeBSD 4.1, Apache 1.3.29 (unix), Mod_perl 1.28.
|
hmmm, I've got no ideas, maybe charter does.
...charter?? jmitchell |
Perhaps try changing the 705 permissions to 755 permissions.
|
I cannot personally see how file permissions are an issue, let me try and elaborate:-
I can spider another site, everything works, indexes are made, no 'cannot create content file' error messages are seen. I upload a file 'new.html', I have a file 'existing.html' which contains links and I add a link to 'new.html' and upload it. When I spider 'existing.html' it checks all the other links and tells me that the file date is unchanged but does not seem to find 'new.html'. If I spider 'full-url/dir/new.html' it finds it and indexes it. I then greated 'new2.html' and uploaded it. I added the link to 'index.html'. I then spidered 'full-url/index.html', and it looked at the whole site, it found 'new2.html' (and 3 others I uploaded) but all suffered from the 'unable to create the content file' message. Then I tried indexing each one individually ('full-url/filename') and was told that the file date was unchanged. It seems that my options are to delete and re-spider the whole site or to individually update files on their own from the front page and not use the update site page. I am completely puzzled now , the only solution I can come up with is to go and have a pint or two. |
The update options have changed. To reindex and follow new links, just use the textbox as you have discovered. The 'unable to create the content file' message occurs when fopen fails, likely due to permissions, so set the 705s to 755s and give it a try. Mmm, beer.
|
The Beer did me good but unfortunately it had no effect on PhpDig.
I changed all the 705's to 755 - no different. Today I tried a Whisky and Ginger - still no change to PhpDig - BUT I did notice the following:- All the xxx.txt files in text_content that were written on the 26-12-2004 were 644 rafars cgishell. These are the ones that have the 'cannot create content file' message. New files that were indexed today are 644 wwwuser wwwuser. Any ideas. p.s. Only 3 images are displaying on this newreply.php page, PhpDig logo, CheckOut & PayPal. |
Sorry - error in my last post (could not find out how to edit it!).
644 wwwuser wwwuser should read 666 wwwuser wwwuser. |
All times are GMT -8. The time now is 05:43 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.