View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000297 | pgpoolAdmin | Bug | public | 2017-03-21 05:48 | 2017-08-29 09:48 |
| Reporter | wschwurack | Assigned To | pengbo | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Platform | Lunix | OS | Ubuntu | OS Version | 14.04 |
| Product Version | 3.6.0 | ||||
| Summary | 0000297: Notice: Undefined variable: msgPcpPassFile in $PATH/checkParameter.php on line 427 | ||||
| Description | Trying to install pgpoolAdmin 3.6.0 two issues Doesn't allow to select version 3.6 Welcome to pgpool-II Administration Tool - pgpool-II version 3.5 Error on line .pcppass [V3.5] Notice: Undefined variable: msgPcpPassFile in /var/www/html/admin-tool/install/checkParameter.php on line 427 | ||||
| Steps To Reproduce | on Docs - Installing pgpool Adminsitration tool Step 13. Welcome to pgpool-II Adminstration tool | ||||
| Tags | No tags attached. | ||||
|
|
Getting this error on pgpool status page after installing pgpoolAdmin-3.6.0 Notice Undefined offset 2 in /var/www/html/pgpoolAdmin-3.6.0/command.php on line 156 Error Code e1013 Error Message php_watchdoe_info command error occurred Found other files with limit to version 3.5 I downloaded pgpoolAdmin-3.6.0 which I would think all of this would have been changed. command.php: if (3.5 <= _PGPOOL2_VERSION) { command.php: if (3.5 <= _PGPOOL2_VERSION) { command.php: (3.5 <= _PGPOOL2_VERSION) ? array('n' => $i) : array($i) command.php: if (3.5 <= _PGPOOL2_VERSION) { command.php: } elseif (3.5 <= _PGPOOL2_VERSION) { common.php: // params added in 3.5 common.php: $add_version = 3.5; common.php: // params deleted in 3.5 common.php: $del_version = 3.5; common.php: return array('3.5', '3.4', '3.3', '3.2', '3.1', '3.0', innerWatchdog.php:if (3.5 <= _PGPOOL2_VERSION) { |
|
|
I tried to install pgpoolAdmin-3.5.2 and pgpoolAdmin-3.5.3 on host the is running pgpool-3.5.5 which get the same errors with install and after install on pgpool Status page Backend info (PostgreSQL) Watchdog Notice: Undefined offset: 2 in /var/www/html/pgpoolAdmin-3.5.3/command.php on line 156 Error code: e1013 Error Message: php_watchdoe_info command error occurred Host: Ubuntu 14.04 PHP: 5.5.9-1ubuntu4.21 |
|
|
The bug is fixed by the following commit. Could you try that? https://git.postgresql.org/gitweb/?p=pgpooladmin.git;a=commitdiff;h=53f1891bf3caf9ade32bf104b51049d32b2c4e06 |
|
|
I added ‘3.6’ to checkParamter.php on line 466 Getting this error on the first page – Welcome to pgpool-II Administration Tool Deprecated: Function ereg() is deprecated in /var/www/html/pgpoolAdmin-3.6.0/install/index.php on line 32 My Fix while ($file_name = readdir( $res_dir )) { if (preg_match('/^[^\.]/', $file_name)) { /* if (ereg('^[^\.]', $file_name)) { */ Still getting this error on the check page line - .pcppass [V3.5 -] /var/www/.pcppass Notice: Undefined variable: msgPcpPassFile in /var/www/html/pgpoolAdmin-3.6.0/install/checkParameter.php on line 427 Here’s my .pcppass wd-pgtest:9898:apache:c1d10d0db9c99fa6d3361639269141fd After the install I login get nothing on pgpool Status Backend info (PostgreSQL) Summary Process Info. Watchdog Node Info. |
|
|
I'm now getting all the info in pgpoolAdmin pages. Fixed by having the correct setting in .pcppass What works *:*:username:plain text password What fails hostname:wrong port:username:pg_md5 password I am still getting this error on install /var/www/.pcppass Notice: Undefined variable: msgPcpPassFile in /var/www/html/pgpoolAdmin-3.6.0/install/checkParameter.php on line 427 |
|
|
|
|
|
Sorry for late reply. I fixed it and uploaded the patch file. Could you try it? |
|
|
patch file 'diff' only shows "X" When I down the file only get 1 byte |
|
|
Sorry. I think now you can download the patch file. |
|
|
All looks good after applying patch - thanks |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-03-21 05:48 | wschwurack | New Issue | |
| 2017-03-21 08:06 | t-ishii | Assigned To | => pengbo |
| 2017-03-21 08:06 | t-ishii | Status | new => assigned |
| 2017-03-21 08:31 | t-ishii | Product Version | => 3.6.0 |
| 2017-03-21 22:54 | wschwurack | Note Added: 0001384 | |
| 2017-03-21 23:43 | wschwurack | Note Added: 0001385 | |
| 2017-04-07 15:33 | pengbo | Note Added: 0001408 | |
| 2017-04-07 23:46 | wschwurack | Note Added: 0001410 | |
| 2017-04-22 04:58 | wschwurack | Note Added: 0001456 | |
| 2017-05-07 21:50 | pengbo | File Added: diff | |
| 2017-05-07 21:52 | pengbo | Note Added: 0001493 | |
| 2017-05-09 03:19 | wschwurack | Note Added: 0001496 | |
| 2017-05-09 14:53 | pengbo | Note Added: 0001498 | |
| 2017-05-09 22:42 | wschwurack | Note Added: 0001501 | |
| 2017-08-29 09:48 | pengbo | Status | assigned => closed |