PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Spider Indexes an Error Page (http://www.phpdig.net/forum/showthread.php?t=2371)

alisan 02-12-2006 10:58 PM

Spider Indexes an Error Page
 
Spider fails to index page 'http://www.netkitap.com'.
I think something wrong with session's. Although the page successfuly seen from browsers, in local content file(under admin/temp/), such an error string occurs. Moreover this content is indexed :) ...


Microsoft OLE DB Provider for ODBC Drivers error '80004005' [MySQL][ODBC 3.51 Driver][mysqld-5.0.15-nt]Unknown column '2CASPSESSIONIDCSSDATCA' in

alisan 02-13-2006 10:24 AM

The full error page code is below. The question is "Why spider gets such an replay where browsers gets a page without a problem ?" . Also If I donot send $cookiesSendString from in my port request, indexing goes on well.

HTTP/1.1 500 Internal Server Error

Connection: close

Date: Mon, 13 Feb 2006 19:08:39 GMT

Server: Microsoft-IIS/6.0

X-Powered-By: ASP.NET

P3P: CP="CAO PSA OUR"

Content-Length: 361

Content-Type: text/html

Cache-control: private



<font face="Arial" size=2>

<p>Microsoft OLE DB Provider for ODBC Drivers</font> <font face="Arial" size=2>error '80004005'</font>

<p>

<font face="Arial" size=2>[MySQL][ODBC 3.51 Driver][mysqld-5.0.15-nt]Unknown column '2CASPSESSIONIDASSDDSCA' in 'where clause'</font>

<p>

<font face="Arial" size=2>/ayarlar.asp</font><font face="Arial" size=2>, line 66</font>

alisan 02-13-2006 11:14 AM

SOLUTION:

I changed the order of COOKIES strings in header request.
I really do not know why it causes problem, but everything is OK now :smoke: ...


In function 'phpDigMakeCookies', change concat order.

// $cookiesSendString .= "Cookie: ".$cookieString['string'].END_OF_LINE_MARKER;
$cookiesSendString = "Cookie: ".$cookieString['string'].END_OF_LINE_MARKER.$cookiesSendString;


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

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