PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   How do i index my test server. (http://www.phpdig.net/forum/showthread.php?t=741)

silverfish 03-29-2004 11:12 AM

How do i index my test server.
 
I want to index my localhost, which is just my ip right now, as it is a test server.

Ever time i try to index my IP, one level in.. It jsut indexes forever.. saying LOCKED over and over.. it never stops, and it isnt putting anything into the database.

If anyone has successfully indexed a folder in their localhost, please let me know how to do it!

Silver

Charter 03-29-2004 12:37 PM

Hi. Perhaps something in this thread might help.

silverfish 03-29-2004 12:39 PM

Hmm...

No... See im behind a firewall, but so is my server...So im just indexing locally...

It just says locked, but nothing is being written to the db, yet it loads and loads..

Charter 03-29-2004 12:50 PM

Hi. Is anything getting into the tempspider table?

silverfish 03-29-2004 12:51 PM

Ok..
i changed the 'USE_IS_EXECUTABLE_COMMAND' to 0 and it seemed to work in indexing..

But it wont spider.. it just indexed the first page, thats it..

Charter 03-29-2004 01:09 PM

Hi. What search depth are you using?

silverfish 03-29-2004 01:10 PM

It doesnt seem to matter...

I go from 1 all the way to 20 and it still only returns the first page.

:(

Charter 03-29-2004 01:18 PM

Hi. Perhaps try the suggestions in this thread, and if there is a base href tag, then try the code in this post.

silverfish 03-29-2004 01:37 PM

Still only indexes the first page.

:(

Charter 03-29-2004 01:47 PM

Hi. Try uncommenting //print $answer."<br>\n"; in robot_functions.php and see what you get on index.

silverfish 03-29-2004 01:50 PM

This is what i get when I spider:


Spidering in progress...

--------------------------------------------------------------------------------
SITE : http://webdev/
Exclude paths :
- @NONE@
1:http://webdev/mambo/
(time : 00:00:08)
No link in temporary table

--------------------------------------------------------------------------------

links found : 1
http://webdev/mambo/
Optimizing tables...
Indexing complete !
--------------------------------------------------------------------------------
[Back] to admin interface.

silverfish 03-29-2004 01:54 PM

If i can get this to work, I can post to the whole mambo community about this engine.. :)

Charter 03-29-2004 02:01 PM

Hi. Doesn't Mambo already have PhpDig integrated? I thought it did, but maybe I'm just confused.

Anyway, what did you get when you uncommented //print $answer."<br>\n"; in the robot_functions.php file?

silverfish 03-29-2004 02:04 PM

Opps...

here is what I got:

HTTP/1.1 404 Not Found
HTTP/1.1 200 OK
Date: Mon, 29 Mar 2004 23:03:34 GMT
Server: Apache/1.3.29 (Win32)
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Pragma: no-cache
X-Powered-By: PHP/4.3.4
Set-Cookie: sessioncookie=3e3025a85c2bba6ea08f8512c863dc2c; expires=Tue, 30-Mar-2004 11:03:34 GMT; path=/
Set-Cookie: mosvisitor=1
Last-Modified: Mon, 29 Mar 2004 23:03:34 GMT
Content-Type: text/html

HTTP/1.1 200 OK
Date: Mon, 29 Mar 2004 23:03:35 GMT
Server: Apache/1.3.29 (Win32)
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Pragma: no-cache
X-Powered-By: PHP/4.3.4
Set-Cookie: sessioncookie=1ede113f1f6232445c38b9a20237c08f; expires=Tue, 30-Mar-2004 11:03:35 GMT; path=/
Set-Cookie: mosvisitor=1
Last-Modified: Mon, 29 Mar 2004 23:03:35 GMT
Content-Type: text/html

HTTP/1.1 404 Not Found

--------------------------------------------------------------------------------
SITE : http://webdev/
Exclude paths :
- @NONE@
HTTP/1.1 200 OK
Date: Mon, 29 Mar 2004 23:03:40 GMT
Server: Apache/1.3.29 (Win32)
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Pragma: no-cache
X-Powered-By: PHP/4.3.4
Set-Cookie: sessioncookie=1ffb0f6dac1a34f53e5f5b7da5899104; expires=Tue, 30-Mar-2004 11:03:40 GMT; path=/
Set-Cookie: mosvisitor=1
Last-Modified: Mon, 29 Mar 2004 23:03:40 GMT
Content-Type: text/html

1:http://webdev/mambo/
(time : 00:00:08)
No link in temporary table

--------------------------------------------------------------------------------

links found : 1
http://webdev/mambo/
Optimizing tables...
Indexing complete !
--------------------------------------------------------------------------------
[Back] to admin interface.

Charter 03-29-2004 02:23 PM

Hi. What happens when you add one of the following to your hosts file?

127.0.0.1 localhost
127.0.0.1 webdev/
127.0.0.1 webdev/mambo/

# or maybe this:

127.0.0.1 localhost
127.0.0.1 webdev.com/
127.0.0.1 webdev.com/mambo/

# or maybe this:

127.0.0.1 localhost
127.0.0.1 www.webdev.com/
127.0.0.1 www.webdev.com/mambo/


All times are GMT -8. The time now is 01:18 PM.

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