phpDivingLog

3rd party extensions (phpDivingLog, dive computer downloader,...)
Post Reply
Jinxzy
Posts: 6
Joined: Wed Jan 17, 2024 21:19

Re: phpDivingLog

Post by Jinxzy »

Hello, is this still maintained? I am back with a new setup. Anyone help with this?

Code: Select all

Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /var/www/html/includes/misc.inc.php on line 875

Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /var/www/html/includes/misc.inc.php on line 875

Warning: session_start(): Session cannot be started after headers have already been sent in /var/www/html/settings.php on line 227

Fatal error: Uncaught mysqli_sql_exception: Table 'divelog.DL_Logbook' doesn't exist in /var/www/html/includes/wp-db.php:1975 Stack trace: #0 /var/www/html/includes/wp-db.php(1975): mysqli_query(Object(mysqli), 'SELECT Number,...') #1 /var/www/html/includes/wp-db.php(1864): wpdb->_do_query('SELECT Number,...') #2 /var/www/html/includes/wp-db.php(2614): wpdb->query('SELECT Number,...') #3 /var/www/html/includes/misc.inc.php(186): wpdb->get_results('SELECT Number,...', 'ARRAY_A') #4 /var/www/html/classes.inc.php(1870): parse_mysql_query('', 'SELECT Number,...') #5 /var/www/html/classes.inc.php(1825): Divelog->get_dive_overview_table() #6 /var/www/html/index.php(73): Divelog->get_dive_overview() #7 {main} thrown in /var/www/html/includes/wp-db.php on line 1975
lloyd_borrett
Posts: 235
Joined: Sun Jun 11, 2006 09:24
Location: Frankston South, Victoria, Australia

Re: phpDivingLog

Post by lloyd_borrett »

My online Dive Log is finally back online. Yippee!

Back in July 2022, my web hosting provider required me to deny everybody but me access to my online Diving Log. They had upgraded the version of PHP on the web server, which resulted in the phpDivingLog code generating numerous "PHP Deprecated" code warnings in the error log file, severely impacting server performance.

Well, I've finally got around to doing something about it. After more than three years of not writing or looking at any programming language code, I went back into action.

First, I addressed the issues causing the "PHP Deprecated" code warnings. Along the way, I found some bugs that I fixed.

Additionally, as you do, I made some enhancements to the functionality of the Diving Log. It's what programmers do!

Then I looked at the Diving Log data itself. Some thirty dives were missing online compared to what I had offline. So, I added them. (There have only been about five dives since my last logged dive in October 2013. Thus, the dive log is almost complete.)

There were dives where there was no known dive site or information about my dive buddy. I fixed those that I could.

Then, there were plenty of dive sites with inaccurate or no GPS coordinates. I've been able to fix most of them.

I've added missing data and fixed incorrect data on many dives.

I've improved some existing and, where possible, added missing dive site descriptions.

I've added numerous dive area dive site map images, as well as images for dive site specific maps, where possible.

So now my online Dive Log is back. It may not matter to anybody else, but it matters to me.

Please feel free to check it out at https://www.borrett.id.au/divelog/index.php?view=list

P.S.: At this point, I have no plans to make this version of phpDivingLog available to others. It's a somewhat haphazard combination of what works for me. It's doubtful anyone else would get it working on their up-to-date web hosting setup.
https://www.borrett.id.au/divelog/ - Lloyd's Dive Log
https://www.borrett.id.au/core/ - Contact Lloyd
https://www.borrett.id.au/interests/phpdivinglog.htm - phpDivingLog
Jinxzy
Posts: 6
Joined: Wed Jan 17, 2024 21:19

Re: phpDivingLog

Post by Jinxzy »

lloyd_borrett wrote: Sat Aug 23, 2025 15:21 My online Dive Log is finally back online. Yippee!

Back in July 2022, my web hosting provider required me to deny everybody but me access to my online Diving Log. They had upgraded the version of PHP on the web server, which resulted in the phpDivingLog code generating numerous "PHP Deprecated" code warnings in the error log file, severely impacting server performance.

Well, I've finally got around to doing something about it. After more than three years of not writing or looking at any programming language code, I went back into action.

First, I addressed the issues causing the "PHP Deprecated" code warnings. Along the way, I found some bugs that I fixed.

Additionally, as you do, I made some enhancements to the functionality of the Diving Log. It's what programmers do!

Then I looked at the Diving Log data itself. Some thirty dives were missing online compared to what I had offline. So, I added them. (There have only been about five dives since my last logged dive in October 2013. Thus, the dive log is almost complete.)

There were dives where there was no known dive site or information about my dive buddy. I fixed those that I could.

Then, there were plenty of dive sites with inaccurate or no GPS coordinates. I've been able to fix most of them.

I've added missing data and fixed incorrect data on many dives.

I've improved some existing and, where possible, added missing dive site descriptions.

I've added numerous dive area dive site map images, as well as images for dive site specific maps, where possible.

So now my online Dive Log is back. It may not matter to anybody else, but it matters to me.

Please feel free to check it out at https://www.borrett.id.au/divelog/index.php?view=list

P.S.: At this point, I have no plans to make this version of phpDivingLog available to others. It's a somewhat haphazard combination of what works for me. It's doubtful anyone else would get it working on their up-to-date web hosting setup.
That is great news :D

I also got it working on my server. Still some things to fix myself but it is working :lol:

https://divelog.dipsydiver.com/index.php?view=list
ianleiman
Posts: 6
Joined: Thu Feb 04, 2021 12:46

Re: phpDivingLog

Post by ianleiman »

phpDivingLog was a great inspiration for me and I wanted something like that for myself.
But I hate PHP and love Python, so then decided to do something similar myself with Python.
So here is a sample of what I did:
https://eianlei.github.io/my-web-logbook/
This being hosted on Github pages.

You can find sources and instructions from Github for how to install and deploy my web-logbook:
https://github.com/eianlei/web-logbook-rel1

This is the main page of the web app:
divelogs-main.png
divelogs-main.png (148.95 KiB) Viewed 7884 times
It can also show a map of your dive sites:
divelogs-map.png
divelogs-map.png (107.88 KiB) Viewed 7884 times
And there is dive photo gallery integration:
divelogs-photos.png
divelogs-photos.png (800.28 KiB) Viewed 7884 times
Post Reply