Re: [Postfixadmin-devel] Blank domain.tld/setup.php page nothing in logs
Brought to you by:
christian_boltz,
gingerdog
|
From: Danny H. <dho...@gm...> - 2019-03-11 00:15:41
|
Hello again,
I have tried everything to the best of my knowledge and ability to look
for solutions on the internet, But i can not seem to figure this one
out
[houtworm@server ~]$ sudo -u http php
/usr/share/webapps/postfixAdmin/public/setup.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="css/default.css" />
<title>Postfix Admin - PHP Notice: Undefined index: HTTP_HOST in
/usr/share/webapps/postfixAdmin/templates/header.php on line 22
</title>
</head>
<body>
<div id="login_header">
<img id="login_header_logo" src="images/logo-default.png" />
</div>
<div class='setup'>
<h2>Postfix Admin Setup Checker</h2>
<p>Running software:
<ul>
<li>PHP version 7.3.3</li>
</ul><p>Checking for dependencies:
<ul>
<li>Magic Quotes: Disabled - OK</li>
<li><b>Error: Depends on: presence config.inc.php - NOT FOUND</b><br
/></li>
Create the file, and edit as appropriate (e.g. select database type
etc)<br />For example:<br />
<code><pre>cp config.inc.php.sample config.inc.php</pre></code>
<li><b>Warning: config.local.php - NOT FOUND</b><br /></li>
It's Recommended to store your own settings in config.local.php instead
of editing config.inc.php<br />Create the file, and edit as appropriate
(e.g. select database type etc)<br /><li>Depends on: MySQL 4.1 - OK
<br>(change the database_type to 'mysqli' in config.local.php if you
want to use MySQL)
</li><li>Depends on: PostgreSQL - OK
<br>(change the database_type to 'pgsql' in config.local.php if you
want to use PostgreSQL)
</li><li>Depends on: session - OK</li>
<li>Depends on: pcre - OK</li>
<li>Depends on: multibyte string - OK</li>
<li>Depends on: IMAP functions - OK</li>
</ul><p><b>Please fix the errors listed above.</b></p></div>
</body>
</html>
[houtworm@server ~]$
The location in setup.php is set to /../config.local.php also the inc
one
The files are there 100% they are owned by http:http and the
permissions are 644
[houtworm@server ~]$ cd /usr/share/webapps/postfixAdmin/
[houtworm@server postfixAdmin]$ ls
common.php config.local.php languages public templates_c
composer.json configs lib README.md
composer.lock functions.inc.php model scripts
config.inc.php index.php phpunit.xml templates
[houtworm@server postfixAdmin]$
My Database is MariaDB i have a user postfix with all rights to
database postfix with the correct password entered in both config
files. nginx is pointed to the /public folder and SSL works fine
Nginx Setup: https://paste.ee/p/IE2na
Local and Inc config: https://paste.ee/p/VcMUQ
I hope there is an obvious mistake here somewhere
Thanks and greets :)
|