tanghus / journal

Journal/Notes app for ownCloud
GNU Affero General Public License v3.0
15 stars 6 forks source link

Class 'OC_Calendar_App' not found in apps/journal/index.php on line 39" #12

Closed TobiG77 closed 11 years ago

TobiG77 commented 11 years ago

1st time setting up journal here and seems like a no go so far, investigating further ...

tal version : commit 0a124b28e0ca325b842ec36dacecc3dc141a86a6 journal version: commit 3673f757f1521142f017c022606dfe6f0c371cc1

2013/02/08 10:34:38 [error] 1277#0: 729 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.122.1, server: cloudz.testserver.com, request: "GET /favicon.ico?app=journal HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloudz.testserver.com" 2013/02/08 10:37:00 [error] 3315#0: 7 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class 'OC_Calendar_App' not found in /var/www/owncloud/apps/journal/index.php on line 39" while reading response header from upstream, client: 192.168.122.1, server: cloudz.testserver.com, request: "GET /?app=journal HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloudz.testserver.com", referrer: "http://cloudz.testserver.com/"

TobiG77 commented 11 years ago

Ok, so, a coffee later ... , one needs to have the calendar app enabled to use journal ... , nevertheless still getting errors

 Fatal error: Call to undefined method OCP\User::getDisplayName() in /var/www/owncloud/data/mylogin/phptal/tpl_51141d7c_layout_user_pt__otBCO6cgfmADafFshDsecw.php on line 197 
tanghus commented 11 years ago

one needs to have the calendar app enabled to use journal

Yes I mistakenly check for Contacts instead of Calendar. Thanks for reminding me :)

Call to undefined method OCP\User::getDisplayName()

It looks like you're using the master branch of TAL Page Templates on an older version of ownCloud? Use either the one from http://apps.owncloud.com or the stable45 branch from git. I had forgotten to push that branch to github, but it's there now. Let me know if it solves your problem :)

tanghus commented 11 years ago

The same applies for the Journal app btw.