Open WingerathM opened 1 year ago
Same error here.
Parse error: syntax error, unexpected '=' in /var/www/src/public/include/class.forms.php on line 4039 PHP Parse error: syntax error, unexpected '=' in /var/www/src/public/include/class.forms.php on line 4039
I have the same issue, seems the code while checking if database is there use a standard port while the actual database connection uses without the standard port. is this container usable?
// Wait for database connection
echo "Waiting for database TCP connection to become available...\n";
$s = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
$t = 0;
while (!@socket_connect($s,$vars['dbhost'],3306) && $t < CONNECTION_TIMEOUT_SEC) {
// Check database installation status
$db_installed = false;
echo "Connecting to database mysql://${vars['dbuser']}@${vars['dbhost']}/${vars['dbname']}\n";
I tried setting up an osticket-container today as described in osTicket on docker hub. Unfortunarly starting the container exits with a php parsing error: