installation error on Pro Version. never installed before

mhamlett

New member
http://www.tshpro1.com/dadabik/install.php
this is what i get when i run this URL to install


Parse error: syntax error, unexpected '$dbms_type' (T_VARIABLE) in H:\root\home\mhamlett-002\www\tshpro1\dadabik\include\config_custom.php on line 7

<?php
/*
Add here the config.php parameters you want to modify, together with their values; see the documentation https://dadabik.com/index.php?function=show_documentation#config for furhter details
*/
$serial_number = 'xxx'
// add your config parameters here
$dbms_type = 'MySQL';
$host = 'mysql5045.site4now.net';
$db_name = 'xx';
$user = 'xx';
$pass = 'xx';
$secret_key = 'tshpro1_secretkey';
$dadabik_session_name = 'tshpro1_sessionname';
$timezone = 'America/Los_Angeles';

i dont even know what the secret key and session name are for
what should be here?
 

mhamlett

New member
PHP Version 7.4.14

Server: mysql5045.site4now.net via TCP/IP
Server type: MySQL
Server connection: SSL is not being used Documentation
Server version: 8.0.22 - MySQL Community Server - GPL
Protocol version: 10
User: xxxxx
Server charset: UTF-8 Unicode (utf8mb4)
 

mladen

New member
Session name is session name as any other web app has it.
I don't know if it has any impact, but try with all small letters:

$dbms_type = 'mysql';

Secret key should be longer:

A session secret is a key used for encrypting cookies. Application developers often set it to a weak key during development, and don't fix it during production. This article explains how such a weak key can be cracked, and how that cracked key can be used to gain control of the server that hosts the application
 

eugenio

Administrator
Staff member
Hello,
you deleted the semicolon after
$serial_number = 'xxx'
that's why you got that error.

Best,
 
Top