Clemens Schwaighofer e9c791c164 Add better error reporting to DB\IO for query with params
On error with query with params the query was sent to the server and
if ther query itself is ok but there is a problem with the parameters
a wrong error message ($1 not found) will be returned

Add pg_last_error reporting to catch this too.

Update both error reporting to return not string and prefix combined
but prefix + error string in array

In error return check that both strings are not equal, so we do not
return the same error string twice.

Also default set dbh variable in the PgSQL class to false so it will
skip last error report if there is no dbh set yet.

Bug fix for db query with params debug output. if there are more than 9
entries the $1 of eg $10 is replaced with $1 entry again. Changed to
'#' instead '$' to avoid this.

Other:
ACL\Login: replace EOM with HTML
config.master: replace list() with []
Add single DB tester where we can test single db calls without adding
more to the general test run
2023-05-18 15:20:36 +09:00
2023-04-26 15:43:11 +09:00
2023-02-17 13:15:55 +09:00
2023-02-28 18:04:42 +09:00

Composer package from CoreLibs

This is just the lib/CoreLibs folder in a composer package.

For local install only

Note: for following classes the egrajp/smarty-extended has to be installed

  • Template\SmartyExtended
  • Admin\EditBase

Setup from central composer

Setup from gitea internal servers

composer config repositories.git.egplusww.jp.Composer composer https://git.egplusww.jp/api/packages/Composer/composer

Alternative setup composer local zip file repot: composer config repositories.composer.egplusww.jp composer http://composer.egplusww.jp

Install package

composer require egrajp/corelibs-composer-all:^8.0

Description
All CoreLibs classes in one composer package In future will be replaced by each class in a separate composer package and then grouped together in one main class. Development is in "development" repository
Readme 3.5 MiB
Languages
PHP 97.2%
PLpgSQL 2.4%
Shell 0.4%