[d3pipes] Error and Warning with no pipes
(1) If the block "List entries (Async)" is installed before one or more pipes are created
then a browser's JavaScript error occurs on the pages of this block (with IE6).
Error Point:
If the CODE shown below is commented out then the above error doesn't occur.
<<<CODE
d3pipes_add_script( "http://localhost/modules/d3pipes/index.php?page=jsbackend&pipe_ids=1&max_entries=10&union_class=mergesort&unique_id=2454846d8be11c858a" ) ;
CODE;
If the URI in the above CODE is entered to some browser then the message is displayed: "Invalid pipe_id".
(2) If the block "List entries (Sync)" is installed before one or more pipes are created
then a PHP warning occurs on the pages of this block.
Warning Message:
Warning [PHP]: array_merge() [function.array-merge]: Argument #2 is not an array in file ...\modules\d3pipes\joints\union\D3pipesUnionMergesort.class.php line 14
It seems that no errors or warnings will be expected in these conditions.
[Conditions and Flow]
01. common/lib 1.00 extracted to XOOPS_ROOT_PATH/
02. XOOPS Cube Legacy 2.1.1 installed
03. altsys 0.55 module and block installed
04. d3pipes 0.55 module installed
==> no errors, warnings or notices occured
05.
"no pipes created"06. one or more blocks of d3pipes installed
==>
"some error or warning occured on the pages of the blocks !"07. one or more pipes created
==> no errors or warnings occured on the pages of the blocks
[Environment]
XOOPS_ROOT_PATH = D:/homepage
XOOPS_URL =
http://localhostXOOPS Cube Lagacy 2.1.1
mysql 4.0.27
php 5.2.0
apache 2.0.59
Windows XP HE SP2 / IE6