Admin page down after update to 9.0 #22960

Closed
tuxmaster opened this Issue Mar 8, 2016 · 13 comments

Projects

None yet

7 participants

@tuxmaster

After update to 9.0 the admin page are down.
Only an white page will show.
OS: CentOS7
Log(journal):
{PHP} Can't use method return value in write context at /var/www/html/owncloud/apps/files_external/lib/google.php#268

@tuxmaster tuxmaster changed the title from Admin page doen after update to 9.0 to Admin page down after update to 9.0 Mar 8, 2016
@LukasReschke
Member

Can you fill out the whole issue template? THX.

@LukasReschke
Member

Ok. Damn. it's 075dd54

@LukasReschke LukasReschke added bug and removed needs info labels Mar 8, 2016
@LukasReschke
Member

@karlitschek @cmonteroluque @PVince81 This means that Google Drive integration is broken under PHP 5.4

@LukasReschke LukasReschke added this to the 9.0.1-next-maintenance milestone Mar 8, 2016
@LukasReschke LukasReschke self-assigned this Mar 8, 2016
@LukasReschke LukasReschke added a commit that referenced this issue Mar 8, 2016
@LukasReschke LukasReschke Fix compatibility with PHP 5.4
Fixes #22960
d14adb2
@tuxmaster

Temporary to get the site back:
runuser -s /bin/bash - apache -c "/var/www/html/owncloud/occ app:disable files_external"

@LukasReschke
Member

@tuxmaster Could you test the patch from #22961?

@tuxmaster

Yes it will fix it.
After apply it, I call runuser -s /bin/bash - apache -c "/var/www/html/owncloud/occ app:enable files_external"
An I can use the admin page.

@LukasReschke
Member

Also a duplicate of #22958

Different issue probably. empty on arbitrary expressions works with PHP 5.5, #22958 uses PHP 5.5. See also http://php.net/manual/en/migration55.new-features.php :)

@LukasReschke LukasReschke added a commit that referenced this issue Mar 8, 2016
@LukasReschke LukasReschke Fix compatibility with PHP 5.4
Fixes #22960
1975ffa
@nickvergessen
Contributor

Should set up a lint task that checks for php 5.4 compatibility on CI?
This is the 3+ time we have this exact message

@PVince81
Collaborator
PVince81 commented Mar 9, 2016

Does scrutinizer do that ?

@LukasReschke
Member

Does scrutinizer do that ?

No. But we could run PHPStorm once before the release. It's analyzer can do that 🙈

@nickvergessen
Contributor

Well we can do it on travis: #22994 or we do something similar on jenkins (multiple checks, instead of only one red mark)

@jacob-israel

Hello ,

Im having the same problem enabling external storage and then getting admin blank page om OWC 9 , someone could tell me where can I update google lib php files ?

thanks in advance

Jacob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment