problems with Voyager 2.10, slinger on NeutrinoSP2

Hi,
I have a problem with Voyager 2.10 on a Neutrino 6.3 (Service Pack 2)
machine.

I have a CGI script that draws an HTML page with 3 buttons. Each button have
to launch a CGI opening a new browser window, executing a javascript script
at the “onClick” event.
All CGIs are stored locally on the machine and Slinger web server is
running. So I launch web-pages typing “localhost” on Voyager address bar.

The first CGI loads correctly but if I try to click one of the 3 buttons the
browser hangs up with the exception:

“CPromptService :: alert w=81026d0”.

I’ve tested the same scripts with Mozilla browser on the same machine and it
works correctly. Scripts works also on a QNX4 machine with Voyager 2.01.
If I use Phindows from a remote machine and try to do the same, Voyager
seems to recursively load the page, getting the same exception…

any idea on what happens?
Gabriele

I’ve found that Voyager crashes when you try to launch a javascript that
opens a new browser window from a object with the
“onClick” event handler. For example:

If you replace the button with a link:
Click me

it works!

… but I need to use buttons!



“Gabriele Bardella” <gabrieleb@prisma-eng.com> ha scritto nel messaggio
news:e7r7e3$gfk$1@inn.qnx.com

Hi,
I have a problem with Voyager 2.10 on a Neutrino 6.3 (Service Pack 2)
machine.

I have a CGI script that draws an HTML page with 3 buttons. Each button
have to launch a CGI opening a new browser window, executing a javascript
script at the “onClick” event.
All CGIs are stored locally on the machine and Slinger web server is
running. So I launch web-pages typing “localhost” on Voyager address bar.

The first CGI loads correctly but if I try to click one of the 3 buttons
the browser hangs up with the exception:

“CPromptService :: alert w=81026d0”.

I’ve tested the same scripts with Mozilla browser on the same machine and
it works correctly. Scripts works also on a QNX4 machine with Voyager
2.01.
If I use Phindows from a remote machine and try to do the same, Voyager
seems to recursively load the page, getting the same exception…

any idea on what happens?
Gabriele

Which web server are you connecting to with Voyager? The voyager server
(vserver) or the Mozilla server (mozserver)? You can determine this by
checking the config file /etc/photon/webservers.


Max Feil
QNX Software Systems
Stay up-to-date on all the QNX news! Register here to receive our
newsletter:
http://www.qnx.com/news/forms/newsletter.html


“Gabriele Bardella” <gabrieleb@prisma-eng.com> wrote in message
news:e8dtrf$de8$1@inn.qnx.com

I’ve found that Voyager crashes when you try to launch a javascript that
opens a new browser window from a object with the
“onClick” event handler. For example:

input type=“button” value=“click me”
onClick=“javascript:window.open(‘http:> www.google.com> ‘,’’,’’);”

If you replace the button with a link:
A HREF=“javascript:window.open(‘http:> www.google.com> ‘,’’,’’’)”> Click me
/A
it works!

… but I need to use buttons!



“Gabriele Bardella” <> gabrieleb@prisma-eng.com> > ha scritto nel messaggio
news:e7r7e3$gfk$> 1@inn.qnx.com> …
Hi,
I have a problem with Voyager 2.10 on a Neutrino 6.3 (Service Pack 2)
machine.

I have a CGI script that draws an HTML page with 3 buttons. Each button
have to launch a CGI opening a new browser window, executing a
javascript
script at the “onClick” event.
All CGIs are stored locally on the machine and Slinger web server is
running. So I launch web-pages typing “localhost” on Voyager address
bar.

The first CGI loads correctly but if I try to click one of the 3 buttons
the browser hangs up with the exception:

“CPromptService :: alert w=81026d0”.

I’ve tested the same scripts with Mozilla browser on the same machine
and
it works correctly. Scripts works also on a QNX4 machine with Voyager
2.01.
If I use Phindows from a remote machine and try to do the same, Voyager
seems to recursively load the page, getting the same exception…

any idea on what happens?
Gabriele

Mozilla server, lines in /etc/photon/webservers are:

online = /opt/Mozilla/mozilla/run-mozilla.sh
/opt/Mozilla/mozilla/mozserver,MozillaServer



“Max Feil” <maxf@magma.ca> ha scritto nel messaggio
news:e8h40s$kf6$1@inn.qnx.com

Which web server are you connecting to with Voyager? The voyager server
(vserver) or the Mozilla server (mozserver)? You can determine this by
checking the config file /etc/photon/webservers.


Max Feil
QNX Software Systems
Stay up-to-date on all the QNX news! Register here to receive our
newsletter:
http://www.qnx.com/news/forms/newsletter.html


“Gabriele Bardella” <> gabrieleb@prisma-eng.com> > wrote in message
news:e8dtrf$de8$> 1@inn.qnx.com> …
I’ve found that Voyager crashes when you try to launch a javascript that
opens a new browser window from a object with the
“onClick” event handler. For example:

input type=“button” value=“click me”
onClick=“javascript:window.open(‘http:> www.google.com> ‘,’’,’’);”

If you replace the button with a link:
A HREF=“javascript:window.open(‘http:> www.google.com> ‘,’’,’’’)”> Click me
/A
it works!

… but I need to use buttons!



“Gabriele Bardella” <> gabrieleb@prisma-eng.com> > ha scritto nel messaggio
news:e7r7e3$gfk$> 1@inn.qnx.com> …
Hi,
I have a problem with Voyager 2.10 on a Neutrino 6.3 (Service Pack 2)
machine.

I have a CGI script that draws an HTML page with 3 buttons. Each button
have to launch a CGI opening a new browser window, executing a
javascript
script at the “onClick” event.
All CGIs are stored locally on the machine and Slinger web server is
running. So I launch web-pages typing “localhost” on Voyager address
bar.

The first CGI loads correctly but if I try to click one of the 3
buttons
the browser hangs up with the exception:

“CPromptService :: alert w=81026d0”.

I’ve tested the same scripts with Mozilla browser on the same machine
and
it works correctly. Scripts works also on a QNX4 machine with Voyager
2.01.
If I use Phindows from a remote machine and try to do the same, Voyager
seems to recursively load the page, getting the same exception…

any idea on what happens?
Gabriele

\

Thank u Max, setting the webserver to vserver it works!


“Gabriele Bardella” <gabrieleb@prisma-eng.com> ha scritto nel messaggio
news:e8iheh$j8p$1@inn.qnx.com

Mozilla server, lines in /etc/photon/webservers are:

online = /opt/Mozilla/mozilla/run-mozilla.sh
/opt/Mozilla/mozilla/mozserver,MozillaServer



“Max Feil” <> maxf@magma.ca> > ha scritto nel messaggio
news:e8h40s$kf6$> 1@inn.qnx.com> …
Which web server are you connecting to with Voyager? The voyager server
(vserver) or the Mozilla server (mozserver)? You can determine this by
checking the config file /etc/photon/webservers.


Max Feil
QNX Software Systems
Stay up-to-date on all the QNX news! Register here to receive our
newsletter:
http://www.qnx.com/news/forms/newsletter.html


“Gabriele Bardella” <> gabrieleb@prisma-eng.com> > wrote in message
news:e8dtrf$de8$> 1@inn.qnx.com> …
I’ve found that Voyager crashes when you try to launch a javascript that
opens a new browser window from a object with the
“onClick” event handler. For example:

input type=“button” value=“click me”
onClick=“javascript:window.open(‘http:> www.google.com> ‘,’’,’’);”

If you replace the button with a link:
A HREF=“javascript:window.open(‘http:> www.google.com> ‘,’’,’’’)”> Click me
/A
it works!

… but I need to use buttons!



“Gabriele Bardella” <> gabrieleb@prisma-eng.com> > ha scritto nel messaggio
news:e7r7e3$gfk$> 1@inn.qnx.com> …
Hi,
I have a problem with Voyager 2.10 on a Neutrino 6.3 (Service Pack 2)
machine.

I have a CGI script that draws an HTML page with 3 buttons. Each
button
have to launch a CGI opening a new browser window, executing a
javascript
script at the “onClick” event.
All CGIs are stored locally on the machine and Slinger web server is
running. So I launch web-pages typing “localhost” on Voyager address
bar.

The first CGI loads correctly but if I try to click one of the 3
buttons
the browser hangs up with the exception:

“CPromptService :: alert w=81026d0”.

I’ve tested the same scripts with Mozilla browser on the same machine
and
it works correctly. Scripts works also on a QNX4 machine with Voyager
2.01.
If I use Phindows from a remote machine and try to do the same,
Voyager
seems to recursively load the page, getting the same exception…

any idea on what happens?
Gabriele



\