unmk2 / jaxl

Automatically exported from code.google.com/p/jaxl
GNU General Public License v3.0
0 stars 0 forks source link

preFetchXMPP.php calls startCore without any parameters #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open localhost/JAXL/app/preFetchXMPP.php in browser
2.
3.

What is the expected output? What do you see instead?

( ! ) Notice: Undefined offset: 0 in C:\wamp\www\JAXL\core\jaxl.class.php on 
line 609
Call Stack
#   Time    Memory  Function    Location
1   0.0006  697064  {main}( )   ..\preFetchXMPP.php:0
2   0.3486  2057536 JAXL->startCore( )  ..\preFetchXMPP.php:78

What version of the product are you using? On what operating system?

Please provide any additional information below.

/core/jaxl.class.php requires that at least one parameter is passed to the 
startCore method when it looks for index 0 in the $argv array. 

        function startCore(/* $mode, $param1, $param2, ... */) {
            $argv = func_get_args();
            $mode = $argv[0];

Instead preFetchXMPP.php calls the startCore method without any parameters:

    // Fire start JAXL Core
    $xmpp->startCore();

Original issue reported on code.google.com by donjohn....@gmail.com on 16 Jun 2011 at 2:34

GoogleCodeExporter commented 9 years ago
Hello Friends,

I am no longer accepting issues/bugs on google code issue list.

Have any Question? Want to discuss? Need Help? Use Google Group/Forum.
https://groups.google.com/forum/#!forum/jaxl

Found something missing or a bug in the source code? Kindly report an issue.
https://github.com/abhinavsingh/JAXL/issues

Sorry for any inconvenience caused.

--
Abhinav

Original comment by mailsfor...@gmail.com on 12 Sep 2012 at 9:51