phpDivinglog showing countries and other items very wrong

3rd party extensions (phpDivingLog, dive computer downloader,...)
Post Reply
mdonkersloot
Posts: 18
Joined: Thu Jun 01, 2017 12:21
Location: Spijkenisse
Contact:

phpDivinglog showing countries and other items very wrong

Post by mdonkersloot » Fri Jun 16, 2017 08:05

Hi All,

I have created 4 countries in Diving log 6.0
divinglog- country.jpg
divinglog- country.jpg (26.73 KiB) Viewed 363 times
But it shows as 3 and totally wrong in divinglogphp 3.x (master version download last week)
Click 1 and 4 works if you click them but should be shown as a country name not a number.
the N doesnt do anything at all.
phpdivinglog - country.jpg
phpdivinglog - country.jpg (20.83 KiB) Viewed 363 times
What is going wrong.

http://www.donkersloot-duiken/marco/

mdonkersloot
Posts: 18
Joined: Thu Jun 01, 2017 12:21
Location: Spijkenisse
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by mdonkersloot » Sun Jun 25, 2017 09:32

anyone a idea ? it looks good in the databases on the divinglog 6.0 software and in MySQL

divinglog
Site Admin
Posts: 4697
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by divinglog » Tue Jun 27, 2017 13:44

I'm sorry, I have no idea why this happens. But maybe if you PM the user Inferno directly, he can help.

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by Inferno » Thu Jun 29, 2017 10:18

Just a small fix, new version is available

Needs some more love... code getting outdated

https://github.com/Infern1/phpDivinglog

mdonkersloot
Posts: 18
Joined: Thu Jun 01, 2017 12:21
Location: Spijkenisse
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by mdonkersloot » Thu Jun 29, 2017 21:29

Hi Rob/Inferno,

It worked perfect.

combined it as you said for now with

$_config['view_type'] = 2;

also perfect change in the github is

Changed default config.inc.php to config.inc.php.example

now no worries if i forget to backup and overwrite my own config :oops:
Last edited by mdonkersloot on Thu Jun 29, 2017 21:31, edited 2 times in total.

Inferno
Posts: 252
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by Inferno » Thu Jun 29, 2017 21:31

mdonkersloot wrote:
Thu Jun 29, 2017 21:29
Hi Rob/Inferno,

It worked perfect.

combined it as you said for now with

$_config['view_type'] = 2;
In the process of removing this option, using javascript for tables, some functions more modern (bootstrap methods)

mdonkersloot
Posts: 18
Joined: Thu Jun 01, 2017 12:21
Location: Spijkenisse
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by mdonkersloot » Thu Jun 29, 2017 21:32

awaiting your update, i like the phpdivinglog very much and also very great support many thanks

Post Reply