Recommend this page to a friend! |
PHP SVN Client | > | All threads | > | problem in example.php class | > | (Un) Subscribe thread alerts |
|
1 - 10 | 11 - 14 |
![]() I changed the
var $proxy_host_name="eu1936.lyceu.net"; and var $proxy_host_port=3060; inside http.php class. I got the following debug message: -- Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C PROPFIND http://php-ajax.googlecode.com/!svn/vcc/default HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 0 C Content-Length: 111 C C S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:07 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1364 S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C PROPFIND http://php-ajax.googlecode.com/!svn/bc/-1//trunk/phpajax// HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 1 C Content-Length: 332 C C S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:07 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1375 S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C PROPFIND http://php-ajax.googlecode.com/!svn/vcc/default HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 0 C Content-Length: 111 C C S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:07 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1364 S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C PROPFIND http://php-ajax.googlecode.com/!svn/bc/-1//trunk/phpajax// HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 1 C Content-Length: 332 C C S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:08 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1375 S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C PROPFIND http://php-ajax.googlecode.com/!svn/vcc/default HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 0 C Content-Length: 111 C C S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:08 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1364 S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C GET http://php-ajax.googlecode.com/!svn/bc/-1//trunk/phpajax/phpajax.php/ HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 1 C S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:08 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1386 S X-Cache: MISS from eu0575f.lyceu.net S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu0575f.lyceu.net:3060 (squid/2.6.STABLE12), 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C PROPFIND http://php-ajax.googlecode.com/!svn/vcc/default HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 0 C Content-Length: 111 C C S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:09 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1364 S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C GET http://php-ajax.googlecode.com/!svn/bc/-1//trunk/phpajax/phpajax.php/ HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 1 C S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:09 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1386 S X-Cache: MISS from eu1202f.lyceu.net S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1202f.lyceu.net:3060 (squid/2.6.STABLE12), 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C PROPFIND http://php-ajax.googlecode.com/!svn/vcc/default HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 0 C Content-Length: 111 C C S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:09 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1364 S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C REPORT http://php-ajax.googlecode.com/!svn/bc/-1/// HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 1 C Content-Length: 202 C C -1-1 S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:09 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1361 S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C PROPFIND http://php-ajax.googlecode.com/!svn/vcc/default HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 0 C Content-Length: 111 C C S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:10 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1364 S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com Connecting to php-ajax.googlecode.com Resolving HTTP proxy server domain "eu1936.lyceu.net"... Connecting to HTTP proxy server IP 172.18.244.83 port 3060... Connected to eu1936.lyceu.net C REPORT http://php-ajax.googlecode.com/!svn/bc/-1/// HTTP/1.1 C Host: php-ajax.googlecode.com C User-Agent: phpSVNclient (http://cesars.users.phpclasses.org/svnclient) C Content-Type: text/xml C Depth: 1 C Content-Length: 202 C C -1-1 S HTTP/1.0 404 Not Found S Date: Fri, 27 Jun 2008 13:43:10 GMT S Server: Apache S Content-Type: text/html; charset=UTF-8 S Content-Length: 1361 S X-Cache: MISS from eu1936.lyceu.net S Via: 1.0 eu1936.lyceu.net:3060 (squid/2.6.STABLE12) S Proxy-Connection: close S Disconnected from php-ajax.googlecode.com -- echo "Response Status :".$http->response_status[0]; is 4 inside request method of phpsvnclient.php class. Thanks.
![]() i was doing something wrong earlier, which is fixed now:
Array ( [0] => Array ( [last-mod] => Sat, 08 Dec 2007 01:18:35 GMT [path] => trunk/phpajax/JSON.php [status] => HTTP/1.1 200 OK ) [1] => Array ( [last-mod] => Thu, 29 Nov 2007 06:38:01 GMT [path] => trunk/phpajax/prototype.js [status] => HTTP/1.1 200 OK ) [2] => Array ( [last-mod] => Fri, 18 Jan 2008 07:07:21 GMT [path] => trunk/phpajax/phpajax.php [status] => HTTP/1.1 200 OK ) [3] => Array ( [last-mod] => Fri, 18 Jan 2008 07:07:21 GMT [path] => trunk/phpajax/defines.php [status] => HTTP/1.1 200 OK ) [4] => Array ( [last-mod] => Thu, 29 Nov 2007 06:38:01 GMT [path] => trunk/phpajax/json.js [status] => HTTP/1.1 200 OK ) [5] => Array ( [last-mod] => Fri, 18 Jan 2008 07:07:21 GMT [path] => trunk/phpajax/phpajax.js [status] => HTTP/1.1 200 OK ) ) --- the first array returns 6 element, where as there are 7 files in the directory /trunk/phpajax/
![]() Yeah, that was a bug already fixed yesterday, please download the last version.
Regards
![]() Thanks for informing.
Now could you please tell if there is any way with which i can recursively download the entire repository and not just files in one folder e.g. "/trunk/"? I think this is not implemented and i have to do it on my own that is recursive creation of subdirectories and all before writing files in them? I have to take care of the directory structure myself? Secondly, each time when i will get this $svn->getDirectoryFiles("/trunk/phpajax/"); and write the files in their respective directories, it would just overwrite the existign files and there is no way to fidn conflicts. Coudl you please shed soem light on this? thanks. |
1 - 10 | 11 - 14 |
info at phpclasses dot org
.