PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 06-09-2004, 01:51 PM   #1
Steve Joynt
Green Mole
 
Join Date: Jun 2004
Location: Manchester, UK
Posts: 1
No link in temporary table

Success! I think I've fixed it at last.

Although there were lots of ideas throughout this message board on ways to fix this problem, none seemed to make any difference to my set up.

It looks like the file_exists() function doesn't work on my instalation of php 4.2.3 It always seems to return false, even when the file actually exists!

I've checked all the usual chmod's and php.ini settings, and everything seems to imply that it should work properly.

The spider doesn't add pages to its temporary table if it failed to retrieve them (ie. the local work file doesn't exist). This means it never adds anything to the table and that's why it's always empty.

If you have this problem, you'll notice files will be created in admin/temp even though the spider claims it can't see anything to index.

I eventually fixed it by replacing all calls to file_exists() to @is_file()

The fact that this alone cured the problem implies there's probably some bug in php rather than this software!

Hope this helps someone out there while you still have some hair left..

Steve <><
Steve Joynt is offline   Reply With Quote
Old 06-10-2004, 01:05 AM   #2
bloodjelly
Purple Mole
 
Join Date: Dec 2003
Posts: 106
Nice going Steve - glad it works for you. It's nice to have more suggestions / fixes in the boards for when things go wrong and absolutely nothing seems to work.
bloodjelly is offline   Reply With Quote
Reply

Thread Tools

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
No link in temporary table yet again... funeral Troubleshooting 2 04-06-2005 01:45 PM
No link in temporary table raphael_ita Troubleshooting 4 12-07-2004 12:25 AM
No link in temporary table gooseman How-to Forum 4 05-14-2004 02:24 AM
No link in temporary table (yet another one) renehaentjens Troubleshooting 7 03-30-2004 10:46 PM
No link in temporary table michabis101 Troubleshooting 20 03-29-2004 01:08 PM


All times are GMT -8. The time now is 03:11 PM.


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