Skip to content

PHP Syntax error in "install/dist/lib/opensuse.lib.php" on line 510

short description

What is happening and what is wrong with that? crash of the install script.

correct behaviour

What should happen instead? the script should finish its work

environment

Server OS: OpenSuse Server OS version: Leap 42.3 ISPConfig version: 3.1.13 you can use grep 'ISPC_APP_VERSION' /usr/local/ispconfig/server/lib/config.inc.php to get it from the command line

If it might be related to the problem

insert the output of `nginx -v` or `apachectl -v` here
insert the output of `php -v` here

proposed fix

optional, of course.
if you want to post code snippets, please use

your code  

replace : $content = str_replace('{amavis_config_dir}', $conf['amavis']['config_dir']); by : $content = str_replace('{amavis_config_dir}', $conf['amavis']['config_dir'], $content); in : ispconfig3_install/install/dist/lib/opensuse.lib.php
on line : 510

references

if you know of related bugs or feature requests, please reference them by using #<bugnumber>, e. g. #123 (closed)
if you have done a merge request already, please reference it by using !<mergenumber>, e. g. !12 (merged)
if you know of a forum post on howtoforge.com that deals with this topic, just add the link to the forum topic here

screenshots

optional, of course.
Add screenshots of the problem by clicking "Attach a file" on the bottom right.

log entries

apache / nginx error.log lines (if related)