Owncloud 9.1.1 - new user email notification not work

9.1.x
help

#1

Steps to reproduce
1. creating new user with options "send email to new user" and "show email address" checked.

Expected behaviour
When I create new user with email address, email is sent to this user.

Actual behaviour
When I create new user (when I click Create button), no email is sent to user, and page users is not refreshed automatically, I need to refresh manually.

Server configuration
Operating system: Ubuntu 16.04.1 LTS
Web server: Apache 2.4.18
Database: MariaDB 10.1
PHP version: 7.0.11
ownCloud version (see ownCloud admin page): 9.1.1
Updated from an older ownCloud or fresh install: 9.1.0

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

"message":"Exception: {\"Exception\":\"Error\",\"Message\":\"Call to undefined method OC_Helper::makeURLAbsolute()\",\"Code\":0,\"Trace\":\"#0

Integrity status for oC9+

OK


Share and send by email fails - error message
#2

Hi,

this is most likely causing your issue because its not included anymore in oC since 9.0.x: https://github.com/owncloud/core/pull/21280

Most likely this is causing by a 3rdparty app you have installed which is still calling these deprecated methods.


#3

Hi,
I try to search in any files the "OC_Helper::makeURLAbsolute()", but I not find ... :expressionless:


#4

Hi,
I not have 3rdparty app, only official app :expressionless:


#5

Hi,

i doubt that as no official/shipped app is including this call. You can verify this on your own by:

wget https://download.owncloud.org/community/owncloud-9.1.1.tar.bz2
tar jxvf owncloud-9.1.1.tar.bz2
cd owncloud
grep -iR "makeURLAbsolute" .

You won't get a single result.


#6

Thanks ... I find the problem on custom template :slight_smile:


#7

Ahhh, wasn't aware that this could be also used in custom templates. I think such issues are the reason why custom templates are disabled after an upgrade to the next major version.