PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 01-28-2005, 03:33 AM   #1
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
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:
  • /PhpDigDir - 705
  • /admin - 705 (I also tried 755)
  • /admin/temp - 777
  • /includes - 755
  • /libs - 705
  • /locale - 705
  • /rss - 755
  • /sql - 705
  • /template - 705
  • /text_content - 777
  • /tpl_img - 705
Would adding password protection cause this!
__________________
Regards
Bob Finch
rafarspd is offline   Reply With Quote
Old 01-29-2005, 08:38 AM   #2
delphian
Green Mole
 
Join Date: Jan 2005
Posts: 1
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

Worked fine after I increased it.
delphian is offline   Reply With Quote
Old 01-29-2005, 09:52 AM   #3
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
Thanks for the idea - unfotunately (or fortunately depending upon the way you look at it!) I have 200 MB left.
__________________
Regards
Bob Finch

Last edited by rafarspd; 01-29-2005 at 09:54 AM.
rafarspd is offline   Reply With Quote
Old 01-31-2005, 06:53 AM   #4
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
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. 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
__________________
Regards
Bob Finch

Last edited by rafarspd; 01-31-2005 at 06:56 AM.
rafarspd is offline   Reply With Quote
Old 01-31-2005, 08:37 AM   #5
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
Solved the problem of being unable to spider any site, It was caused by an added value item that my ISP introduced.

Quote:
We recognise that the use of your Internet connection can be a worry. While you're away from your PC others could be eating away at your bandwidth by using applications such as peer to peer (P2P) software or binary newsgroups. That's why we've introduced the Surf option, allowing you to control what your broadband connection can be used for.

You can take greater control over your broadband connection by activating the Surf option, found in the My Account section of the portal. This allows us, using active port monitoring, to restrict your access to bandwidth-hungry applications such as P2P and binary newsgroups.

If you occasionally want to use P2P or binary newsgroups you can simply come to the portal and deactivate Surf, then reactivate it again once you've finished. The portal is password protected, so there's no way that anyone else can turn Surf on and off - you're in control.

Activating Surf doesn't guarantee responsible use of your connection. We recommend that you continue to monitor your usage using the View My Usage tool.
I was able to spider a site without any problems, and search for words. Unfortunately this does not cure my problem of being unable to create the content file when updating my own site.

Looks like back to the drawing board again, possibly completely re-installing PHPDig. Does anyone know how to rejuvinate aging grey cells.
__________________
Regards
Bob Finch
rafarspd is offline   Reply With Quote
Old 01-31-2005, 10:09 AM   #6
jmitchell
Orange Mole
 
Join Date: Dec 2004
Location: Tennessee
Posts: 60
did you chmod the text_content folder to 777?

can't help with the grey cells - sorry
__________________
60,000 pages indexed!!!!! http://www.sharemylink.com
jmitchell is offline   Reply With Quote
Old 02-01-2005, 12:34 AM   #7
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
Yes.

All the permissions are listed in my first post.
__________________
Regards
Bob Finch
rafarspd is offline   Reply With Quote
Old 02-01-2005, 11:47 AM   #8
jmitchell
Orange Mole
 
Join Date: Dec 2004
Location: Tennessee
Posts: 60
what version of php/mysql are you running?

jmitchell
__________________
60,000 pages indexed!!!!! http://www.sharemylink.com
jmitchell is offline   Reply With Quote
Old 02-02-2005, 12:34 AM   #9
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
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.
__________________
Regards
Bob Finch
rafarspd is offline   Reply With Quote
Old 02-02-2005, 11:14 AM   #10
jmitchell
Orange Mole
 
Join Date: Dec 2004
Location: Tennessee
Posts: 60
hmmm, I've got no ideas, maybe charter does.

...charter??

jmitchell
__________________
60,000 pages indexed!!!!! http://www.sharemylink.com
jmitchell is offline   Reply With Quote
Old 02-02-2005, 11:27 AM   #11
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Perhaps try changing the 705 permissions to 755 permissions.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 02-02-2005, 03:15 PM   #12
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
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.
__________________
Regards
Bob Finch
rafarspd is offline   Reply With Quote
Old 02-02-2005, 04:03 PM   #13
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 02-11-2005, 04:22 AM   #14
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
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.
__________________
Regards
Bob Finch
rafarspd is offline   Reply With Quote
Old 02-11-2005, 06:17 AM   #15
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
Sorry - error in my last post (could not find out how to edit it!).

644 wwwuser wwwuser should read 666 wwwuser wwwuser.
__________________
Regards
Bob Finch
rafarspd is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to render template file. ccondo Troubleshooting 2 08-03-2005 09:41 AM
including file with php does not work... Fking How-to Forum 5 10-09-2004 11:47 AM
Install did not work-Can't create database. tams Script Installation 10 03-13-2004 12:55 PM
Unable to create the content file and crontab not working and ixwebhosting paullind Troubleshooting 17 03-06-2004 06:40 AM
Warning: Unable to create the content file Tanasja Troubleshooting 1 10-10-2003 02:51 AM


All times are GMT -8. The time now is 06:55 PM.


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