Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined variable on view.php line 1051 #22068

Closed
Idlebawb opened this issue Feb 2, 2016 · 12 comments
Closed

Undefined variable on view.php line 1051 #22068

Idlebawb opened this issue Feb 2, 2016 · 12 comments

Comments

@Idlebawb
Copy link

Idlebawb commented Feb 2, 2016

Steps to reproduce

Share a folder to a User, who doesn't have share permissions, then sync with desktop client

Expected behaviour

No errors in the log

Actual behaviour

Everything seems to work fine, but there are a ton of errors logged ( up to 1 / 30sec)

Server configuration

Operating system: Ubuntu Server 12.04.5 LTS

Web server: Apache 2.4.16

Database: MySQL 5.5.47-0ubuntu0.12.04.1

PHP version: 5.5.31

ownCloud version: 7.0.12

Updated from an older ownCloud or fresh install: Updated from 6

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

throws me back to /apps/files

List of activated apps:

  • activity
  • files
  • files_sharing
  • search_lucene
  • templateeditor

**The content of config/config.php**:

<?php
$CONFIG = array (
  'instanceid' => 'oc2c07f158e1',
  'passwordsalt' => '',
  'datadirectory' => '/owncloud-data',
  'dbtype' => 'mysql',
  'version' => '7.0.12.2',
  'dbname' => 'transfer',
  'dbhost' => '127.0.0.1',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_kw_transferad',
  'dbpassword' => '',
  'installed' => true,
  'default_language' => 'en',
  'forcessl' => true,
  'theme' => 'pxc',
  'maintenance' => false,
  'logtimezone' => 'Europe/Berlin',
  'trusted_domains' => 
  array (
    0 => 'thisdomain.de',
  ),
  'secret' => '',
  'proxy' => '1.2.3.4:8080',
  'loglevel' => 2,
);

Are you using external storage, if yes which one: No

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: OwnCloud Desktop Client Windows 2.1.0

Operating system: Windows 7 / 8.1 / 10

### Logs

#### ownCloud log (data/owncloud.log)

Error   PHP Undefined variable: content at /var/www/lib/private/files/view.php#1051 2016-02-02T01:26:42+01:00
Error   PHP Undefined variable: content at /var/www/lib/private/files/view.php#1051 2016-02-02T01:24:19+01:00
Error   PHP Undefined variable: content at /var/www/lib/private/files/view.php#1051 2016-02-02T01:23:21+01:00
Error   PHP Undefined variable: content at /var/www/lib/private/files/view.php#1051 2016-02-01T20:19:19+01:00
Error   PHP Undefined variable: content at /var/www/lib/private/files/view.php#1051 2016-02-01T14:18:53+01:00
Error   PHP Undefined variable: content at /var/www/lib/private/files/view.php#1051 2016-02-01T14:18:23+01:00
Error   PHP Undefined variable: content at /var/www/lib/private/files/view.php#1051 2016-02-01T14:17:53+01:00
@ghost
Copy link

ghost commented Feb 2, 2016

Looks like similar/duplicate of #13306 and #18119 which got only fixed in 8.1+ according to #18124

@DeepDiver1975 DeepDiver1975 added this to the 7.0.13-current-maintenance milestone Feb 2, 2016
@MorrisJobke
Copy link
Contributor

@DeepDiver1975 Why the milestone?

@aspdye
Copy link

aspdye commented Feb 3, 2016

Still releasing updates for ownCloud 7? 😱 😃

@MorrisJobke
Copy link
Contributor

Still releasing updates for ownCloud 7?

But only security ones ;)

@DeepDiver1975
Copy link
Member

won't fix

@MorrisJobke MorrisJobke removed this from the 7.0.13-current-maintenance milestone Feb 4, 2016
@MorrisJobke
Copy link
Contributor

won't fix

To be more concrete: Could you try to upgrade to a more recent version and try if the error is gone?

@aspdye
Copy link

aspdye commented Feb 4, 2016

For better understanding @MorrisJobke, how long will ownCloud 7 get security patches?
The error should be gone in more recent versions according to what @RealRancor has said above.

@ghost
Copy link

ghost commented Feb 4, 2016

@aspdye
Copy link

aspdye commented Feb 4, 2016

@RealRancor Thats clear 😉 As I see @MTRichards has moved the EoL for ownCloud 7 a bit 😄
Is there any official reference - why? I thought ownCloud 7 will be dropped with the new Year 2016.

@MorrisJobke
Copy link
Contributor

Is there any official reference - why? I thought ownCloud 7 will be dropped with the new Year 2016.

Yes. There was some internal misunderstanding so we choose to not bring anybody bad news so we took the later date ;)

@Idlebawb
Copy link
Author

Just for the record:

I upgraded to OwnCloud 8.2.2 and the issue went away.
I now have 2 new issues,both of them I can live with for the moment.

cURL is using an outdated OpenSSL Version
Looks like I have to Upgrade the Ubuntu Version for this, but we dont use Federated Cloud Sharing Feature so for now I am going to ignore this.

#17468
Disabled Updater App (Hasn't worked for me anyways)

@lock
Copy link

lock bot commented Aug 6, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants