PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 01-10-2004, 08:54 AM   #1
WunderStump
Green Mole
 
Join Date: Jan 2004
Location: Tacoma, WA
Posts: 4
Question Indexing hangs, nothing in db

I installed PHPdig quite a few months ago and it worked like a charm, indexing my site with hundreds of pages with ease. After a while, I noticed it now doesn't really get anywhere with my main site www.kevinfreitas.net
or any subdomains like lu.kevinfreitas.net or sister.kevinfreitas.net

Here's my phpinfo.

When I run indexing it doesn't show me the indexing in progress like it used to. Rather it just seems to hang on the admin homepage.

I've designed my site to conform to CSS and XHTML standards. This wasn't a problem in the past, like I mentioned, but it might help.

I've also just newly installed version 1.6.5 to start out clean. I haven't changed any settings.

Thanks in advance!
WunderStump is offline   Reply With Quote
Old 01-11-2004, 08:08 AM   #2
Rolandks
Purple Mole
 
Rolandks's Avatar
 
Join Date: Sep 2003
Location: Kassel, Germany
Posts: 119
Hmm, yes it hangs. I also can't index the main site www.kevinfreitas.net ??!

-roland-
Rolandks is offline   Reply With Quote
Old 01-11-2004, 03:54 PM   #3
WunderStump
Green Mole
 
Join Date: Jan 2004
Location: Tacoma, WA
Posts: 4
What the heck. Well, that helps me know that my PHPdig is probably just fine. So it's either my server or my site. I have a redirect (header function) to move visitors from my root domain to a journal entry on the site. Could that have something to do with it?

I'll also set PHPdig loose on another site or two hosted on the same server to see how it performs. That'll give me a good idea whether the problem lies with my server or site.

Cheers!
WunderStump is offline   Reply With Quote
Old 01-11-2004, 04:10 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. I did some testing to see where the hang occurs. The spider.php file calls phpdigGetSiteFromUrl which calls phpdigDetectDir which calls phpdigTestUrl and I think it is the phpdigTestUrl function that PhpDig hangs on because PhpDig is waiting to hear back from the server but it doesn't look like it gets a response.
__________________
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 01-11-2004, 04:38 PM   #5
WunderStump
Green Mole
 
Join Date: Jan 2004
Location: Tacoma, WA
Posts: 4
So, it indexed another site on my server just fine. I removed the "header" php function call and ZIP!!! phpDig started cruising through my site con mucho gusto.

So, how can I get this to work with the redirect? I do this because I have a comments feature for my journal and to pull the correct ones up, I use a date passed within the URL. If I allow my homepage to be a journal entry (at www.kevinfreitas.net rather than www.kevinfreitas.net/home.php?date=20040107 most comments would be associated with the base url rather than each individual entry.

Thanks for the advice all!
WunderStump is offline   Reply With Quote
Old 01-11-2004, 09:23 PM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Perhaps try a meta tag redirect like the below.
PHP Code:
<?php
$today 
date("Ymd");
echo <<<END
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://www.kevinfreitas.net/home.php?date=$today">
</head>
<body>
</body>
</html>
END;
?>
__________________
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-25-2004, 11:36 AM   #7
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. There is now a mod to follow header location redirects here.
__________________
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
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
Apache hangs when starting to scan a website djuritz Troubleshooting 3 07-14-2006 06:10 AM
Phpdig hangs when asked to spider any url using 1.83 steviec Troubleshooting 0 02-15-2006 01:27 AM
spider hangs on indexing pdf (pstotext) sushie External Binaries 7 06-15-2005 06:57 AM
PhpDig hangs... please help bpeovski Troubleshooting 2 08-24-2004 11:20 AM
Search Hangs dsstowe Bug Tracker 2 03-16-2004 10:33 AM


All times are GMT -8. The time now is 02:51 PM.


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