[Webclient] Firefox issues with images

Find and share HowTos to various installations / configurations!
8 posts • Page 1 of 1
fabiorez
Posts:15
Joined: Thu Jul 25, 2013 3:08 pm

[Webclient] Firefox issues with images

Post by fabiorez »

Hi everybody,
I have found some problems with the use of the WinCC 3.11 SP1 Webclient and Mozilla Firefox: in fact, it seems that the browser can't load the JPG and Gif images used by our project.
The result is the same in every MS environment, from XP to W7 64 bit.

If we use Internet Explorer everything seems to work fine, but we could face some problems with some workstations which, due to other web-based programs, must use IE 6.

Has anybody met the same problem with Mozilla and maybe solved it?

I've been checking all the browser security parameters, made all the possible updates, even tried older version and developed a script that checked the presence of the image files, without getting any result.

The project instead loads without any problem PNG and BMP images.


Thanks in advance for your help :)

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: [Webclient] Firefox issues with images

Post by mkoller »

The WebClient needs image plugins for some image formats, e.g. jpg, gif, tiff, etc.
These plugins are installed in your WebClient installation directory under bin/imageformats
To find these, the WebClient needs to know the location - and that is given as pvss_path in the config file
(whereby the content there is actually retrieved from the local "registry" file, which is /opt/WinCC_OA/WebClient/pvssInst.conf on Linux
... and something else on Windoze. Try to find that file ans check what the entry
[Software\\ETM\\PVSS II\\3.11]
InstallationDir = ...
contains. This path is probably wrong.

fabiorez
Posts:15
Joined: Thu Jul 25, 2013 3:08 pm

Re: [Webclient] Firefox issues with images

Post by fabiorez »

Hi Martin,
many thanks for your answer.
I've searched through the registry and checked also the .conf, which is located in c:\\windows, but everything seems correct.
I've tried to change the parameters and also copied the graphical dlls in the cache folder of our project, without sorting any effect.

Do you have any other suggestion?
With Internet Explorer, everything continues to work correctly, I'm only having this issue with Mozilla Firefox... and only with GIF and JPG images, so I'm quite puzzled.

In the other Linux test machines, the same project works perfectly

:dry:

fabiorez
Posts:15
Joined: Thu Jul 25, 2013 3:08 pm

Re: [Webclient] Firefox issues with images

Post by fabiorez »

For example, this is the output of the errors in my logfile

WCCOAWebClient(10), 2014.01.17 10:39:04.614, PARAM,WARNING, 5/uim, Could not load pixmap 'C:\\Users\\fabio.rezzola\\.wincc_oa-cache\\A2AWEB1\\pictures\\stop_en.gif'.
Module: PVSS_1
Panel: vision\\aes\\AEScreenRegBoth.pnl []
Object: 14 named: "buStop" of type: PUSH_BUTTON

WCCOAWebClient(10), 2014.01.17 10:39:04.655, PARAM,WARNING, 5/uim, Could not load pixmap 'C:\\Users\\fabio.rezzola\\.wincc_oa-cache\\PROJECT\\pictures\\stop_en.gif'.
Module: PVSS_1
Panel: vision\\aes\\AEScreenRegBoth.pnl []
Object: 14 named: "buStop" of type: PUSH_BUTTON

WCCOAWebClient(10), 2014.01.17 10:39:05.034, CTRL, WARNING, 5/ctrl, Location of the following log entry:
Module: PVSS_1
Panel: para\\PanelTopology\\templates\\TEMPLATE1\\basePanel_1600_1200_TEMPLATE1.pnl []
Script: Initialize
Line: 452
WCCOAWebClient(10), 2014.01.17 10:39:05.034, SYS, WARNING, 5/uim, Could not load pixmap 'C:\\Users\\fabio.rezzola\\.wincc_oa-cache\\PROJECT\\pictures\\LOGO_BASE_96.jpg'. PatternType::decode()
WCCOAWebClient(10), 2014.01.17 10:39:05.042, CTRL, WARNING, 51, Parameter incorrect,
Module: PVSS_1
Panel: para\\PanelTopology\\templates\\TEMPLATE1\\basePanel_1600_1200_TEMPLATE1.pnl []
Script: Initialize
Line: 452, RECTANGLE2.fill [RECTANGLE], [pattern,[fit,any,LOGO_BASE_96.jpg]]


By using IE I don't have any of these errors :-/

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: [Webclient] Firefox issues with images

Post by mkoller »

What exactly do you find in the C:\\windows\\pvssInst.conf file as pvss_path ?
if it's the path to a local full installation then this is wrong. It must be the path to the local WebClient installation!
You probably have a mixture of 32bit and 64bit installation files.
E.g. your Windoze is 64bit but you run a 32bit firefox and the pvss_path points to the local full installation (which is 64 bit)
then the 32bit Webclient inside the 32bit firefox can not load the 64bit imageplugins which it finds in the 64bit full installation path

fabiorez
Posts:15
Joined: Thu Jul 25, 2013 3:08 pm

Re: [Webclient] Firefox issues with images

Post by fabiorez »

Unfortunately, it's not like that: in fact, I have the same problem on normal WinXP pcs without the full client.

The installation path is correct in both the Win registry and the pvssInst.conf, and the error of course is always the same :(

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: [Webclient] Firefox issues with images

Post by leoknipp »

Hello,

I've tested it and I can reproduce the problem.
The cause for the problem are the entries at the C:\\Windows\\pvssInst.conf-file.
The webclient installation is saved in this file with the following key when using the newest patch P027 for 3.11+SP1. If another patch level is installed the last part of the key has a different number

[Software\\ETM\\PVSS II\\3.11.1270]
InstallationDir = C:\\Siemens\\Automation\\WinCC_OA\\WebClient\\3.11\\

If the entry is changed as shown in the following lines it should work
[Software\\ETM\\PVSS II\\3.11]
InstallationDir = C:\\Siemens\\Automation\\WinCC_OA\\WebClient\\3.11\\

Can you please try if this solution can be used in your project.

The problem was reported to our development department. It will be analyzed and corrected in one of the upcoming summary patches for 3.11+SP1.

Best Regards
Leopold Knipp
Senior Support Specialist

fabiorez
Posts:15
Joined: Thu Jul 25, 2013 3:08 pm

Re: [Webclient] Firefox issues with images

Post by fabiorez »

Hi Leopold,
it works perfectly.
Many thanks to everybody for your precious support

Fabio

8 posts • Page 1 of 1