Closed GoogleCodeExporter closed 9 years ago
BTW, this is my configuration.php:
<?php
$CONFIGURATION_PROVIDER = "file";
$USERS = array();
$PUBLISHED_DIRECTORIES = array(
"1" => array("name" => "docs", "path" => "/docs")
);
?>
Original comment by zy.haram...@gmail.com
on 27 Apr 2010 at 3:23
Could you get some logs as instructed here
http://code.google.com/p/mollify/wiki/Troubleshooting
Original comment by samuli.j...@gmail.com
on 27 Apr 2010 at 4:41
Hi.
Copy&paste from the gwt-log:
gwt-log TRACE DEBUG INFO WARN ERROR FATAL OFF Clear
About
2010-04-27 22:26:26,375 [INFO ] Mollify service location:
http://www.haramaty.info/mollify/backend/r.php, timeout: 30 sec
2010-04-27 22:26:26,421 [INFO ] Starting Mollify, protocol version 1_5_0
2010-04-27 22:26:26,437 [DEBUG] Host page location:
http://www.haramaty.info/mollify/
2010-04-27 22:26:26,437 [DEBUG] Module name: org.sjarvela.Mollify
2010-04-27 22:26:26,437 [DEBUG] Module location:
http://www.haramaty.info/mollify/debug-client/
2010-04-27 22:26:26,453 [DEBUG] Requesting session info (protocol version
'1_5_0')
2010-04-27 22:26:26,453 [DEBUG] REQUEST (GET):
http://www.haramaty.info/mollify/backend/r.php/session/info/1_5_0/
2010-04-27 22:26:28,218 [DEBUG] Request response: 403
{"code":0,"error":"Unknown error: Unknown service
''","details":"","trace":["SERVER:
{CONTENT_TYPE:text\/plain; charset=utf-8, HTTP_COOKIE:MOLLIFY-
SESSION=s6a7hfv6qtosjmo4lbr1954pc0; PHPSESSID=211fe7b06723f61e6e2a9500efa1987f,
HTTP_REFERER:http:\/\/www.haramaty.info\/mollify\/debug-
client\/BCDA3443E95ED62FE387267B0F1070E7.cache.html,
PATH_INFO:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
PATH_TRANSLATED:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.ph
p,
PHPRC:\/home\/content\/h\/a\/r\/haramaty\/html, QUERY_STRING:,
REDIRECT_STATUS:200,
REQUEST_METHOD:GET,
REQUEST_URI:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_FILENAME:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.ph
p,
SCRIPT_NAME:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_URI:http:\/
\/www.haramaty.info\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_URL:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SERVER_PROTOCOL:INCLUDED, SPI:TRUE,
PHP_SELF:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
REQUEST_TIME:1272396387}","SETTINGS: {debug:1}","CONFIGURATION PROVIDER
(FileConfigurationProvider): supported features={0:description_update}
auth=","FEATURES: {limited_http_methods:, file_upload:1, folder_actions:1,
file_upload_progress:, zip_download:, change_password:, description_update:,
permission_update:, administration:, user_groups:, event_logging:,
file_preview:,
file_view:, public_links:}","FILESYSTEM:
allowed_file_upload_types={}","SESSION:
{user_id:, username:, default_permission:RO, folders:{1:{id:1, name:docs,
path:\/docs}}}","AUTH: is_authentication_required=,
is_authenticated=1","ServiceException: Unknown service ''=","{0:
{file:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/include\/Molli
fyBac
kend.class.php, line:69, function:getService, class:ServiceEnvironment,
type:->,
args:{0:Request}}, 1:
{file:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.php,
line:47,
function:processRequest, class:MollifyBackend, type:->, args:
{0:Request}}}","RESPONSE error {0:0, 1:Unknown error: Unknown service '',
2:403} "]}
</iframe></noscript></object></layer></span></div></table></body></html><!--
adsok --
>
<script language='javascript'
src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>
2010-04-27 22:26:28,234 [FATAL] Uncaught Exception:
com.google.gwt.json.client.JSONException:
com.google.gwt.core.client.JavaScriptException: (SyntaxError): נדרש
')'
number: -2146827282
description: נדרש ')'
at
Unknown.com_google_gwt_json_client_JSONException_$JSONException__Lcom_google_gwt
_json
_client_JSONException_2Ljava_lang_Throwable_2Lcom_google_gwt_json_client_JSONExc
eptio
n_2(Unknown source:0)
at
Unknown.com_google_gwt_json_client_JSONParser_parse__Ljava_lang_String_2Lcom_goo
gle_g
wt_json_client_JSONValue_2(Unknown source:0)
at
Unknown.org_sjarvela_mollify_client_service_request_listener_JsonRequestListener
_$onF
ail__Lorg_sjarvela_mollify_client_service_request_listener_JsonRequestListener_2
ILjav
a_lang_String_2V(Unknown source:0)
at
Unknown.org_sjarvela_mollify_client_service_request_listener_JsonRequestListener
_$onF
ail__Lorg_sjarvela_mollify_client_service_request_listener_JsonRequestListener_2
Lcom_
google_gwt_http_client_Response_2V(Unknown source:0)
at
Unknown.org_sjarvela_mollify_client_service_request_HttpRequestHandler$1_$onResp
onseR
eceived__Lorg_sjarvela_mollify_client_service_request_HttpRequestHandler$1_2Lcom
_goog
le_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown
source:0)
at
Unknown.com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_
gwt_h
ttp_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V(Unknown
source:0)
at
Unknown.com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_goo
gle_g
wt_xhr_client_XMLHttpRequest_2V(Unknown source:0)
at Unknown.anonymous(Unknown source:0)
at
Unknown.com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_la
ng_Ob
ject_2Ljava_lang_Object_2Ljava_lang_Object_2(Unknown source:0)
at Unknown.anonymous(Unknown source:0)
Caused by: com.google.gwt.core.client.JavaScriptException:
(SyntaxError): נדרש ')'
number: -2146827282
description: נדרש ')'
Original comment by zy.haram...@gmail.com
on 27 Apr 2010 at 7:28
It seems like your host does not understand the request url format, and that's
why you
get an unknown service error. I'm not sure why is this, but I'll look into this.
Original comment by samuli.j...@gmail.com
on 28 Apr 2010 at 6:11
Thanks for checking this.
Another weird thing, is that the log mentions a few times the hebrew word
נדרש
(meaning "required"). Hebrew is my mother tongue; but GoDaddy / Mollify aren't
native Hebrew speaker ...
Maybe it's a problem with malfunctioned localization attepmt?
Thanks,
Zvika
Original comment by zy.haram...@gmail.com
on 28 Apr 2010 at 6:32
I was wondering the same thing, you're right that Mollify does not speak
Hebrew. But I
guess this is related to your browser, maybe you have set Hebrew as language
there?
None of the server messages have that word, so this shouldn't be any issue to
worry
about.
Original comment by samuli.j...@gmail.com
on 28 Apr 2010 at 6:47
I know the reason now, It's unbelievable how differently PHP servers operate.
Request url is in syntax "script.php/request/path", and what server
needs is the "request/path". This is resolved based on the information
PHP server provides, but it seems that in your host the information is
different than usually (none of your params actually provide this
info).
But I'll come up with some solution, and let you know
Original comment by samuli.j...@gmail.com
on 28 Apr 2010 at 7:02
Could you try with this file, replace your copy at "backend/include" with this
one.
Original comment by samuli.j...@gmail.com
on 28 Apr 2010 at 7:32
Attachments:
Hi.
Now I'm getting this:
gwt-log
TRACE DEBUG INFO WARN ERROR FATAL OFF Clear
About
2010-04-28 10:57:32,794 [INFO ] Mollify service location:
http://haramaty.info/mollify/backend/r.php, timeout: 30 sec
2010-04-28 10:57:32,930 [INFO ] Starting Mollify, protocol version 1_5_0
2010-04-28 10:57:32,932 [DEBUG] Host page location:
http://haramaty.info/mollify/
2010-04-28 10:57:32,933 [DEBUG] Module name: org.sjarvela.Mollify
2010-04-28 10:57:32,933 [DEBUG] Module location:
http://haramaty.info/mollify/debug-
client/
2010-04-28 10:57:32,934 [DEBUG] Requesting session info (protocol version
'1_5_0')
2010-04-28 10:57:32,937 [DEBUG] REQUEST (GET):
http://haramaty.info/mollify/backend/r.php/session/info/1_5_0/
2010-04-28 10:57:33,496 [FATAL] Uncaught JavaScript exception [[object Event]]
in
undefined, line undefined
2010-04-28 10:57:34,692 [DEBUG] Request response: 403
{"code":0,"error":"Unknown error: Invalid session param requested:
folders","details":"","trace":["SERVER: {CONTENT_TYPE:text\/plain;
charset=utf-8,
HTTP_CACHE_CONTROL:max-stale=0,
HTTP_COOKIE:PHPSESSID=4258551041dd3f4b8e3e6d117393dfb2; MOLLIFY-
SESSION=db1ue4u7lptbd95hlq970npgt0; MOLLIFY_SESSION=8rq7gck3mbgsj15eaj54vreqp5,
HTTP_REFERER:http:\/\/haramaty.info\/mollify\/debug-
client\/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html,
HTTP_X_BLUECOAT_VIA:BBB4B6A99B7BBE9A,
PATH_INFO:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
PATH_TRANSLATED:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.ph
p,
PHPRC:\/home\/content\/h\/a\/r\/haramaty\/html, QUERY_STRING:,
REDIRECT_STATUS:200,
REQUEST_METHOD:GET,
REQUEST_URI:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_FILENAME:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.ph
p,
SCRIPT_NAME:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_URI:http:\/\/haramaty.info\/mollify\/backend\/r.php\/session\/info\/1_5_0
\/,
SCRIPT_URL:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SERVER_PROTOCOL:INCLUDED, SPI:TRUE,
PHP_SELF:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
REQUEST_TIME:1272441453}","SETTINGS: {debug:1}","CONFIGURATION PROVIDER
(FileConfigurationProvider): supported features={0:description_update}
auth=","FEATURES: {limited_http_methods:, file_upload:1, folder_actions:1,
file_upload_progress:, zip_download:, change_password:, description_update:,
permission_update:, administration:, user_groups:, event_logging:,
file_preview:,
file_view:, public_links:}","FILESYSTEM:
allowed_file_upload_types={}","SESSION:
{user_id:, username:, default_permission:RO}","AUTH:
is_authentication_required=,
is_authenticated=1","REQUEST: method=get, path={0:session, 1:info, 2:1_5_0},
ip=212.179.61.36, params={}, data=","SERVICE (SessionServices):
is_auth_required=","Requesting session info for protocol version
1_5_0","ServiceException: Invalid session param requested:
folders=","{0:{file:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/
inclu
de\/filesystem\/FilesystemController.class.php, line:91, function:param,
class:Session, type:->, args:{0:folders}},
1:{file:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/include\/ser
vices
\/SessionServices.class.php, line:77, function:getSessionInfo,
class:FilesystemController, type:->, args:{}},
2:{file:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/include\/ser
vices
\/SessionServices.class.php, line:39, function:getSessionInfo,
class:SessionServices,
type:->, args:{0:1_5_0}},
3:{file:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/include\/ser
vices
\/ServicesBase.class.php, line:43, function:processGet, class:SessionServices,
type:-
>, args:{}},
4:{file:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/include\/Mol
lifyB
ackend.class.php, line:76, function:processRequest, class:ServicesBase,
type:->,
args:{}},
5:{file:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.php,
line:47, function:processRequest, class:MollifyBackend, type:->,
args:{0:Request}}}","RESPONSE error {0:0, 1:Unknown error: Invalid session
param
requested: folders, 2:403}
"]}</iframe></noscript></object></layer></span></div></table></body></html><!--
adsok
-->
<script language='javascript'
src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>
2010-04-28 10:57:34,700 [FATAL] Uncaught Exception:
com.google.gwt.json.client.JSONException:
com.google.gwt.core.client.JavaScriptException: (SyntaxError): Unexpected token
<
stack: SyntaxError: Unexpected token <
at
com_google_gwt_json_client_JSONParser_parse__Ljava_lang_String_2Lcom_google_gwt_
json_
client_JSONValue_2 (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:7961:5)
at
org_sjarvela_mollify_client_service_request_listener_JsonRequestListener_$onFail
__Lor
g_sjarvela_mollify_client_service_request_listener_JsonRequestListener_2ILjava_l
ang_S
tring_2V (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:19046:7)
at
org_sjarvela_mollify_client_service_request_listener_JsonRequestListener_$onFail
__Lor
g_sjarvela_mollify_client_service_request_listener_JsonRequestListener_2Lcom_goo
gle_g
wt_http_client_Response_2V (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:19037:332)
at
org_sjarvela_mollify_client_service_request_HttpRequestHandler$1_$onResponseRece
ived_
_Lorg_sjarvela_mollify_client_service_request_HttpRequestHandler$1_2Lcom_google_
gwt_h
ttp_client_Request_2Lcom_google_gwt_http_client_Response_2V
(http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:18870:211)
at
com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_gwt_http
_clie
nt_Request_2Lcom_google_gwt_http_client_RequestCallback_2V
(http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:5523:5)
at
Object.com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_goog
le_gw
t_xhr_client_XMLHttpRequest_2V [as
onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V]
(http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:5749:215)
at XMLHttpRequest. (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:13631:13)
at
com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Objec
t_2Lj
ava_lang_Object_2Ljava_lang_Object_2 (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:3395:27)
at XMLHttpRequest.onreadystatechange (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:3384:12)
type: unexpected_token
arguments: <
at
Unknown.com_google_gwt_json_client_JSONException_$JSONException__Lcom_google_gwt
_json
_client_JSONException_2Ljava_lang_Throwable_2Lcom_google_gwt_json_client_JSONExc
eptio
n_2(Unknown source:0)
at
Unknown.com_google_gwt_json_client_JSONParser_parse__Ljava_lang_String_2Lcom_goo
gle_g
wt_json_client_JSONValue_2(Unknown source:0)
at
Unknown.org_sjarvela_mollify_client_service_request_listener_JsonRequestListener
_$onF
ail__Lorg_sjarvela_mollify_client_service_request_listener_JsonRequestListener_2
ILjav
a_lang_String_2V(Unknown source:0)
at
Unknown.org_sjarvela_mollify_client_service_request_listener_JsonRequestListener
_$onF
ail__Lorg_sjarvela_mollify_client_service_request_listener_JsonRequestListener_2
Lcom_
google_gwt_http_client_Response_2V(Unknown source:0)
at
Unknown.org_sjarvela_mollify_client_service_request_HttpRequestHandler$1_$onResp
onseR
eceived__Lorg_sjarvela_mollify_client_service_request_HttpRequestHandler$1_2Lcom
_goog
le_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown
source:0)
at
Unknown.com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_
gwt_h
ttp_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V(Unknown
source:0)
at
Unknown.com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_goo
gle_g
wt_xhr_client_XMLHttpRequest_2V(Unknown source:0)
Caused by: com.google.gwt.core.client.JavaScriptException:
(SyntaxError): Unexpected token <
stack: SyntaxError: Unexpected token <
at
com_google_gwt_json_client_JSONParser_parse__Ljava_lang_String_2Lcom_google_gwt_
json_
client_JSONValue_2 (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:7961:5)
at
org_sjarvela_mollify_client_service_request_listener_JsonRequestListener_$onFail
__Lor
g_sjarvela_mollify_client_service_request_listener_JsonRequestListener_2ILjava_l
ang_S
tring_2V (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:19046:7)
at
org_sjarvela_mollify_client_service_request_listener_JsonRequestListener_$onFail
__Lor
g_sjarvela_mollify_client_service_request_listener_JsonRequestListener_2Lcom_goo
gle_g
wt_http_client_Response_2V (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:19037:332)
at
org_sjarvela_mollify_client_service_request_HttpRequestHandler$1_$onResponseRece
ived_
_Lorg_sjarvela_mollify_client_service_request_HttpRequestHandler$1_2Lcom_google_
gwt_h
ttp_client_Request_2Lcom_google_gwt_http_client_Response_2V
(http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:18870:211)
at
com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_gwt_http
_clie
nt_Request_2Lcom_google_gwt_http_client_RequestCallback_2V
(http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:5523:5)
at
Object.com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_goog
le_gw
t_xhr_client_XMLHttpRequest_2V [as
onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V]
(http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:5749:215)
at XMLHttpRequest. (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:13631:13)
at
com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Objec
t_2Lj
ava_lang_Object_2Ljava_lang_Object_2 (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:3395:27)
at XMLHttpRequest.onreadystatechange (http://haramaty.info/mollify/debug-
client/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html:3384:12)
type: unexpected_token
arguments: <
at
Unknown.com_google_gwt_json_client_JSONParser_parse__Ljava_lang_String_2Lcom_goo
gle_g
wt_json_client_JSONValue_2(Unknown source:0)
at
Unknown.org_sjarvela_mollify_client_service_request_listener_JsonRequestListener
_$onF
ail__Lorg_sjarvela_mollify_client_service_request_listener_JsonRequestListener_2
ILjav
a_lang_String_2V(Unknown source:0)
at
Unknown.org_sjarvela_mollify_client_service_request_listener_JsonRequestListener
_$onF
ail__Lorg_sjarvela_mollify_client_service_request_listener_JsonRequestListener_2
Lcom_
google_gwt_http_client_Response_2V(Unknown source:0)
at
Unknown.org_sjarvela_mollify_client_service_request_HttpRequestHandler$1_$onResp
onseR
eceived__Lorg_sjarvela_mollify_client_service_request_HttpRequestHandler$1_2Lcom
_goog
le_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown
source:0)
at
Unknown.com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_
gwt_h
ttp_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V(Unknown
source:0)
at
Unknown.com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_goo
gle_g
wt_xhr_client_XMLHttpRequest_2V(Unknown source:0)
at Unknown.(Unknown source:0)
at
Unknown.com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_la
ng_Ob
ject_2Ljava_lang_Object_2Ljava_lang_Object_2(Unknown source:0)
at Unknown.onreadystatechange(Unknown source:0)
Original comment by zy.haram...@gmail.com
on 28 Apr 2010 at 7:58
Try opening url "http://haramaty.info/mollify/backend/r.php/session/logout". It
will
reset the session, and then you can log in again.
Original comment by samuli.j...@gmail.com
on 28 Apr 2010 at 8:07
Maybe something is wrong with my configuration.php? (I've pasted its contents
above)
OK, now I'm getting this:
gwt-log
TRACE DEBUG INFO WARN ERROR FATAL OFF Clear
About
2010-04-28 11:08:38,532 [INFO ] Mollify service location:
http://haramaty.info/mollify/backend/r.php, timeout: 30 sec
2010-04-28 11:08:38,555 [INFO ] Starting Mollify, protocol version 1_5_0
2010-04-28 11:08:38,557 [DEBUG] Host page location:
http://haramaty.info/mollify/
2010-04-28 11:08:38,558 [DEBUG] Module name: org.sjarvela.Mollify
2010-04-28 11:08:38,558 [DEBUG] Module location:
http://haramaty.info/mollify/debug-
client/
2010-04-28 11:08:38,559 [DEBUG] Requesting session info (protocol version
'1_5_0')
2010-04-28 11:08:38,562 [DEBUG] REQUEST (GET):
http://haramaty.info/mollify/backend/r.php/session/info/1_5_0/
2010-04-28 11:08:39,055 [FATAL] Uncaught JavaScript exception [[object Event]]
in
undefined, line undefined
2010-04-28 11:08:39,742 [DEBUG] Request response: 200
{"result":{"authentication_required":false,"authenticated":true,"session_name":"
MOLLI
FY-
SESSION","session_id":"l15joaa5ev02ofofbo317hijv2","session_ver":"1_5","user_id"
:"","
username":"","default_permission":"RO","filesystem":{"folder_separator":"\/","ma
x_upl
oad_file_size":8388608,"max_upload_total_size":8388608,"allowed_file_upload_type
s":[]
},"folders":[{"id":"MTov","name":"docs"}],"features":{"limited_http_methods":fal
se,"f
ile_upload":true,"folder_actions":true,"file_upload_progress":false,"zip_downloa
d":fa
lse,"change_password":false,"description_update":false,"permission_update":false
,"adm
inistration":false,"user_groups":false,"event_logging":false,"file_preview":fals
e,"fi
le_view":false,"public_links":false}},"trace":["SERVER:
{CONTENT_TYPE:text\/plain;
charset=utf-8, HTTP_CACHE_CONTROL:max-stale=0,
HTTP_COOKIE:PHPSESSID=4258551041dd3f4b8e3e6d117393dfb2;
MOLLIFY_SESSION=8rq7gck3mbgsj15eaj54vreqp5,
HTTP_REFERER:http:\/\/haramaty.info\/mollify\/debug-
client\/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html,
HTTP_X_BLUECOAT_VIA:BBB4B6A99B7BBE9A,
PATH_INFO:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
PATH_TRANSLATED:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.ph
p,
PHPRC:\/home\/content\/h\/a\/r\/haramaty\/html, QUERY_STRING:,
REDIRECT_STATUS:200,
REQUEST_METHOD:GET,
REQUEST_URI:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_FILENAME:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.ph
p,
SCRIPT_NAME:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_URI:http:\/\/haramaty.info\/mollify\/backend\/r.php\/session\/info\/1_5_0
\/,
SCRIPT_URL:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SERVER_PROTOCOL:INCLUDED, SPI:TRUE,
PHP_SELF:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
REQUEST_TIME:1272442119}","SETTINGS: {debug:1}","CONFIGURATION PROVIDER
(FileConfigurationProvider): supported features={0:description_update}
auth=","FEATURES: {limited_http_methods:, file_upload:1, folder_actions:1,
file_upload_progress:, zip_download:, change_password:, description_update:,
permission_update:, administration:, user_groups:, event_logging:,
file_preview:,
file_view:, public_links:}","FILESYSTEM:
allowed_file_upload_types={}","SESSION:
{user_id:, username:, default_permission:RO, folders:{1:{id:1, name:docs,
path:\/docs}}}","AUTH: is_authentication_required=,
is_authenticated=1","REQUEST:
method=get, path={0:session, 1:info, 2:1_5_0}, ip=212.179.61.36, params={},
data=","SERVICE (SessionServices): is_auth_required=","Requesting session info
for
protocol version 1_5_0","RESPONSE success {authentication_required:,
authenticated:1,
session_name:MOLLIFY-SESSION, session_id:l15joaa5ev02ofofbo317hijv2,
session_ver:1_5,
user_id:, username:, default_permission:RO, filesystem:{folder_separator:\/,
max_upload_file_size:8388608, max_upload_total_size:8388608,
allowed_file_upload_types:{}}, folders:{0:{id:MTov, name:docs}},
features:{limited_http_methods:, file_upload:1, folder_actions:1,
file_upload_progress:, zip_download:, change_password:, description_update:,
permission_update:, administration:, user_groups:, event_logging:,
file_preview:,
file_view:,
public_links:}}"]}</iframe></noscript></object></layer></span></div></table></bo
dy></
html><!-- adsok -->
<script language='javascript'
src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>
2010-04-28 11:08:39,755 [ERROR] Request failed: error=Error
'DATA_TYPE_MISMATCH' (Got
malformed JSON response:
{"result":{"authentication_required":false,"authenticated":true,"session_name":"
MOLLI
FY-
SESSION","session_id":"l15joaa5ev02ofofbo317hijv2","session_ver":"1_5","user_id"
:"","
username":"","default_permission":"RO","filesystem":{"folder_separator":"\/","ma
x_upl
oad_file_size":8388608,"max_upload_total_size":8388608,"allowed_file_upload_type
s":[]
},"folders":[{"id":"MTov","name":"docs"}],"features":{"limited_http_methods":fal
se,"f
ile_upload":true,"folder_actions":true,"file_upload_progress":false,"zip_downloa
d":fa
lse,"change_password":false,"description_update":false,"permission_update":false
,"adm
inistration":false,"user_groups":false,"event_logging":false,"file_preview":fals
e,"fi
le_view":false,"public_links":false}},"trace":["SERVER:
{CONTENT_TYPE:text\/plain;
charset=utf-8, HTTP_CACHE_CONTROL:max-stale=0,
HTTP_COOKIE:PHPSESSID=4258551041dd3f4b8e3e6d117393dfb2;
MOLLIFY_SESSION=8rq7gck3mbgsj15eaj54vreqp5,
HTTP_REFERER:http:\/\/haramaty.info\/mollify\/debug-
client\/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html,
HTTP_X_BLUECOAT_VIA:BBB4B6A99B7BBE9A,
PATH_INFO:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
PATH_TRANSLATED:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.ph
p,
PHPRC:\/home\/content\/h\/a\/r\/haramaty\/html, QUERY_STRING:,
REDIRECT_STATUS:200,
REQUEST_METHOD:GET,
REQUEST_URI:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_FILENAME:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.ph
p,
SCRIPT_NAME:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_URI:http:\/\/haramaty.info\/mollify\/backend\/r.php\/session\/info\/1_5_0
\/,
SCRIPT_URL:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SERVER_PROTOCOL:INCLUDED, SPI:TRUE,
PHP_SELF:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
REQUEST_TIME:1272442119}","SETTINGS: {debug:1}","CONFIGURATION PROVIDER
(FileConfigurationProvider): supported features={0:description_update}
auth=","FEATURES: {limited_http_methods:, file_upload:1, folder_actions:1,
file_upload_progress:, zip_download:, change_password:, description_update:,
permission_update:, administration:, user_groups:, event_logging:,
file_preview:,
file_view:, public_links:}","FILESYSTEM:
allowed_file_upload_types={}","SESSION:
{user_id:, username:, default_permission:RO, folders:{1:{id:1, name:docs,
path:\/docs}}}","AUTH: is_authentication_required=,
is_authenticated=1","REQUEST:
method=get, path={0:session, 1:info, 2:1_5_0}, ip=212.179.61.36, params={},
data=","SERVICE (SessionServices): is_auth_required=","Requesting session info
for
protocol version 1_5_0","RESPONSE success {authentication_required:,
authenticated:1,
session_name:MOLLIFY-SESSION, session_id:l15joaa5ev02ofofbo317hijv2,
session_ver:1_5,
user_id:, username:, default_permission:RO, filesystem:{folder_separator:\/,
max_upload_file_size:8388608, max_upload_total_size:8388608,
allowed_file_upload_types:{}}, folders:{0:{id:MTov, name:docs}},
features:{limited_http_methods:, file_upload:1, folder_actions:1,
file_upload_progress:, zip_download:, change_password:, description_update:,
permission_update:, administration:, user_groups:, event_logging:,
file_preview:,
file_view:,
public_links:}}"]}</iframe></noscript></object></layer></span></div></table></bo
dy></
html><!-- adsok -->
<script language='javascript'
src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>
)
Protocol error
Got malformed JSON response:
{"result":{"authentication_required":false,"authenticated":true,"session_name":"
MOLLI
FY-
SESSION","session_id":"l15joaa5ev02ofofbo317hijv2","session_ver":"1_5","user_id"
:"","
username":"","default_permission":"RO","filesystem":{"folder_separator":"\/","ma
x_upl
oad_file_size":8388608,"max_upload_total_size":8388608,"allowed_file_upload_type
s":[]
},"folders":[{"id":"MTov","name":"docs"}],"features":{"limited_http_methods":fal
se,"f
ile_upload":true,"folder_actions":true,"file_upload_progress":false,"zip_downloa
d":fa
lse,"change_password":false,"description_update":false,"permission_update":false
,"adm
inistration":false,"user_groups":false,"event_logging":false,"file_preview":fals
e,"fi
le_view":false,"public_links":false}},"trace":["SERVER:
{CONTENT_TYPE:text\/plain;
charset=utf-8, HTTP_CACHE_CONTROL:max-stale=0,
HTTP_COOKIE:PHPSESSID=4258551041dd3f4b8e3e6d117393dfb2;
MOLLIFY_SESSION=8rq7gck3mbgsj15eaj54vreqp5,
HTTP_REFERER:http:\/\/haramaty.info\/mollify\/debug-
client\/BA1C515F4BFD9BE25C1F6A3BEC3F4DFE.cache.html,
HTTP_X_BLUECOAT_VIA:BBB4B6A99B7BBE9A,
PATH_INFO:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
PATH_TRANSLATED:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.ph
p,
PHPRC:\/home\/content\/h\/a\/r\/haramaty\/html, QUERY_STRING:,
REDIRECT_STATUS:200,
REQUEST_METHOD:GET,
REQUEST_URI:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_FILENAME:\/home\/content\/h\/a\/r\/haramaty\/html\/mollify\/backend\/r.ph
p,
SCRIPT_NAME:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SCRIPT_URI:http:\/\/haramaty.info\/mollify\/backend\/r.php\/session\/info\/1_5_0
\/,
SCRIPT_URL:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
SERVER_PROTOCOL:INCLUDED, SPI:TRUE,
PHP_SELF:\/mollify\/backend\/r.php\/session\/info\/1_5_0\/,
REQUEST_TIME:1272442119}","SETTINGS: {debug:1}","CONFIGURATION PROVIDER
(FileConfigurationProvider): supported features={0:description_update}
auth=","FEATURES: {limited_http_methods:, file_upload:1, folder_actions:1,
file_upload_progress:, zip_download:, change_password:, description_update:,
permission_update:, administration:, user_groups:, event_logging:,
file_preview:,
file_view:, public_links:}","FILESYSTEM:
allowed_file_upload_types={}","SESSION:
{user_id:, username:, default_permission:RO, folders:{1:{id:1, name:docs,
path:\/docs}}}","AUTH: is_authentication_required=,
is_authenticated=1","REQUEST:
method=get, path={0:session, 1:info, 2:1_5_0}, ip=212.179.61.36, params={},
data=","SERVICE (SessionServices): is_auth_required=","Requesting session info
for
protocol version 1_5_0","RESPONSE success {authentication_required:,
authenticated:1,
session_name:MOLLIFY-SESSION, session_id:l15joaa5ev02ofofbo317hijv2,
session_ver:1_5,
user_id:, username:, default_permission:RO, filesystem:{folder_separator:\/,
max_upload_file_size:8388608, max_upload_total_size:8388608,
allowed_file_upload_types:{}}, folders:{0:{id:MTov, name:docs}},
features:{limited_http_methods:, file_upload:1, folder_actions:1,
file_upload_progress:, zip_download:, change_password:, description_update:,
permission_update:, administration:, user_groups:, event_logging:,
file_preview:,
file_view:, public_links:}}"]}
Original comment by zy.haram...@gmail.com
on 28 Apr 2010 at 8:16
Maybe there are problems with GoDaddy php configurations?
I've run phpinfo(), attaching the HTML output it created.
Original comment by zy.haram...@gmail.com
on 28 Apr 2010 at 8:33
Attachments:
You seem to have following part in every server response:
===========
</iframe></noscript></object></layer></span></div></table></body></html><!--
adsok -->
<script language='javascript'
src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>
===========
Unless you have this in your configuration.php, this might be
something your host provider adds automatically. But since server
provides json data, this makes it invalid and nothing works. You could
ask about this from your provider if there is something that could
prevent it.
Original comment by samuli.j...@gmail.com
on 28 Apr 2010 at 9:27
No, I don't have this in my configuration.php
My server is GoDaddy. It putts ads automatically. That's probably the
explanation to
the "alphagodaddy.com/hosting_ads/".
I run other PHP libraries in the past (such as Joomla, Magento and PFN), and
the ads
have never problematic.
Can we bypass this somehow?
I've Googled a bit, and found this:
http://jonathanmerchant.com/2009/10/23/parsing-whats-dished-out-im-looking-at-yo
u-
godaddy/
It appears that his code also had problems with GoDaddy ads interfering with
json
response, and he described how he solved this.
If you could incroporate this solution, it'd be great!
Thanks,
Zvika
Original comment by zy.haram...@gmail.com
on 28 Apr 2010 at 9:48
The solution described in that page is simply finding the iframe tag from
response
and then cut it out. Dirty hack, but I guess it works.
Unfortunately this is very specific to GoDaddy and totally unnecessary to
"normal"
sites, so I cannot include it in the script as is.
Instead, I'll try to come up some way to have custom response handlers, and
then
provide a "GoDaddy response cleaner". As a concept this isn't that complex, but
I'm
in the middle of 1.6 version so this might not happen any day soon. Perhaps in
the
1.7.
Original comment by samuli.j...@gmail.com
on 28 Apr 2010 at 10:07
Fair enough.
Could you just update me when this is implemened? (do you have an estimation?)
Thanks
Original comment by zy.haram...@gmail.com
on 28 Apr 2010 at 10:35
I'd like to locally implement the "dirty" solution myself.
Which file(s) should I modify?
Original comment by zy.haram...@gmail.com
on 28 Apr 2010 at 10:51
If you "star" this issue, you will get notification on any updates. Since you
created
this issue, I guess you already get the notifications.
I will move this into ready status when I've implemented this. Unfortunately I
cannot
give any estimations, my time on this project is not regular at all, so I have
a rule
that never make any schedules or promises :) I hope you understand.
I get so many requests these days that if I started following all of them, I
would
never get anywhere, so I'm putting all requests on queue and review them when I
start
a new version. There has been few cases where the need is so great that I've
made a
an exception for a small compensation.
Original comment by samuli.j...@gmail.com
on 28 Apr 2010 at 10:54
Making your own changes is of course possible as this is open source. But
client side
is compiled with GWT, so the compiled javascript is not eaxctly human readable
or
editable. So you should really need to set up a development environment, then
make
modification to the Java source, and then compile it.
My goal is to make a callback mechanism so you could add your own javascript
handler
without needing to touch the compiled js.
Original comment by samuli.j...@gmail.com
on 28 Apr 2010 at 10:57
Interesting information...got the same problem:
Protocol error
Got malformed JSON response: {"result": blah blah blah
Really like this program, wish i can use it, ill try to find solution as well,
ill keep you guys posted.
Original comment by no2spamm...@gmail.com
on 24 Jun 2010 at 5:52
Let me add this comment:
I get the same error as soon as I try to configure (builtin) plugins. As long
as I have no plugin in the configuration file everything works perfect.
Unfortunately the whole project depends somehow on the plugins. If you want me
to provide further information feel free to ask.
Original comment by skraw...@googlemail.com
on 20 Oct 2010 at 12:11
As 1.7 is now released, it is now possible to alter the response. Let me know
if this is still valid issue (by replying here), and I'll post instructions
here.
Original comment by samuli.j...@gmail.com
on 7 Nov 2010 at 12:13
Original comment by samuli.j...@gmail.com
on 15 May 2011 at 11:56
Original issue reported on code.google.com by
zy.haram...@gmail.com
on 27 Apr 2010 at 3:20