Installation

ALPH

New member
Hi,

After the first installation screen, see Dadabik PHP7 4.JPG , clicking on NEXT, I loop on the Dadabik_start.JPG screen and none of the 4 options allow me to progress, even on an empty database.

I forgot something ?

Thanks

A. Philippe
 

Attachments

  • Dadabik PHP7 4.JPG
    Dadabik PHP7 4.JPG
    53.5 KB · Views: 3
  • Dadabik_start.JPG
    Dadabik_start.JPG
    61.2 KB · Views: 3

eugenio

Administrator
Staff member
Hello,
when you said you loop what did you mean exactly? The browser continue to load indefinitely?

Have you change the config_custom.php file only?

Is the database huge? A huge database could take some time for the installation.

The blank application option only works if you have an empty database (no tables).

Best,
 

ALPH

New member
Hello,

By loop I mean : I click on Next, I see during a very short time a green screen, and again the screen with the four options

I change only the config_custom.php file.

The database has 3 tables with a total of about 1100 entries.

I tried with a other database : same.

With others database trials I had coding problems. My base is coded in UTF-8

Thanks
 

eugenio

Administrator
Staff member
Hello,
UTF-8 is fine, what kind of coding problems you got?

About the installation issue, is the page URL publicly accessible? If yes, I can have a look and see what is happening.

Best,
 

eugenio

Administrator
Staff member
I see, very strange behaviour, it seems like PHP is not getting what you pass through the form.

Could you paste here the whole content of your config_custom file? For security reasons, please remove the content of the following parameters: $dadabik_session_name, $secret_key, $pass but leave the line for example if you have

$secret_key = 'jflakjfkldsjfkljsadlkfjlaskdjflksadjfadsjlksdfj';

just remove the value:

$secret_key = '';

Best,
 

ALPH

New member
The file attached. I change some others value. Let me me know if you want he originals value


<?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
*/

// add your config parameters here
$parameter_example = 'value';

$serial_number = 'xxxxxx';

// dbms type ('mysql' or 'postgres' or 'sqlite' or 'sqlserver'); sqlserver is for Microsoft SQL Server; if you are using sqlserver be sure to have the TCP/IP protocol enabled, if you are using SQL Server on Azure please also check the parameter $tables_to_exclude.
$dbms_type = 'mysql';

// DBMS server host
$host = 'paxxxxxx-001.eu.clouddb.ovh.net:35424'; // the name or the IP of the host (computer) where the DBMS is running (e.g. '127.0.0.1' if the DBMS is running locally); please try 'localhost' instead of '127.0.0.1' if '127.0.0.1' is not working; some Web Hosting providers can require a full name e.g. mysql.yourdomain.com; for SQLite this parameter is not needed. For mysql and postgres you can also specify the port (if it's not the default one) separated from the host by a ":", e.g. "127.0.0.1:5431" to use the port 5431

// database name
$db_name = 'LivresRecettes'; // for SQLite not only the name but 1) the full path is also needed (e.g. '/my_databases/music_databases/songs.db') and 2) you need to grant to the Web server write permissions on the database file

// database user
$user = 'kische'; // this user must have select, insert, update, delete permissions, create and drop permissions are also needed for installation, upgrade and administration area e.g. 'root'; for SQLite this parameter is not needed
// for better security, you should choose a user who has privileges ONLY on the database used by this application ($db_name parameter)

// database password
$pass = ''; // for sqlite this parameter is not needed


// secret_key: a long (60+ characters), random and complicated phrase which is used to sign authentication cookies for this application and therefore improve authentication security; you don't need to remember this phrase
// please note that in order to benefit from this security mechanism you must choose a different secret_key for each DaDaBIK application you create and you must keep this value secret
$secret_key = '';

// dadabik_session_name: the name of the session for this DaDaBIK application, used to avoid unexpected and risky effects if other applications installed in the same domain make use of the same session variable names that this application uses
// it must contain only ASCII letters and numbers, with at least one letter and no blank spaces; its length must be less than 100 characters and must be different than $secret_key; you don't need to remember this name
// please note that in order to benefit from this security mechanism you must choose a name which is unique among session names used by other applications installed in the same domain
$dadabik_session_name = '';

// timezone, specify here your timezone (a list of available timezone here: http://php.net/manual/en/timezones.php)
$timezone = 'Europe/Rome';


// DaDaBIK complete url (e.g. http://www.mysite.com/john/dadabik/, REMEMBER the trailing slash)
// YOU CAN SAFELY LEAVE THIS PARAMETER EMPTY (''), you should try to set it only in two cases:
// 1) IF DADABIK REDIRECTS YOU TO THE WRONG URL AFTER LOGIN
// 2) IF YOU ARE HAVING ISSUES DISPLAYING IMAGES IN PDF
$site_url = 'http://dadabik.kochleffel.fr';
 

eugenio

Administrator
Staff member
// DaDaBIK complete url (e.g. http://www.mysite.com/john/dadabik/, REMEMBER the trailing slash)
// YOU CAN SAFELY LEAVE THIS PARAMETER EMPTY (''), you should try to set it only in two cases:
// 1) IF DADABIK REDIRECTS YOU TO THE WRONG URL AFTER LOGIN
// 2) IF YOU ARE HAVING ISSUES DISPLAYING IMAGES IN PDF
$site_url = 'http://dadabik.kochleffel.fr';
Is there any reason why you set $site_url?
Could you try to remove that line from config_custom?
 

ALPH

New member
I add this line to make a test. I remove it >> same.

Could you send me an e-mail on the my adress of this forum. I would then send you the config_custom.php file, So you could make a trial in the original condition in your office.
 

eugenio

Administrator
Staff member
The config_custom file looks fine to me, if you added the right serial and pass and set proper $dadabik_session_name and $secret_key it is fine.
DaDaBIK is correctly connected to your DB and this is proved by the first installation page.
From here I can't see any error, what I see is that for some reason the same page is reloaded again (or the server refused to receive the POST values sent).

I would try to:

- check your webserver error logs to see if there is any error triggered during the installation
- try to install locally and see if it works, just to understand if the problem is due to the environment (e.g. any web server security rule that for some reasons prevent the data to be passed to the next page? Maybe because the URL is not https ?)

Best,
 

ALPH

New member
I send you the log to info@dadabik.org.

There are some errors but very mysterious for me.

If possible give me an other mail adress to continue.

I tied with https >> same

Salutations
 

eugenio

Administrator
Staff member
As I said I would try to install locally to try to isolate the problem. I would also check your Apache (I assume you are using apache but I am not sure) error log to see if when you click on NEXT you generate any error.
https://dadabik.kochleffel.fr/ doesn't seems to have https configured so I think you cannot try it.

If you have an enterprise/platinum license you can open a ticket sending an email to support [at] dadabik [dot] com

Best,
 

ALPH

New member
Hello,

First : I have no experience installing a server locally. That may be a source of error and may not be successful. And even if it worked locally, it would not help the resolution of the problem at OVH. I think that your product can be installed locally on PC and that you checked that.

https://dadabik.kochleffel.fr/install.php >> works, you can try it

During a first trial I was in PHP 8.1. The installation script found that IonCube was not installed. Any reason for this?

The serveur is Apache 2.4

The server I had installed is in fact MariaDB :
-- MariaDB dump 10.19 Distrib 10.5.13-MariaDB, for debian-linux-gnu (x86_64)
-- Host: 172.17.0.64 Database: LivresRecettes
-- Server version 8.0.26

I installed the db on an others server MySQL :
-- Version du serveur : 5.6.50-log
-- Version de PHP : 7.4.25
>>> same results, not working

Al these products are standard products. There are a lot of sites running by OVH, among that 4 I manage with different softwares. Regardless of the license, a product must be able to be installed on a standard configuration

Did you have look on the log I send at info@dadabik.org ? I've seen some errors but can’t interpret them.

I hope all these informations will help you in direction of a solution

A. Philippe
 

ALPH

New member
I looked at XAMPP. Having nothing else to do while waiting for a possible solution, which version I have to install: 7.4, 8 or 8.1 ? What is working ?

Thanks
 

ALPH

New member
Hello

On Friday, February 18, I did some tests. The following sequence of errors appears for each test.
Thank you for your analysis

[Fri Feb 18 15:45:22 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] (104)Connection reset by peer: AH10143: FastCGI: comm with server "/homez.158/alphovhuxh/www/dadabik/program_files/install2.php" aborted: read failed, referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php
[Fri Feb 18 15:45:22 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] AH10149: FastCGI: incomplete headers (0 bytes) received from server "/homez.158/alphovhuxh/www/dadabik/program_files/install2.php", referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php
[Fri Feb 18 15:45:22 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] AH10157: FastCGI: An error happened during Fastcgi processing, fallback to CGI, referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php
[Fri Feb 18 15:45:25 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] (104)Connection reset by peer: AH10143: FastCGI: comm with server "/homez.158/alphovhuxh/www/dadabik/program_files/install2.php" aborted: read failed, referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php
[Fri Feb 18 15:45:25 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] AH10149: FastCGI: incomplete headers (0 bytes) received from server "/homez.158/alphovhuxh/www/dadabik/program_files/install2.php", referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php
[Fri Feb 18 15:45:25 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] AH10157: FastCGI: An error happened during Fastcgi processing, fallback to CGI, referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php

Thanks

A. Philippe
 

eugenio

Administrator
Staff member
Hello

On Friday, February 18, I did some tests. The following sequence of errors appears for each test.
Thank you for your analysis

[Fri Feb 18 15:45:22 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] (104)Connection reset by peer: AH10143: FastCGI: comm with server "/homez.158/alphovhuxh/www/dadabik/program_files/install2.php" aborted: read failed, referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php
[Fri Feb 18 15:45:22 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] AH10149: FastCGI: incomplete headers (0 bytes) received from server "/homez.158/alphovhuxh/www/dadabik/program_files/install2.php", referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php
[Fri Feb 18 15:45:22 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] AH10157: FastCGI: An error happened during Fastcgi processing, fallback to CGI, referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php
[Fri Feb 18 15:45:25 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] (104)Connection reset by peer: AH10143: FastCGI: comm with server "/homez.158/alphovhuxh/www/dadabik/program_files/install2.php" aborted: read failed, referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php
[Fri Feb 18 15:45:25 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] AH10149: FastCGI: incomplete headers (0 bytes) received from server "/homez.158/alphovhuxh/www/dadabik/program_files/install2.php", referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php
[Fri Feb 18 15:45:25 2022] [error] [client 82.121.167.156] [host alphovhuxh.cluster026.hosting.ovh.net] AH10157: FastCGI: An error happened during Fastcgi processing, fallback to CGI, referer: http://alphovhuxh.cluster026.hosting.ovh.net/dadabik/program_files/install2.php

Thanks

A. Philippe

These kind of errors can have several different causes (lack of memory, a corrupted file, ... ) and it's difficult to understand which is the real one.
This is why I suggested you to try to install locally, at least you will see if the problem is in your files (wrong edits in config_custom, accidental modifications of other files, corrupted files, ... ) or if there is something in your environment that prevents the third installation page to be loaded.

If you don't want ( or don't have the skills to) install on your computer, you could try a2hosting, they have a plan that for the first month costs 2.99 dollars. If DaDaBIK doesn't work there, I am pretty sure there is something wrong in your files because I have tested DaDaBIK on their servers.
To isolate the problem, start with a simple database, containing just one table, using PHP 7.4 and see what happens.

Best,
 

ALPH

New member
I am installing a server XAMPP on a PC with a fresh W10. As I said, I don’t have experience with the subject, it will take a little time.
I come back after.

Salutations
 

ALPH

New member
I think you got a message that Dadabik is running localy.

There are differences between the two configurations.

From the previous tests we can conclude that the difference between the two SQL servers does not matter, because in both cases it does not work.

What can we conclude from this?
 

Attachments

  • OVH.JPG
    OVH.JPG
    36.3 KB · Views: 3
  • localhost.PNG
    localhost.PNG
    154.8 KB · Views: 3

eugenio

Administrator
Staff member
Your message is not clear.

Have you installed DaDaBIK on your local computer? What happened exactly? Exactly the same thing happening online, i.e. you see two installations pages and then the third is not loaded?
If this is the case, it's the first time I see this strange behaviour in many years, so I would say the most probable reason is that there is something wrong with the files.

1) Are you sure you only edit config_custom.php? Are all the other files (including config.php) exactly as they were when you downloaded dadabik?

2) Can you post here the content of your config_custom.php file? You should copy and paste the whole content after having deleted the value of $serial_number, $pass, $dadabik_session_name, $secret_key (and any other sensitive data you might have), you should just delete the value between quotes and leave the quotes
 
Top