Open kosmynin opened 8 years ago
Please always look at the PHP error log to see what is the reason for "Request failed", this message itself does not tell anything (for a reason). I just tested registration, and could not see any problems. It might be, for example, that you have not run updater to install database tables.
Here is the Error log:
MySQLi DB: kloudspeaker@localhost:kloudspeaker()EVENT HANDLER: registering '*': NotificatorHandlerEVENT HANDLER: registering 'filesystem/': CommentHandlerEVENT HANDLER: registering 'filesystem/': ShareHandlerEVENT HANDLER: registering 'filesystem/': ItemCollectionHandlerEVENT HANDLER: registering 'user/': ItemCollectionHandlerDB QUERY: select id, user_id, ip, time, last_access from session where id = '156378217b5af6' and last_access >= 20151102165612DB QUERY: select name, value from session_data where session_id = '156378217b5af6'DB QUERY: SELECT id, name, user_type, lang, email, expiration, ua.type as auth FROM user left outer join user_auth ua on id=ua.user_id WHERE id='1' AND (expiration is null or expiration > 20151102185612)DB QUERY: select id, name, description from user where id in (SELECT user_group.group_id FROM user as user, user_group as user_group where user_group.user_id = user.id and user.id = '1') ORDER BY id ASCDB QUERY: UPDATE session set last_access=20151102185612 where id='156378217b5af6'Filesystem registered: localEVENT HANDLER: registering 'filesystem/': FilesystemControllerVERSION: 2.7.10 SERVER: {PHP_FCGI_CHILDREN:4, PHP_FCGI_MAX_REQUESTS:10000, ORIG_PATH_TRANSLATED:/var/www/html/registration/list/, ORIG_SCRIPT_FILENAME:/var/www/html/backend/r.php/registration/list/, HTTP_COOKIE:uppodhtml5_volume=0.8; AjaXplorer-remember=admin%3A0329294b8ae8a0c88411df9d7890e8be; __CJ_ajxp_remember=%7B%22user%22%3A%22notify%22%2C%22pass%22%3A%22notify%22%7D; freehold_session=admin_HBdKVGijClEQSlBnbBWQE2wdvXyCEqtJhlJlNxmgCRQ=; kloudspeaker_app_session=156378217b5af6, HTTP_REFERER:http://kosmynin.myftp.org/?v=config/registration, HTTP_X_REQUESTED_WITH:XMLHttpRequest, HTTP_KLOUDSPEAKER_SESSION_ID:156378217b5af6, CONTENT_TYPE:application/json, SERVER_PROTOCOL:HTTP/1.1, REDIRECT_STATUS:200, REQUEST_METHOD:GET, QUERY_STRING:, REQUEST_URI:/backend/r.php/registration/list/, SCRIPT_FILENAME:/var/www/html/backend/r.php, PATH_TRANSLATED:/var/www/html/registration/list/, PATH_INFO:/registration/list/, SCRIPT_NAME:/backend/r.php, FCGI_ROLE:RESPONDER, PHP_SELF:/backend/r.php/registration/list/, REQUEST_TIME_FLOAT:1446483372.6785, REQUEST_TIME:1446483372}SETTINGS: {db:{type:mysql, user:kloudspeaker, password:}, plugins:{Notificator:{}, Archiver:{compressor:raw}, Registration:{require_approval:, groups:2, folders:{0:2}, user_folder:{path:/media/hdd/Users, add_to_users:{0:1}}}, FileViewerEditor:{viewers:{Image:{0:gif, 1:png, 2:jpg}, TextFile:{0:txt, 1:js, 2:css, 3:xml, 4:html, 5:xhtml, 6:py, 7:c, 8:cpp, 9:as3, 10:sh, 11:java, 12:sql, 13:php}, JPlayer:{0:mp3, 1:ogg}, FlowPlayer:{0:mp4, 1:flv}, ViewerJS:{0:pdf, 1:odt, 2:ods, 3:odp}}, previewers:{Image:{0:gif, 1:png, 2:jpg}}, editors:{TextFile:{0:txt, 1:tex, 2:js, 3:css, 4:xml, 5:html, 6:xhtml, 7:py, 8:c, 9:cpp, 10:as3, 11:sh, 12:java, 13:php}}}, Comment:{}, Share:{}, ItemDetails:{}, ItemCollection:{}}, enable_mail_notification:1, mail_notification_from:Administrator [EMAIL], mail_sender_class:mail/PHPMailerSender.class.php, debug:1, debug_log:/var/www/html/backend/debug.log, mail_smtp:{host:smtp.web.de, username:kloudspeaker, password:[PASSWORD], secure:tls}}FEATURES: {limited_http_methods:, change_password:1, descriptions:1, user_groups:1, mail_notification:1, retrieve_url:, folder_protection:, thumbnails:, guest_mode:, registration:1, file_view:1, file_preview:1, file_edit:1, itemcollection:1}FILESYSTEM: allowed_file_upload_types={}SESSION: is_active=1, user={id:1, name:admin, user_type:a, lang:, email:[ADMIN EMAIL], expiration:, auth:}, data={auth:}AUTH: is_authenticated=1REQUEST: method=get, path={0:registration, 1:list}, ip=fe80::b856:cb5b:c833:8bd2, params={}, data=SERVICE (RegistrationServices)DB QUERY: select `id`, `name`, `email`, `key`, `time`, `confirmed` from registration order by id ascRESPONSE success {0:{0:3, id:3, 1:dummy, name:dummy, 2:[TARGET EMAIL], email:[TARGET EMAIL], 3:56378e5d700e9481535400, key:56378e5d700e9481535400, 4:20151102182501, time:20151102182501, 5:, confirmed:}}MySQLi DB:MySQLi DB: kloudspeaker@localhost:kloudspeaker()EVENT HANDLER: registering '*': NotificatorHandlerEVENT HANDLER: registering 'filesystem/': CommentHandlerEVENT HANDLER: registering 'filesystem/': ShareHandlerEVENT HANDLER: registering 'filesystem/': ItemCollectionHandlerEVENT HANDLER: registering 'user/': ItemCollectionHandlerDB QUERY: select id, user_id, ip, time, last_access from session where id = '156378217b5af6' and last_access >= 20151102165612DB QUERY: select name, value from session_data where session_id = '156378217b5af6'DB QUERY: SELECT id, name, user_type, lang, email, expiration, ua.type as auth FROM user left outer join user_auth ua on id=ua.user_id WHERE id='1' AND (expiration is null or expiration > 20151102185612)DB QUERY: select id, name, description from user where id in (SELECT user_group.group_id FROM user as user, user_group as user_group where user_group.user_id = user.id and user.id = '1') ORDER BY id ASCDB QUERY: UPDATE session set last_access=20151102185612 where id='156378217b5af6'Filesystem registered: localEVENT HANDLER: registering 'filesystem/': FilesystemControllerVERSION: 2.7.10 SERVER: {PHP_FCGI_CHILDREN:4, PHP_FCGI_MAX_REQUESTS:10000, ORIG_PATH_TRANSLATED:/var/www/html/registration/list/, ORIG_SCRIPT_FILENAME:/var/www/html/backend/r.php/registration/list/, HTTP_COOKIE:uppodhtml5_volume=0.8; AjaXplorer-remember=admin%3A0329294b8ae8a0c88411df9d7890e8be; __CJ_ajxp_remember=%7B%22user%22%3A%22notify%22%2C%22pass%22%3A%22notify%22%7D; freehold_session=admin_HBdKVGijClEQSlBnbBWQE2wdvXyCEqtJhlJlNxmgCRQ=; kloudspeaker_app_session=156378217b5af6, HTTP_REFERER:http://kosmynin.myftp.org/?v=config/registration, HTTP_X_REQUESTED_WITH:XMLHttpRequest, HTTP_KLOUDSPEAKER_SESSION_ID:156378217b5af6, CONTENT_TYPE:application/json, SERVER_PROTOCOL:HTTP/1.1, REDIRECT_STATUS:200, REQUEST_METHOD:GET, QUERY_STRING:, REQUEST_URI:/backend/r.php/registration/list/, SCRIPT_FILENAME:/var/www/html/backend/r.php, PATH_TRANSLATED:/var/www/html/registration/list/, PATH_INFO:/registration/list/, SCRIPT_NAME:/backend/r.php, FCGI_ROLE:RESPONDER, PHP_SELF:/backend/r.php/registration/list/, REQUEST_TIME_FLOAT:1446483372.6785, REQUEST_TIME:1446483372}SETTINGS: {db:{type:mysql, user:kloudspeaker, password:}, plugins:{Notificator:{}, Archiver:{compressor:raw}, Registration:{require_approval:, groups:2, folders:{0:2}, user_folder:{path:/media/hdd/Users, add_to_users:{0:1}}}, FileViewerEditor:{viewers:{Image:{0:gif, 1:png, 2:jpg}, TextFile:{0:txt, 1:js, 2:css, 3:xml, 4:html, 5:xhtml, 6:py, 7:c, 8:cpp, 9:as3, 10:sh, 11:java, 12:sql, 13:php}, JPlayer:{0:mp3, 1:ogg}, FlowPlayer:{0:mp4, 1:flv}, ViewerJS:{0:pdf, 1:odt, 2:ods, 3:odp}}, previewers:{Image:{0:gif, 1:png, 2:jpg}}, editors:{TextFile:{0:txt, 1:tex, 2:js, 3:css, 4:xml, 5:html, 6:xhtml, 7:py, 8:c, 9:cpp, 10:as3, 11:sh, 12:java, 13:php}}}, Comment:{}, Share:{}, ItemDetails:{}, ItemCollection:{}}, enable_mail_notification:1, mail_notification_from:Administrator [EMAIL], mail_sender_class:mail/PHPMailerSender.class.php, debug:1, debug_log:/var/www/html/backend/debug.log, mail_smtp:{host:smtp.web.de, username:kloudspeaker, password:[PASSWORD], secure:tls}}FEATURES: {limited_http_methods:, change_password:1, descriptions:1, user_groups:1, mail_notification:1, retrieve_url:, folder_protection:, thumbnails:, guest_mode:, registration:1, file_view:1, file_preview:1, file_edit:1, itemcollection:1}FILESYSTEM: allowed_file_upload_types={}SESSION: is_active=1, user={id:1, name:admin, user_type:a, lang:, email:[ADMIN EMAIL], expiration:, auth:}, data={auth:}AUTH: is_authenticated=1REQUEST: method=get, path={0:registration, 1:list}, ip=fe80::b856:cb5b:c833:8bd2, params={}, data=SERVICE (RegistrationServices)DB QUERY: select `id`, `name`, `email`, `key`, `time`, `confirmed` from registration order by id ascRESPONSE success {0:{0:3, id:3, 1:dummy, name:dummy, 2:[TARGET EMAIL], email:[TARGET EMAIL], 3:56378e5d700e9481535400, key:56378e5d700e9481535400, 4:20151102182501, time:20151102182501, 5:, confirmed:}}MySQLi DB:
kloudspeaker@localhost:kloudspeaker()EVENT HANDLER: registering '*': NotificatorHandlerEVENT HANDLER: registering 'filesystem/': CommentHandlerEVENT HANDLER: registering 'filesystem/': ShareHandlerEVENT HANDLER: registering 'filesystem/': ItemCollectionHandlerEVENT HANDLER: registering 'user/': ItemCollectionHandlerDB QUERY: select id, user_id, ip, time, last_access from session where id = '156378217b5af6' and last_access >= 20151102165616DB QUERY: select name, value from session_data where session_id = '156378217b5af6'DB QUERY: SELECT id, name, user_type, lang, email, expiration, ua.type as auth FROM user left outer join user_auth ua on id=ua.user_id WHERE id='1' AND (expiration is null or expiration > 20151102185616)DB QUERY: select id, name, description from user where id in (SELECT user_group.group_id FROM user as user, user_group as user_group where user_group.user_id = user.id and user.id = '1') ORDER BY id ASCDB QUERY: UPDATE session set last_access=20151102185616 where id='156378217b5af6'Filesystem registered: localEVENT HANDLER: registering 'filesystem/': FilesystemControllerVERSION: 2.7.10 SERVER: {PHP_FCGI_CHILDREN:4, PHP_FCGI_MAX_REQUESTS:10000, ORIG_PATH_TRANSLATED:/var/www/html/registration/list/3, ORIG_SCRIPT_FILENAME:/var/www/html/backend/r.php/registration/list/3, HTTP_COOKIE:uppodhtml5_volume=0.8; AjaXplorer-remember=admin%3A0329294b8ae8a0c88411df9d7890e8be; __CJ_ajxp_remember=%7B%22user%22%3A%22notify%22%2C%22pass%22%3A%22notify%22%7D; freehold_session=admin_HBdKVGijClEQSlBnbBWQE2wdvXyCEqtJhlJlNxmgCRQ=; kloudspeaker_app_session=156378217b5af6, HTTP_REFERER:http://kosmynin.myftp.org/?v=config/registration, HTTP_X_REQUESTED_WITH:XMLHttpRequest, HTTP_KLOUDSPEAKER_SESSION_ID:156378217b5af6, CONTENT_TYPE:application/json, SERVER_PROTOCOL:HTTP/1.1, REDIRECT_STATUS:200, REQUEST_METHOD:DELETE, QUERY_STRING:, REQUEST_URI:/backend/r.php/registration/list/3, SCRIPT_FILENAME:/var/www/html/backend/r.php, PATH_TRANSLATED:/var/www/html/registration/list/3, PATH_INFO:/registration/list/3, SCRIPT_NAME:/backend/r.php, FCGI_ROLE:RESPONDER, PHP_SELF:/backend/r.php/registration/list/3, REQUEST_TIME_FLOAT:1446483376.7193, REQUEST_TIME:1446483376}SETTINGS: {db:{type:mysql, user:kloudspeaker, password:}, plugins:{Notificator:{}, Archiver:{compressor:raw}, Registration:{require_approval:, groups:2, folders:{0:2}, user_folder:{path:/media/hdd/Users, add_to_users:{0:1}}}, FileViewerEditor:{viewers:{Image:{0:gif, 1:png, 2:jpg}, TextFile:{0:txt, 1:js, 2:css, 3:xml, 4:html, 5:xhtml, 6:py, 7:c, 8:cpp, 9:as3, 10:sh, 11:java, 12:sql, 13:php}, JPlayer:{0:mp3, 1:ogg}, FlowPlayer:{0:mp4, 1:flv}, ViewerJS:{0:pdf, 1:odt, 2:ods, 3:odp}}, previewers:{Image:{0:gif, 1:png, 2:jpg}}, editors:{TextFile:{0:txt, 1:tex, 2:js, 3:css, 4:xml, 5:html, 6:xhtml, 7:py, 8:c, 9:cpp, 10:as3, 11:sh, 12:java, 13:php}}}, Comment:{}, Share:{}, ItemDetails:{}, ItemCollection:{}}, enable_mail_notification:1, mail_notification_from:Administrator [EMAIL], mail_sender_class:mail/PHPMailerSender.class.php, debug:1, debug_log:/var/www/html/backend/debug.log, mail_smtp:{host:smtp.web.de, username:kloudspeaker, password:[PASSWORD], secure:tls}}FEATURES: {limited_http_methods:, change_password:1, descriptions:1, user_groups:1, mail_notification:1, retrieve_url:, folder_protection:, thumbnails:, guest_mode:, registration:1, file_view:1, file_preview:1, file_edit:1, itemcollection:1}FILESYSTEM: allowed_file_upload_types={}SESSION: is_active=1, user={id:1, name:admin, user_type:a, lang:, email:[ADMIN EMAIL], expiration:, auth:}, data={auth:}AUTH: is_authenticated=1REQUEST: method=delete, path={0:registration, 1:list, 2:3}, ip=fe80::b856:cb5b:c833:8bd2, params={}, data=SERVICE (RegistrationServices)DB QUERY: delete from registration where id='3'RESPONSE success {}MySQLi DB: kloudspeaker@localhost:kloudspeaker()EVENT HANDLER: registering '*': NotificatorHandlerEVENT HANDLER: registering 'filesystem/': CommentHandlerEVENT HANDLER: registering 'filesystem/': ShareHandlerEVENT HANDLER: registering 'filesystem/': ItemCollectionHandlerEVENT HANDLER: registering 'user/': ItemCollectionHandlerDB QUERY: select id, user_id, ip, time, last_access from session where id = '156378217b5af6' and last_access >= 20151102165621DB QUERY: select name, value from session_data where session_id = '156378217b5af6'DB QUERY: SELECT id, name, user_type, lang, email, expiration, ua.type as auth FROM user left outer join user_auth ua on id=ua.user_id WHERE id='1' AND (expiration is null or expiration > 20151102185621)DB QUERY: select id, name, description from user where id in (SELECT user_group.group_id FROM user as user, user_group as user_group where user_group.user_id = user.id and user.id = '1') ORDER BY id ASCDB QUERY: UPDATE session set last_access=20151102185621 where id='156378217b5af6'Filesystem registered: localEVENT HANDLER: registering 'filesystem/': FilesystemControllerVERSION: 2.7.10 SERVER: {PHP_FCGI_CHILDREN:4, PHP_FCGI_MAX_REQUESTS:10000, ORIG_PATH_TRANSLATED:/var/www/html/registration/list/, ORIG_SCRIPT_FILENAME:/var/www/html/backend/r.php/registration/list/, HTTP_COOKIE:uppodhtml5_volume=0.8; AjaXplorer-remember=admin%3A0329294b8ae8a0c88411df9d7890e8be; __CJ_ajxp_remember=%7B%22user%22%3A%22notify%22%2C%22pass%22%3A%22notify%22%7D; freehold_session=admin_HBdKVGijClEQSlBnbBWQE2wdvXyCEqtJhlJlNxmgCRQ=; kloudspeaker_app_session=156378217b5af6, HTTP_REFERER:http://kosmynin.myftp.org/?v=config/registration, HTTP_X_REQUESTED_WITH:XMLHttpRequest, HTTP_KLOUDSPEAKER_SESSION_ID:156378217b5af6, CONTENT_TYPE:application/json, SERVER_PROTOCOL:HTTP/1.1, REDIRECT_STATUS:200, REQUEST_METHOD:GET, QUERY_STRING:, REQUEST_URI:/backend/r.php/registration/list/, SCRIPT_FILENAME:/var/www/html/backend/r.php, PATH_TRANSLATED:/var/www/html/registration/list/, PATH_INFO:/registration/list/, SCRIPT_NAME:/backend/r.php, FCGI_ROLE:RESPONDER, PHP_SELF:/backend/r.php/registration/list/, REQUEST_TIME_FLOAT:1446483380.9932, REQUEST_TIME:1446483380}SETTINGS: {db:{type:mysql, user:kloudspeaker, password:}, plugins:{Notificator:{}, Archiver:{compressor:raw}, Registration:{require_approval:, groups:2, folders:{0:2}, user_folder:{path:/media/hdd/Users, add_to_users:{0:1}}}, FileViewerEditor:{viewers:{Image:{0:gif, 1:png, 2:jpg}, TextFile:{0:txt, 1:js, 2:css, 3:xml, 4:html, 5:xhtml, 6:py, 7:c, 8:cpp, 9:as3, 10:sh, 11:java, 12:sql, 13:php}, JPlayer:{0:mp3, 1:ogg}, FlowPlayer:{0:mp4, 1:flv}, ViewerJS:{0:pdf, 1:odt, 2:ods, 3:odp}}, previewers:{Image:{0:gif, 1:png, 2:jpg}}, editors:{TextFile:{0:txt, 1:tex, 2:js, 3:css, 4:xml, 5:html, 6:xhtml, 7:py, 8:c, 9:cpp, 10:as3, 11:sh, 12:java, 13:php}}}, Comment:{}, Share:{}, ItemDetails:{}, ItemCollection:{}}, enable_mail_notification:1, mail_notification_from:Administrator [EMAIL], mail_sender_class:mail/PHPMailerSender.class.php, debug:1, debug_log:/var/www/html/backend/debug.log, mail_smtp:{host:smtp.web.de, username:kloudspeaker, password:[PASSWORD], secure:tls}}FEATURES: {limited_http_methods:, change_password:1, descriptions:1, user_groups:1, mail_notification:1, retrieve_url:, folder_protection:, thumbnails:, guest_mode:, registration:1, file_view:1, file_preview:1, file_edit:1, itemcollection:1}FILESYSTEM: allowed_file_upload_types={}SESSION: is_active=1, user={id:1, name:admin, user_type:a, lang:, email:[ADMIN EMAIL], expiration:, auth:}, data={auth:}AUTH: is_authenticated=1REQUEST: method=get, path={0:registration, 1:list}, ip=fe80::b856:cb5b:c833:8bd2, params={}, data=SERVICE (RegistrationServices)DB QUERY: select `id`, `name`, `email`, `key`, `time`, `confirmed` from registration order by id ascRESPONSE success {}
I replaced the personal information with [USERNAME] - SMTP Username [PASSWORD] - SMTP Password [EMAIL] - sending Email [ADMIN EMAIL] - Email set in the admin account [TARGET EMAIL] - new users Email New users name : dummy New users password : dummy
Unfortunately the log does not have any errors. It contains only few requests for a) list b) registration with id 3. And all of them seem to have success message.
You'd have to 1) clear error log (so that there are no other entries that make it difficult to find the correct entry) 2) do the action that causes the request failed (and nothing more) 3) take the log (and verify it contains error)
After configuring the Registration plugin i get an "Registration failed, please try again later" error while testing. And registrations ended with an error are also shown in the Registration tab and blocked for another attempt.