Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Addon Admin Tools / Database I/O Manager (DbIo) Plugin [Support Thread]

Database I/O Manager (DbIo) Plugin [Support Thread]

Started by lat9 on 1 Jul 2016, 6:09 PM · Views: 104,792

Results 621 to 628 of 628
16 Jul 2026, 10:57 AM
#621
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Database I/O Manager (DbIo) Plugin [Support Thread]

lat9:

Correction now available: https://github.com/lat9/dbio/commit/0121569bb8645ea7d62ea5b9fddd03b712ef59f3

It's a simple update to line 1031 of admin/includes/classes/dbio/DbioHandler.php, adding a string cast:

                                            $record_key_value = [B](string)[/B]$db->insert_ID();

Thank you so much lat9 ... you rock!
6 Nov 2026, 6:09 PM [edited]
#622
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,752
Plugin Contributions:
56

Re: Database I/O Manager (DbIo) Plugin [Support Thread]

Small issue in 2.2.1 running under ZC 1.5.8a:

[06-Nov-2026 13:04:07 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function zen_config() in /home/client/public_html/admin/includes/init_includes/init_dbio_admin.php:39
Stack trace:
#0 /home/client/public_html/includes/autoload_func.php(40): require_once()
#1 /home/client/public_html/admin/includes/application_top.php(42): require('/home/client...')
#2 /home/client/public_html/admin/keepalive.php(9): require('/home/client...')
#3 {main}
thrown in /home/client/public_html/admin/includes/init_includes/init_dbio_admin.php on line 39

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

6 Nov 2026, 6:29 PM
#623
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,752
Plugin Contributions:
56

Re: Database I/O Manager (DbIo) Plugin [Support Thread]

I put a zen_config() function storefront side but it's choking on other things now - seems to require PHP 8.3.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

6 Nov 2026, 6:45 PM
#624
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,137
Plugin Contributions:
56

Re: Database I/O Manager (DbIo) Plugin [Support Thread]

swguy:

Small issue in 2.2.1 running under ZC 1.5.8a:

[06-Nov-2026 13:04:07 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function zen_config() in /home/client/public_html/admin/includes/init_includes/init_dbio_admin.php:39
Stack trace:
#0 /home/client/public_html/includes/autoload_func.php(40): require_once()
#1 /home/client/public_html/admin/includes/application_top.php(42): require('/home/client...')
#2 /home/client/public_html/admin/keepalive.php(9): require('/home/client...')
#3 {main}
thrown in /home/client/public_html/admin/includes/init_includes/init_dbio_admin.php on line 39

The apparent issue is that you forgot to copy the admin's /includes/functions/extra_functions/zen_config.php file! See this link: https://github.com/lat9/dbio/tree/v2.2.1/YOUR_ADMIN/includes/functions/extra_functions

6 Nov 2026, 6:46 PM
#625
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,137
Plugin Contributions:
56

Re: Database I/O Manager (DbIo) Plugin [Support Thread]

swguy:

I put a zen_config() function storefront side but it's choking on other things now - seems to require PHP 8.3.

Quite possible; if you give a bit of a clue as to what the "other things" are, I can look to correct the issues for v2.2.2.

Note that some of the PHP < 8.3 issues are noted in this GitHub issue: https://github.com/lat9/dbio/issues/270

6 Nov 2026, 8:23 PM
#626
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,752
Plugin Contributions:
56

Re: Database I/O Manager (DbIo) Plugin [Support Thread]

"Other things" means PHP 8.3 was needed - otherwise statements like

public const string DBIO_HANDLER_VERSION   = '2.2.0';

in admin/includes/classes/dbio/DbIoHandler.php won't work. I just didn't realize 8.3 was a requirement for this plugin at the latest version. Working to get the hoster to install PHP 8.3.

The apparent issue is that you forgot to copy the admin's /includes/functions/extra_functions/zen_config.php file! See this link: https://github.com/lat9/dbio/tree/v2.2.1/YOUR_ADMIN/includes/functions/extra_functions

No - this was installed but it's also needed on the storefront (at least in ZC 1.5.8a).

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Nov 2026, 12:46 PM
#627
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,137
Plugin Contributions:
56

Re: Database I/O Manager (DbIo) Plugin [Support Thread]

swguy:

"Other things" means PHP 8.3 was needed - otherwise statements like

public const string DBIO_HANDLER_VERSION   = '2.2.0';

in admin/includes/classes/dbio/DbIoHandler.php won't work. I just didn't realize 8.3 was a requirement for this plugin at the latest version. Working to get the hoster to install PHP 8.3.

The apparent issue is that you forgot to copy the admin's /includes/functions/extra_functions/zen_config.php file! See this link: https://github.com/lat9/dbio/tree/v2.2.1/YOUR_ADMIN/includes/functions/extra_functions

No - this was installed but it's also needed on the storefront (at least in ZC 1.5.8a).

That first "thing" is addressed in the GitHub issue I posted and since DbIo is an admin-only running tool, I don't see how a missing zen_config on the storefront matters.

7 Nov 2026, 3:04 PM
#628
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,752
Plugin Contributions:
56

Re: Database I/O Manager (DbIo) Plugin [Support Thread]

This must have been an install-time-only issue that happened because the file transfer had only partially completed. Can't seem to dup it locally.

Hopefully these guys will get PHP 8.3 soon and this will all work like a charm.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.