Php_value error in .htacces (OC ver 10.0.10)


#1

Hi Folks,

I can’t get my owncloud 10.0.10 installation to rum properly. After installing the version 10.0.10 via ftp to my webspace folder “owncloud” and entering the domain name “owncloud.mydomain.com” into the browser an error message was displayed. Please find attached the answers to the questions which I tried to answer as complete as possible. Some of the questions I do not understand, this is why I left them blank.

Anybody to advice how I can proceed?

Many thanks
Klaus

Steps to reproduce

  1. Deleted old owncloud files on Hosteurope server
  2. Uploaded owncloud via ftp using filezilla
  3. entered owncloud url in browser and received error message

Expected behaviour

start owncloud with initial setup screen

Actual behaviour

received error message

Server configuration

Operating system: I believe Apache

Web server:

Database: mysql

PHP version: 7.2

ownCloud version: (see ownCloud admin page) latest from download page (10.0.10)

Updated from an older ownCloud or fresh install: old version (10.0.3) directory on webspace deleted and latest version of OC uploaded via ftp

Where did you install ownCloud from: from my MacBook

Signing status (ownCloud 9.0 and above): ???

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

???

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps: none

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/…

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser: Safari

Operating system:

Logs

Web server error log

Insert your webserver log here
[Thu Dec 27 14:25:11 2018] [core:alert] [pid 17467] [client 46.5.16.145] [host owncloud.mydomain.de] /is/htdocs/wpxxxxxxx_ACVBHZTR/www/owncloud/.htaccess: php_value not allowed here
#### ownCloud log (data/owncloud.log)
Insert your ownCloud log here
none
#### Browser log

Insert your browser log here, this could for example include:

The script could not be executed correctly.

Please refer to your error log for details about this error. You find it in your KIS under the item “Administration > YOUR PRODUCT > YOUR PACKAGE > Logfiles”. Further information can also be found in our FAQ.

a) The javascript console log
b) The network log
c) …


#2

Hey,

i did the following search:

https://www.google.com/search?q="php_value+not+allowed+here"

and found e.g. the following resource with some background information:

https://portal.jvmhost.com/knowledgebase/article/238/error-500--htaccess--php_value-not-allowed-here/

https://www.jafdip.com/tweaking-apache-php-with-htaccess/


#3

Looks like the web server error message is not displayed well. I try again:

[Thu Dec 27 14:25:11 2018] [core:alert] [pid 17467] [client 46.5.16.145] [host owncloud.mydomain.com] /is/htdocs/wpxxxxxxxx_BCVDREWAS/www/owncloud/.htaccess: php_value not allowed here