PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 07-22-2004, 05:37 AM   #1
ZoRaC
Green Mole
 
Join Date: Jul 2004
Location: Steinkjer, Norway
Posts: 11
Looping when indexing

Hi!

I installed phpdig today and was going to use it to index my dynamic web-site. I bumped into a problem.

The site is structured like this: http://www.domain.com/news/index.php contains a list of news, 10 displayed on each page, and a link to read the news like this:
http://www.domain.com/news/index.php?id=123

There is also a link for prew/next page of news on the top and bottom of the page. (http://www.domain.com/news/index.php?start=10)

The problem is that when indexing it indexes like this:
http://www.domain.com/news/index.php?start=10
http://www.domain.com/news/index.php?start=10start=10
http://www.domain.com/news/index.php...art=10start=10

And:
http://www.domain.com/news/index.php?id=123
http://www.domain.com/news/index.php?id=123id=123

This seems like an infinite loop...

Any suggestions on how to solve this?
I've been trying different settings with "links per page" and "depth", but no luck.

Thanks in advance!
ZoRaC is offline   Reply With Quote
Old 07-22-2004, 05:56 AM   #2
ZoRaC
Green Mole
 
Join Date: Jul 2004
Location: Steinkjer, Norway
Posts: 11
My setup:
PHP Version 4.3.8-dev
Apache Version Apache/1.3.31
allow_url_fopen On
safe_mode Off
ZoRaC is offline   Reply With Quote
Old 07-22-2004, 07:52 PM   #3
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Are you using version 1.8.3? I haven't seen this type of looping with version 1.8.3, perhaps luck perhaps not. What's the site it loops on, and does anything show in your error logs?
__________________
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 07-23-2004, 12:39 AM   #4
ZoRaC
Green Mole
 
Join Date: Jul 2004
Location: Steinkjer, Norway
Posts: 11
Yes, it's 1.8.3.

Do you mean the server-error log? If so, there's nothing there...
If you mean the logfiles for phpdig, I can't find any (yes, logging is enabled)...
ZoRaC is offline   Reply With Quote
Old 07-25-2004, 04:07 PM   #5
ZoRaC
Green Mole
 
Join Date: Jul 2004
Location: Steinkjer, Norway
Posts: 11
Charter:
Any advise?
I'm stuck here...

Could try using mod_rewrite, so that the links would be different, but that requires som re-programming of my site...
ZoRaC is offline   Reply With Quote
Old 07-25-2004, 06:26 PM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Without knowing your site, perhaps check your HTML source for accuracy or try and see how your links get fed to and returned from the phpdigRewriteUrl function.
__________________
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 07-26-2004, 01:05 AM   #7
ZoRaC
Green Mole
 
Join Date: Jul 2004
Location: Steinkjer, Norway
Posts: 11
I'm so sorry for doubting your product!
The error was all on me and my programming...
ZoRaC 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
Index/Spider looping renehaentjens Troubleshooting 2 02-16-2004 06:10 AM


All times are GMT -8. The time now is 10:47 AM.


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