Hi Fyodor,
[please excuse the delay]
> I 've seen this behavior before when 'require'
> statement was inside function.
Thank you very much for the bug report. I will fix this for the next version
5.5.5.
As a workaround please use the JavaBridge.war instead. Or please add the
following to your JavaBridgeTemplate's web-inf/web.xml:
<!-- Automatically include java/JavaProxy.php -->
<!-- Switch this off if you don't use Java in all of your scripts
-->
<!-- Default is On. -->
<init-param>
<param-name>php_include_java</param-name>
<param-value>Off</param-value>
</init-param>
Please see the web.xml from the JavaBridge.war from the documentation
download for details.
I think we should also change php_include_java's default value to Off.
Regards,
Jost Boekemeier
On 13 Nov 2009 13:41, <php...@li...> wrote:
Hello,
I tried to install phpMyAdmin 3.2.3 to Tomcat 6.0.20 using php-java-bridge
(JavaBridgeTemplate554).
On setup page I got empty buttons and no text. I've investigated the issue
and found that language pack (./langs/english-utf-8.inc.php) writes into
global variables like this:
$strZip = '"zipped"'
but content of these variables is used like this
$GLOBALS['strZip']
And after setting the variable it does not appear in $GLOBALS array.
I've seen this behavior before when 'require' statement was inside
function. So "default" variables become "not global".
In JavaProxy.php there is call to java_call_with_continuation, and in this
function 'require' performed.
I've replaced call to java_call_with_continuation in JavaProxy.php by the
method body - and the issue was solved.
Fyodor Menshikov
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|