Comments (11)
Ok, database operations are not my forte, and I don't know what you are looking for, so see if this is what you wanted me to do:
MariaDB [owncloud]> SELECT `subject` FROM `oc_activity` WHERE `subjectparams` NOT LIKE '%}]' AND `subjectparams` NOT LIKE '[{%' AND `app` = 'files' GROUP BY `subject`;
+--------------+
| subject |
+--------------+
| changed_by |
| changed_self |
| created_by |
| created_self |
| deleted_by |
| deleted_self |
+--------------+
6 rows in set (0.56 sec)
from activity.
Can you try to put the following files into apps/files_sharing/lib/Activity/Providers
:
Providers.zip
from activity.
Can you please execute the following query on your database, to provide a bit more details?
SELECT `subject`
FROM `oc_activity`
WHERE `subjectparams` NOT LIKE '%}]'
AND `subjectparams` NOT LIKE '[{%'
AND `app` = 'files'
GROUP BY `subject`
from activity.
Seems to be related to nextcloud/server#3344 just want to make sure it's only the same entries.
from activity.
Thats good, thanks!
from activity.
Can you make the following change and see if that fixes your issue?
nextcloud/server@c031c77
from activity.
Note, my 11.0.1 installation (database / config file) was updated from OC8.2.2 to OC8.2.9 then NC9.something then NC10.0.3 then NC11.0.1
from activity.
I can try it later today, thanks...
from activity.
Ok, I patched my file (by hand!) looking at the diff in github, I think I did it correctly, but maybe for next time please tell me how to get a copy of the complete file with your pull request incorporated. Unfortunately the result is not what we hoped for. Upon loading the Activity page in the web interface, I now get this error, repeated:
{"reqId":"WJnxlAaiGR061yT36sOm8wAAAAU","remoteAddr":"myremoteIP","app":"PHP","message":"key() expects parameter 1 to be array, string given at \/var\/www\/html\/nextcloud\/apps\/files_sharing\/lib\/Activity\/Providers\/PublicLinks.php#216","level":3,"time":"2017-02-07T16:11:01+00:00","method":"GET","url":"\/nextcloud\/index.php\/apps\/activity\/api\/v2\/activity\/all?format=json&previews=true&since=0","user":"me","version":"11.0.1.2"}
{"reqId":"WJnxlAaiGR061yT36sOm8wAAAAU","remoteAddr":"myremoteIP","app":"PHP","message":"String offset cast occurred at \/var\/www\/html\/nextcloud\/apps\/files_sharing\/lib\/Activity\/Providers\/PublicLinks.php#218","level":3,"time":"2017-02-07T16:11:01+00:00","method":"GET","url":"\/nextcloud\/index.php\/apps\/activity\/api\/v2\/activity\/all?format=json&previews=true&since=0","user":"me","version":"11.0.1.2"}
from activity.
need to patch another file also, I guess???
from activity.
Works perfectly now, thank you!
from activity.
Related Issues (20)
- More than 1000 expressions in a list are not allowed on Oracle HOT 2
- Settings are missing the header
- Switching to *By you* loads for page of data, then stalls without any error HOT 2
- Confusing registering event of moving file or folder to another place
- Add searching through the activities
- Sidebar stream sharing icon is cropped HOT 5
- Implement user ip and/or user agent especially in public links
- Scrollbar is hanging in mid-air instead of being on the right edge of the container
- Icons of selected entries in navigation are not inverted according to background highlight HOT 1
- Heading shows "Your activities" for all sections HOT 1
- [BITV]: Adapt visual "Your activities" `<h1>` which remains the same through all activities pages HOT 5
- Activities with E2EE (encrypted) files to display or to hide? HOT 3
- [BITV]: Remove horizontal scrolling for activity view HOT 1
- [BITV]: focused links are truncated on 400% zoom
- ActivityTab fails to load: undefined `error` var reference in JS catch statement HOT 1
- Errors caused by widget after upgrading to NC28.0.1 HOT 13
- empty notification emails HOT 12
- Activity does not load (blank screen) although dashboard widget loads HOT 5
- OC\Group\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given HOT 1
- Digest cron jobs is broken: $time must not be accessed before initialization
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 activity.