Comments (27)
The logs don't seem to be related with mobile webpage, does it work for you on desktop webpage ?
And as you can see, owncloud logs "Sent mail", so the problem is probably with your mail server.
from registration.
Hi @pellaeon ,
I just copy and paste the logs with the app name, sorry π now I will try as it should be:
I reproduce it again:
1.- I requested the register.
2.- add my email.
3.- receive the email and register
4.- I register and then I have a blank screen.
5.- I reload the page and says: "The username is already being used"
The users think they can't register or the register went wrong and try to register again.
The new users should be added to the group "new and that did not happen.. the user is in "no group"
The log is as follows:
{"reqId":"LuvjlPVsVeBm8CIsM5NX","remoteAddr":"84.170.205.145","app":"core","message":"Sent mail to \"Array\n(\n [[email protected]] => ownCloud User\n)\n\" with subject \"Verify your ownCloud registration request\"","level":0,"time":"2015-10-12T16:43:41+02:00","method":"POST","url":"\/index.php\/apps\/registration\/"}
{"reqId":"+PP+rs8HHDMs4Al\/70B3","remoteAddr":"84.170.205.145","app":"core","message":"Sent mail to \"Array\n(\n [[email protected]] => ownCloud User\n)\n\" with subject \"Verify your ownCloud registration request\"","level":0,"time":"2015-10-12T16:43:45+02:00","method":"POST","url":"\/index.php\/apps\/registration\/"}
{"reqId":"XfNis92gARmrB0LRLDjb","remoteAddr":"","app":"DeleteOrphanedSharesJob","message":"0 orphaned share(s) deleted","level":0,"time":"2015-10-12T16:45:01+02:00","method":"--","url":"--"}
{"reqId":"KAsAKY3\/SNyl3gR0ik2P","remoteAddr":"84.170.205.145","app":"PHP","message":"Undefined index: errormsgs at \/var\/www\/html\/owncloud\/apps\/registration\/templates\/form.php#6","level":3,"time":"2015-10-12T16:45:14+02:00","method":"GET","url":"\/index.php\/apps\/registration\/verify\/HqgZ8mzqx+bokblHR0Zq1dunmSy+38"}
{"reqId":"KAsAKY3\/SNyl3gR0ik2P","remoteAddr":"84.170.205.145","app":"PHP","message":"Undefined index: entered_data at \/var\/www\/html\/owncloud\/apps\/registration\/templates\/form.php#24","level":3,"time":"2015-10-12T16:45:15+02:00","method":"GET","url":"\/index.php\/apps\/registration\/verify\/HqgZ8mzqx+bokblHR0Zq1dunmSy+38"}
{"reqId":"nvS\/FS62F5avDGoCOB\/b","remoteAddr":"84.170.205.145","app":"PHP","message":"Undefined index: errormsgs at \/var\/www\/html\/owncloud\/apps\/registration\/templates\/form.php#6","level":3,"time":"2015-10-12T16:45:28+02:00","method":"GET","url":"\/index.php\/apps\/registration\/verify\/HqgZ8mzqx+bokblHR0Zq1dunmSy+38"}
{"reqId":"nvS\/FS62F5avDGoCOB\/b","remoteAddr":"84.170.205.145","app":"PHP","message":"Undefined index: entered_data at \/var\/www\/html\/owncloud\/apps\/registration\/templates\/form.php#24","level":3,"time":"2015-10-12T16:45:28+02:00","method":"GET","url":"\/index.php\/apps\/registration\/verify\/HqgZ8mzqx+bokblHR0Zq1dunmSy+38"}
{"reqId":"kAJS4BOFH9t+E+yTmlzR","remoteAddr":"84.170.205.145","app":"PHP","message":"Call to a member function file_exists() on a non-object at \/var\/www\/html\/owncloud\/lib\/private\/files\/filesystem.php#688","level":3,"time":"2015-10-12T16:45:58+02:00","method":"POST","url":"\/index.php\/apps\/registration\/verify\/HqgZ8mzqx+bokblHR0Zq1dunmSy+38"}
{"reqId":"lmufP2R62xRBVh2aTCh2","remoteAddr":"84.170.205.145","app":"PHP","message":"Undefined index: user at \/var\/www\/html\/owncloud\/apps\/registration\/templates\/form.php#24","level":3,"time":"2015-10-12T16:46:17+02:00","method":"POST","url":"\/index.php\/apps\/registration\/verify\/HqgZ8mzqx+bokblHR0Zq1dunmSy+38"}
from registration.
hmm, could you go into the database and check the appconfig
database of the registration app config values? like this:
from registration.
And for the blank page, are you on the latest version 0.0.7 ?
That log entry Call to a member function file_exists() on a non-object
seems like ownCloud is treating /apps\/registration\/verify\/HqgZ8mzqx+bokblHR0Zq1dunmSy+38
as a file, it might be caused by the plus sign in the URL.
Are you seeing blank page with every verification link?
And, is it possible for you to clear the oc_registration
table? just delete every row in the table, just in case there are some entries created by old version of the app.
from registration.
Hi @pellaeon
The blank page come after putting name and password in the verification page.
I also saw, some users that are registered are not erased form the registration table.
from registration.
Could you try clearing the oc_registration
table ?
from registration.
I cleaned the table
and registered again
the first time I came the success page and sent me to the page.
The second time, comes the white window again:
The log file in the moment of the registration:
{"reqId":"0jzbfuj45wQYG18RU+JN","remoteAddr":"10.1.10.100","app":"files_locking","message":"INFO: Incrementing lock type 1 count for /mnt/owncloud/data/snoopy/thumbnails/134083/36-36.png","level":0,"time":"2015-10-13T21:17:47+02:00","method":"GET","url":"/index.php/core/preview.png?file=%2FRegistered+Users+-+PLEASE+READ+THIS!.txt&c=f51758b917b341ec43ba2b10b83e2d76&x=36&y=36&forceIcon=0"}
{"reqId":"hbzd6xGKEANGKAnAvm56","remoteAddr":"50.241.102.21","app":"calendar","message":"OC_Calendar_App::getEventObject id: 1, permissions: 31","level":0,"time":"2015-10-13T21:19:04+02:00","method":"POST","url":"/index.php/apps/tasks/tasks/1/comment"}
{"reqId":"fbNbdM3NWGf/21an3L1+","remoteAddr":"50.241.102.21","app":"calendar","message":"OC_Calendar_App::getEventObject id: 1, permissions: 31","level":0,"time":"2015-10-13T21:19:12+02:00","method":"POST","url":"/index.php/apps/tasks/tasks/1/reminder"}
{"reqId":"mZOeoSIshGSf+Tf/W+73","remoteAddr":"10.1.10.100","app":"no app in context","message":"CSRF check failed","level":0,"time":"2015-10-13T21:22:56+02:00","method":"GET","url":"/index.php/apps/tasks/tasks/init/all"}
{"reqId":"rhmHBMOKEmfeoJoSygMS","remoteAddr":"10.1.10.100","app":"no app in context","message":"CSRF check failed","level":0,"time":"2015-10-13T21:22:57+02:00","method":"GET","url":"/index.php/apps/tasks/lists"}
{"reqId":"XA4hHKqs5FxKpSSaaZiI","remoteAddr":"10.1.10.100","app":"webdav","message":"Exception: {"Message":"HTTP/1.1 401 No basic authentication headers were found","Code":0,"Trace":"
n#0 /var/www/html/owncloud/lib/private/connector/sabre/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#1 /var/www/html/owncloud/lib/private/connector/sabre/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#2 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#4 /var/www/html/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
n#5 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)
n#6 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#7 /var/www/html/owncloud/apps/files/appinfo/remote.php(83): Sabre\DAV\Server->exec()
n#8 /var/www/html/owncloud/remote.php(132): require_once('/var/www/html/o...')
n#9 {main}","File":"/var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php","Line":70}","level":0,"time":"2015-10-13T21:24:12+02:00","method":"PROPFIND","url":"/remote.php/webdav/"}
{"reqId":"cDDjr+e+cBnCnoIqE1yP","remoteAddr":"10.1.10.100","app":"PHP","message":"Array to string conversion at /var/www/html/owncloud/lib/private/template/functions.php#36","level":3,"time":"2015-10-13T21:24:46+02:00","method":"GET","url":"/index.php/settings/admin"}
{"reqId":"1lTU6H/lrhTY21zgMgeW","remoteAddr":"","app":"DeleteOrphanedSharesJob","message":"0 orphaned share(s) deleted","level":0,"time":"2015-10-13T21:30:02+02:00","method":"--","url":"--"}
{"reqId":"GKJajZo19RbcRbwL6Y+X","remoteAddr":"10.1.10.100","app":"core","message":"Sent mail to "Array\n(\n [[email protected]] => ownCloud User\n)n" with subject "Verify your ownCloud registration request"","level":0,"time":"2015-10-13T21:30:32+02:00","method":"POST","url":"/index.php/apps/registration/"}
{"reqId":"sObGHSdbu94GxApejcml","remoteAddr":"10.1.10.100","app":"PHP","message":"Undefined index: errormsgs at /var/www/html/owncloud/apps/registration/templates/form.php#6","level":3,"time":"2015-10-13T21:30:47+02:00","method":"GET","url":"/index.php/apps/registration/verify/xkJBuBeyMUhnQBDpnikXBvaVZawUvA"}
{"reqId":"sObGHSdbu94GxApejcml","remoteAddr":"10.1.10.100","app":"PHP","message":"Undefined index: entered_data at /var/www/html/owncloud/apps/registration/templates/form.php#24","level":3,"time":"2015-10-13T21:30:47+02:00","method":"GET","url":"/index.php/apps/registration/verify/xkJBuBeyMUhnQBDpnikXBvaVZawUvA"}
{"reqId":"kbuI+Mtxk2vEahdWzLwO","remoteAddr":"10.1.10.100","app":"PHP","message":"Call to a member function file_exists() on a non-object at /var/www/html/owncloud/lib/private/files/filesystem.php#688","level":3,"time":"2015-10-13T21:31:04+02:00","method":"POST","url":"/index.php/apps/registration/verify/xkJBuBeyMUhnQBDpnikXBvaVZawUvA"}
{"reqId":"/6UpQBXIiVWeLm874ls0","remoteAddr":"10.1.10.100","app":"PHP","message":"Undefined index: user at /var/www/html/owncloud/apps/registration/templates/form.php#24","level":3,"time":"2015-10-13T21:31:34+02:00","method":"POST","url":"/index.php/apps/registration/verify/xkJBuBeyMUhnQBDpnikXBvaVZawUvA"}
{"reqId":"jxYO8C1rmvGuO+Y9b8if","remoteAddr":"10.1.10.100","app":"no app in context","message":"Current user is not logged in","level":0,"time":"2015-10-13T21:32:56+02:00","method":"GET","url":"/index.php/apps/tasks/lists"}
{"reqId":"NuDX6hO3mGFpBMakUT4I","remoteAddr":"10.1.10.100","app":"no app in context","message":"Current user is not logged in","level":0,"time":"2015-10-13T21:32:57+02:00","method":"GET","url":"/index.php/apps/tasks/tasks/init/all"}
{"reqId":"YdcDOPjjcW3yIPGfoHfB","remoteAddr":"10.1.10.100","app":"core","message":"Sent mail to "Array\n(\n [[email protected]] => ownCloud User\n)n" with subject "Verify your ownCloud registration request"","level":0,"time":"2015-10-13T21:36:11+02:00","method":"POST","url":"/index.php/apps/registration/"}
{"reqId":"1LHHpKA9tMdE8WE+ghf/","remoteAddr":"10.1.10.100","app":"PHP","message":"Undefined index: errormsgs at /var/www/html/owncloud/apps/registration/templates/form.php#6","level":3,"time":"2015-10-13T21:36:24+02:00","method":"GET","url":"/index.php/apps/registration/verify/YyfvAVLQmT+yPbY8SXKJeEMfIVh+9c"}
{"reqId":"1LHHpKA9tMdE8WE+ghf/","remoteAddr":"10.1.10.100","app":"PHP","message":"Undefined index: entered_data at /var/www/html/owncloud/apps/registration/templates/form.php#24","level":3,"time":"2015-10-13T21:36:24+02:00","method":"GET","url":"/index.php/apps/registration/verify/YyfvAVLQmT+yPbY8SXKJeEMfIVh+9c"}
{"reqId":"diIbug1LPU/Xez3wbo3N","remoteAddr":"10.1.10.100","app":"PHP","message":"Call to a member function file_exists() on a non-object at /var/www/html/owncloud/lib/private/files/filesystem.php#688","level":3,"time":"2015-10-13T21:36:34+02:00","method":"POST","url":"/index.php/apps/registration/verify/YyfvAVLQmT+yPbY8SXKJeEMfIVh+9c"}
from registration.
Hmm, doesn't look like the plus sign is the cause of your problem, because although there is Call to a member function file_exists() on a non-object at /var/www/html/owncloud/lib/private/files/filesystem.php#688","level":3,"time":"2015-10-13T21:31:04+02:00","method":"POST","url":"/index.php/apps/registration/verify/xkJBuBeyMUhnQBDpnikXBvaVZawUvA"}
in the logs, you can still register (the first time)
Could you paste your web server logs? the error might be stored there.
from registration.
Hi @pellaeon
The log is here:
[Tue Oct 13 21:00:26.021995 2015] [:error] [pid 4258] [client 50.241.102.21:47313] PHP Fatal error: Call to a member function file_exists() on a non-object in /var/www/html/owncloud/lib/private/files/filesystem.php on line 688, referer: https://cloud.damken.com/index.php/apps/registration/verify/fN9K46yv1BbKgY44Ri73nkbvCMJRn2
[Tue Oct 13 21:31:04.738880 2015] [:error] [pid 4606] [client 10.1.10.100:53882] PHP Fatal error: Call to a member function file_exists() on a non-object in /var/www/html/owncloud/lib/private/files/filesystem.php on line 688, referer: https://cloud.damken.com/index.php/apps/registration/verify/xkJBuBeyMUhnQBDpnikXBvaVZawUvA
[Tue Oct 13 21:36:34.430992 2015] [:error] [pid 4625] [client 10.1.10.100:53976] PHP Fatal error: Call to a member function file_exists() on a non-object in /var/www/html/owncloud/lib/private/files/filesystem.php on line 688, referer: https://cloud.damken.com/index.php/apps/registration/verify/YyfvAVLQmT+yPbY8SXKJeEMfIVh+9c
[Tue Oct 13 22:01:13.845921 2015] [:error] [pid 4682] [client 10.1.10.100:54208] PHP Fatal error: Call to a member function file_exists() on a non-object in /var/www/html/owncloud/lib/private/files/filesystem.php on line 688, referer: https://cloud.damken.com/index.php/apps/registration/verify/YyfvAVLQmT+yPbY8SXKJeEMfIVh+9c
Thanks a lot!
from registration.
I notice that when we users are already register, the email is still in the database and is never erased and ist not assigned in the group:
Apache error.log:
[Sat Oct 17 16:39:29.804715 2015] [:error] [pid 15658] [client 189.217.25.158:57949] PHP Fatal error: Call to a member function file_exists() on a non-object in /var/www/html/owncloud/lib/private/files/filesystem.php on line 688, referer: https://cloud.damken.com/index.php/apps/registration/verify/pUwl7X01fKq+gsjMpKALm3L6CpEchf
The ownCloud log (Level 0):
{"reqId":"LKMZhLMZ9TNJj0JNXAYY","remoteAddr":"189.217.25.158","app":"PHP","message":"Undefined index: errormsgs at /var/www/html/owncloud/apps/registration/templates/form.php#6","level":3,"time":"2015-10-17T16:39:01+02:00","method":"GET","url":"/index.php/apps/registration/verify/pUwl7X01fKq+gsjMpKALm3L6CpEchf"}
{"reqId":"LKMZhLMZ9TNJj0JNXAYY","remoteAddr":"189.217.25.158","app":"PHP","message":"Undefined index: entered_data at /var/www/html/owncloud/apps/registration/templates/form.php#24","level":3,"time":"2015-10-17T16:39:01+02:00","method":"GET","url":"/index.php/apps/registration/verify/pUwl7X01fKq+gsjMpKALm3L6CpEchf"}
{"reqId":"HwLIt8KKiIU8LxiUxuCk","remoteAddr":"189.217.25.158","app":"PHP","message":"Call to a member function file_exists() on a non-object at /var/www/html/owncloud/lib/private/files/filesystem.php#688","level":3,"time":"2015-10-17T16:39:29+02:00","method":"POST","url":"/index.php/apps/registration/verify/pUwl7X01fKq+gsjMpKALm3L6CpEchf"}
{"reqId":"S0MwAf4aOPdBKPWbIpPl","remoteAddr":"189.217.25.158","app":"PHP","message":"Undefined index: user at /var/www/html/owncloud/apps/registration/templates/form.php#24","level":3,"time":"2015-10-17T16:39:57+02:00","method":"POST","url":"/index.php/apps/registration/verify/pUwl7X01fKq+gsjMpKALm3L6CpEchf"}
{"reqId":"WMftFpUA6f8p94ZrWp0u","remoteAddr":"187.189.240.169","app":"PHP","message":"Cannot modify header information - headers already sent by (output started at /var/www/html/owncloud/3rdparty/sabre/http/lib/Sapi.php:70) at /var/www/html/owncloud/3rdparty/sabre/http/lib/Sapi.php#58","level":3,"time":"2015-10-17T16:40:40+02:00","method":"HEAD","url":"/remote.php/webdav/Photos/"}
{"reqId":"otlrFV8wQyVoiueeQ8Kf","remoteAddr":"187.189.240.169","app":"webdav","message":"Exception: {"Message":"HTTP/1.1 404 File with name Photos/VID_20150629_190506.mp4 could not be located","Code":0,"Trace":"
n#0 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(78): OC\Connector\Sabre\ObjectTree->getNodeForPath('Photos/VID_2015...', 0)
n#1 [internal function]: Sabre\DAV\CorePlugin->httpGet(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#2 /var/www/html/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
n#3 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(469): Sabre\Event\EventEmitter->emit('method:GET', Array)
n#4 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(253): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#5 [internal function]: Sabre\DAV\CorePlugin->httpHead(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#6 /var/www/html/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
n#7 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(469): Sabre\Event\EventEmitter->emit('method:HEAD', Array)
n#8 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#9 /var/www/html/owncloud/apps/files/appinfo/remote.php(83): Sabre\DAV\Server->exec()
n#10 /var/www/html/owncloud/remote.php(132): require_once('/var/www/html/o...')
n#11 {main}","File":"/var/www/html/owncloud/lib/private/connector/sabre/objecttree.php","Line":159}","level":0,"time":"2015-10-17T16:40:41+02:00","method":"HEAD","url":"/remote.php/webdav/Photos/VID_20150629_190506.mp4"}
{"reqId":"FHP4flbpKJYZVwR+P+QD","remoteAddr":"10.1.10.100","app":"no app in context","message":"CSRF check failed","level":0,"time":"2015-10-17T16:44:03+02:00","method":"GET","url":"/index.php/apps/tasks/tasks/init/all"}
{"reqId":"hIcO2mqtXcDU6pbmRrDH","remoteAddr":"10.1.10.100","app":"no app in context","message":"CSRF check failed","level":0,"time":"2015-10-17T16:44:04+02:00","method":"GET","url":"/index.php/apps/tasks/lists"}
{"reqId":"TB+Dr724TBd0v0jsblxi","remoteAddr":"73.246.82.168","app":"no app in context","message":"Current user is not logged in","level":0,"time":"2015-10-17T16:44:55+02:00","method":"GET","url":"/index.php/apps/tasks/tasks/init/all"}
{"reqId":"PeS4BrQ8fIrYmnWCZKx7","remoteAddr":"73.246.82.168","app":"no app in context","message":"Current user is not logged in","level":0,"time":"2015-10-17T16:44:55+02:00","method":"GET","url":"/index.php/apps/tasks/lists"}
{"reqId":"kQ2rigZfybefs5MYwdA0","remoteAddr":"189.137.238.167","app":"webdav","message":"Exception: {"Message":"HTTP/1.1 401 No basic authentication headers were found","Code":0,"Trace":"
n#0 /var/www/html/owncloud/lib/private/connector/sabre/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#1 /var/www/html/owncloud/lib/private/connector/sabre/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#2 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#4 /var/www/html/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
n#5 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)
n#6 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#7 /var/www/html/owncloud/apps/files/appinfo/remote.php(83): Sabre\DAV\Server->exec()
n#8 /var/www/html/owncloud/remote.php(132): require_once('/var/www/html/o...')
n#9 {main}","File":"/var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php","Line":70}","level":0,"time":"2015-10-17T16:52:49+02:00","method":"HEAD","url":"/remote.php/webdav//remote.php/webdav/"}
{"reqId":"TQcWQ251sKmLM/LKUReL","remoteAddr":"189.137.238.167","app":"core","message":"Login failed: 'rene' (Remote IP: '189.137.238.167)","level":2,"time":"2015-10-17T16:53:11+02:00","method":"HEAD","url":"/remote.php/webdav/"}
{"reqId":"TQcWQ251sKmLM/LKUReL","remoteAddr":"189.137.238.167","app":"webdav","message":"Exception: {"Message":"HTTP/1.1 401 Username or password does not match","Code":0,"Trace":"
n#0 /var/www/html/owncloud/lib/private/connector/sabre/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#1 /var/www/html/owncloud/lib/private/connector/sabre/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#2 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#4 /var/www/html/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
n#5 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)
n#6 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#7 /var/www/html/owncloud/apps/files/appinfo/remote.php(83): Sabre\DAV\Server->exec()
n#8 /var/www/html/owncloud/remote.php(132): require_once('/var/www/html/o...')
n#9 {main}","File":"/var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php","Line":76}","level":0,"time":"2015-10-17T16:53:11+02:00","method":"HEAD","url":"/remote.php/webdav/"}
{"reqId":"+VOj6CXKD2X/O88DPGB+","remoteAddr":"187.210.189.244","app":"PHP","message":"Cannot modify header information - headers already sent by (output started at /var/www/html/owncloud/3rdparty/sabre/http/lib/Sapi.php:70) at /var/www/html/owncloud/3rdparty/sabre/http/lib/Sapi.php#58","level":3,"time":"2015-10-17T16:53:46+02:00","method":"HEAD","url":"/remote.php/webdav/Photos/"}
{"reqId":"hTJjPODFmHdnWHgRKm4m","remoteAddr":"187.210.189.244","app":"webdav","message":"Exception: {"Message":"HTTP/1.1 404 File with name Photos/VID_20150712_142922.mp4 could not be located","Code":0,"Trace":"
n#0 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(78): OC\Connector\Sabre\ObjectTree->getNodeForPath('Photos/VID_2015...', 0)
n#1 [internal function]: Sabre\DAV\CorePlugin->httpGet(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#2 /var/www/html/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
n#3 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(469): Sabre\Event\EventEmitter->emit('method:GET', Array)
n#4 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(253): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#5 [internal function]: Sabre\DAV\CorePlugin->httpHead(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#6 /var/www/html/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
n#7 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(469): Sabre\Event\EventEmitter->emit('method:HEAD', Array)
n#8 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#9 /var/www/html/owncloud/apps/files/appinfo/remote.php(83): Sabre\DAV\Server->exec()
n#10 /var/www/html/owncloud/remote.php(132): require_once('/var/www/html/o...')
n#11 {main}","File":"/var/www/html/owncloud/lib/private/connector/sabre/objecttree.php","Line":159}","level":0,"time":"2015-10-17T16:53:49+02:00","method":"HEAD","url":"/remote.php/webdav/Photos/VID_20150712_142922.mp4"}
{"reqId":"NtpDR9sRpWwsdWrlhGgU","remoteAddr":"10.1.10.100","app":"no app in context","message":"CSRF check failed","level":0,"time":"2015-10-17T16:54:04+02:00","method":"GET","url":"/index.php/apps/tasks/tasks/init/all"}
{"reqId":"j4BcsirsA0p2hAKZ2Dwa","remoteAddr":"10.1.10.100","app":"no app in context","message":"CSRF check failed","level":0,"time":"2015-10-17T16:54:04+02:00","method":"GET","url":"/index.php/apps/tasks/lists"}
{"reqId":"Bx+cscxJw7h5vdTcrUeI","remoteAddr":"189.217.25.158","app":"webdav","message":"Exception: {"Message":"HTTP/1.1 401 No basic authentication headers were found","Code":0,"Trace":"
n#0 /var/www/html/owncloud/lib/private/connector/sabre/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#1 /var/www/html/owncloud/lib/private/connector/sabre/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#2 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(OC\Connector\Sabre\Server), 'cloud.damken.co...')
n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#4 /var/www/html/owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
n#5 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)
n#6 /var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
n#7 /var/www/html/owncloud/apps/files/appinfo/remote.php(83): Sabre\DAV\Server->exec()
n#8 /var/www/html/owncloud/remote.php(132): require_once('/var/www/html/o...')
n#9 {main}","File":"/var/www/html/owncloud/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php","Line":70}","level":0,"time":"2015-10-17T16:54:15+02:00","method":"HEAD","url":"/remote.php/webdav//remote.php/webdav/"}
{"reqId":"We7JiinuRrYOBixOG4qC","remoteAddr":"189.217.25.158","app":"files_skeleton","message":"copying skeleton for USER from /var/www/html/owncloud/core/skeleton to /USER/files/","level":0,"time":"2015-10-17T16:54:19+02:00","method":"HEAD","url":"/remote.php/webdav/"}
from registration.
If I insert a throw new \Exception("blabla");
on /var/www/html/owncloud/lib/private/files/filesystem.php line 688, it doesn't trigger, so that means my code path doesn't go through filesystem.php
. But looks like yours do, so we need to find out why.
Could you insert a exception to filesystem.php (just like I did) and visit the verify page again and paste the logs? (it should contain a stack trace)
from registration.
I added in /var/www/html/owncloud/lib/private/files/filesystem.php :
static public function file_exists($path) {
throw new \Exception("blabla");
return self::$defaultInstance->file_exists($path);
}
I will create a new user
from registration.
Creating a new user now worked.
the use is in the group "new"
{"reqId":"NFdokUfINMpZa7HG2fZW","remoteAddr":"84.170.205.145","app":"core","message":"Sent mail to \"Array\n(\n [[email protected]] => ownCloud User\n)\n\" with subject \"Verify your ownCloud registration request\"","level":0,"time":"2015-10-19T14:46:47+02:00","method":"POST","url":"\/index.php\/apps\/registration\/"}
{"reqId":"bmNYxWzBom1fR4BHXMt7","remoteAddr":"84.170.205.145","app":"PHP","message":"Undefined index: errormsgs at \/var\/www\/html\/owncloud\/apps\/registration\/templates\/form.php#6","level":3,"time":"2015-10-19T14:47:10+02:00","method":"GET","url":"\/index.php\/apps\/registration\/verify\/jn9kYmb0TPARFkV+2yHbvpNyJO4Nr2"}
{"reqId":"bmNYxWzBom1fR4BHXMt7","remoteAddr":"84.170.205.145","app":"PHP","message":"Undefined index: entered_data at \/var\/www\/html\/owncloud\/apps\/registration\/templates\/form.php#24","level":3,"time":"2015-10-19T14:47:10+02:00","method":"GET","url":"\/index.php\/apps\/registration\/verify\/jn9kYmb0TPARFkV+2yHbvpNyJO4Nr2"}
{"reqId":"+S7mX4aLlV\/fIFKknnIj","remoteAddr":"84.170.205.145","app":"hook","message":"error while running hook (OC\\Share\\Hooks::pre_addToGroup): blabla","level":3,"time":"2015-10-19T14:47:22+02:00","method":"POST","url":"\/index.php\/apps\/registration\/verify\/jn9kYmb0TPARFkV+2yHbvpNyJO4Nr2"}
{"reqId":"iXS9fkavPZshFxLw89k8","remoteAddr":"84.170.205.145","app":"files_skeleton","message":"copying skeleton for charlie from \/var\/www\/html\/owncloud\/core\/skeleton to \/charlie\/files\/","level":0,"time":"2015-10-19T14:55:02+02:00","method":"POST","url":"\/index.php"}
apache error log:
[Mon Oct 19 14:19:53.940721 2015] [:error] [pid 669] [client 192.44.85.23:62660] PHP Fatal error: Call to a member function file_exists() on a non-object in /var/www/html/owncloud/lib/private/files/filesystem.php on line 688, referer: https://cloud.damken.com/index.php/apps/registration/verify/ds01VSorjlPgZ5ZvXTh1dc1UN1GFDW
Should I keep the line there?
from registration.
This is really weird... what that line does is that it throws an error, my purpose for you adding that line is to see what code in registration app triggers filesystem.php (because it shouldn't), that line should also break most file operations in ownCloud.
Could you create a few more users to test? If all of them are created successfully, please delete that line, since it breaks ownCloud.
from registration.
Hi @pellaeon, I create more users and is the same behavior, π’
I will upgrade the version to 8.1.4 in the next days and lets see how it works after.
from registration.
Upgrading probably won't help. Could you try again inserting an exception
and provide me the logs so that I can see the stack trace?
Or does inserting an exception always make this bug disappear? (It
shouldn't)
2015εΉ΄10ζ27ζ₯ δΈε3:47ζΌ "Carlos Damken" [email protected]ε―«ιοΌ
Hi @pellaeon https://github.com/pellaeon, I create more users and is
the same behavior, [image: π’]I will upgrade the version to 8.1.4 in the next days and lets see how it
works after.β
Reply to this email directly or view it on GitHub
#26 (comment)
.
from registration.
Ok, thanks, I'll do it
from registration.
If I put the exception I can upload or erase files or folders
from registration.
How about registering ? does it trigger the exception?
If you can still do file operations that's fine, but I cannot garentee you will not run into problem in the future with other operations. The exception should break some part of ownCloud.
from registration.
Hello,
I encounter the same issue, registration is made with the choosen name and password but I get a blank page and the created user isn't linked to the default Group
I'm using ownCloud 8.2.1
Error PHP Undefined index: entered_data at /**/apps/registration/templates/form.php#24
Error PHP Undefined index: errormsgs at /**/apps/registration/templates/form.php#6
Error PHP Call to a member function file_exists() on a non-object at /**/lib/private/files/filesystem.php#688
When i try to put the cdamken expetion on line 688 in /lib/filesystem.php owncloud doesnt load
Any clue?
from registration.
How about registering ? does it trigger the exception?
If you can still do file operations that's fine, but I cannot garentee you will not run into problem in the future with other operations. The exception should break some part of ownCloud.
I had to remove the exception, because the owncloud does have other problems when I put it like:
If I put the exception I can upload or erase files or folders
from registration.
It tried to register on your owncloud install, issue still occurs.
Is your new registred user linked to the correct group?
from registration.
The inserted exception is not a (attempted) solution, it's only a mean for me to gain more clues debugging, and it will break normal operations of ownCloud.
@cdamken Do you have group shares with the group "new" ? I think that's where the problem rises.
from registration.
@pellaeon you are right when I deactivate the shares for the default registration group registration plugin work smooth
from registration.
Seems to be related with a bug in core:
owncloud/core#20663
owncloud/core#18499
from registration.
@cdamken Do you have group shares with the group "new" ? I think that's where the problem rises.
Yes, I have a txt file that is shared from the administrator to the group "new" (a welcome note)
I will remove the share and lets see if it works fine now
from registration.
Now it works!, without a share works!
and the email for administrators is awesome!
A new user "X-xx-x-x" has created an account on cloud.damken.com
Thanks you @pellaeon
from registration.
Related Issues (20)
- Not working is list is too big (3K domains): preg_match(): Compilation failed: regular expression is too large HOT 5
- Implement a public "disposable" email addresses list as a simple ON/OFF switch
- Call to a member function getUserLanguage() on null
- feature: autoaccept some domains
- π οΈ State of maintenance HOT 4
- Unable to set user email: This parser can only read from strings or streams. HOT 1
- 2.1 use 1.5 css ui HOT 1
- Activation of user not possible on mobile HOT 1
- Cannot assign approval for specific group HOT 1
- how to add more feilds HOT 1
- NC27 update
- Invalid username policy regex HOT 1
- Allow adding custom HTML to verification emails HOT 3
- Allow to add further information like your address during the verification process HOT 1
- Version for NC28 HOT 2
- An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'username' in 'field list' HOT 1
- Feature Request: Remove Registration link on Login Page HOT 10
- Register not working (worked previously) HOT 5
- Resend verification email
- Show "soft" email requirement instructions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from registration.