phpDivinglog showing countries and other items very wrong

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

phpDivinglog showing countries and other items very wrong

Post by mdonkersloot »

Hi All,

I have created 4 countries in Diving log 6.0
divinglog- country.jpg
divinglog- country.jpg (26.73 KiB) Viewed 15926 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 15926 times
What is going wrong.

http://www.donkersloot-duiken/marco/
mdonkersloot
Posts: 21
Joined: Thu Jun 01, 2017 12:21
Location: Spijkenisse
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by mdonkersloot »

anyone a idea ? it looks good in the databases on the divinglog 6.0 software and in MySQL
divinglog
Site Admin
Posts: 5764
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by divinglog »

I'm sorry, I have no idea why this happens. But maybe if you PM the user Inferno directly, he can help.
Inferno
Posts: 264
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by Inferno »

Just a small fix, new version is available

Needs some more love... code getting outdated

https://github.com/Infern1/phpDivinglog
mdonkersloot
Posts: 21
Joined: Thu Jun 01, 2017 12:21
Location: Spijkenisse
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by mdonkersloot »

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: 264
Joined: Thu Apr 19, 2007 20:36
Location: The Netherlands
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by Inferno »

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: 21
Joined: Thu Jun 01, 2017 12:21
Location: Spijkenisse
Contact:

Re: phpDivinglog showing countries and other items very wrong

Post by mdonkersloot »

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