Welcome, Guest
Username: Password: Remember me

TOPIC: Web Echec

Web Echec 1 year 5 months ago #11799

  • Phil19
  • Phil19's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Karma: 0
Hello

indeed there is a lot more stuff in the console.

Thank's

Philippe

ge.js:22369 Nogdh: false
ge.js:51450 pwr_privilege 536674303
Compresseur.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
wago750.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
ge.js:19208 Uncaught DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state.
at GlowDraw.image (http://10.1.2.163/pwrp_web/ge.js:19208:15)
at GrowImage.tdraw (http://10.1.2.163/pwrp_web/ge.js:12413:20)
at GlowNodeClass.tdraw (http://10.1.2.163/pwrp_web/ge.js:5665:21)
at GrowNode.tdraw (http://10.1.2.163/pwrp_web/ge.js:6994:10)
........
Last Edit: 1 year 4 months ago by Phil19.
The administrator has disabled public write access.

Web Echec 1 year 5 months ago #11800

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3177
  • Thank you received: 502
  • Karma: 133
Compresseur.png and wago750.png is missing. They should be copied to $pwrp_web.

About the problem with not beeing able to create or modify WebGraph objects. Can you create or modify any object at all? Have you managed to enter edit mode? Do you get any question about locked database when you open the configurator?

/Claes
The administrator has disabled public write access.

Web Echec 1 year 5 months ago #11801

  • Phil19
  • Phil19's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Karma: 0
Bonjour Claes,

j'ai rajouter la copie des .png dans le dossier web.
J'ai un problème de droit à chaque Distribut. Je dois les modifier après un distribut sinon je n'ai pas l'autorisation d'accès au site.
J'obtient bien mon Graph mais le format date heure ne correspond pas à ce qui est défini et mon voyant de fonctionnement ne ressort pas.

J'ai essayé de faire un WebGraph test avec un voyant et une information associée, j'ai un écran noir sur le site. Mais il se sauvegarde bien sans soucis.

HMI PC Linux :
Pro.PNG


HMI Web :
Web.PNG


Merci

Philippe
Last Edit: 1 year 5 months ago by Phil19.
The administrator has disabled public write access.

Web Echec 1 year 5 months ago #11802

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3177
  • Thank you received: 502
  • Karma: 133
Bonjour Philippe,

When you use special characters the pwg-files have to be converted from ISO8859 to UTF8. One way of doing this is to create a BuildConvert object in the directory volume. In the example below all pwg-files in $pwrp_pop is converted and copied to $pwrp_web when the node is built.

utf8.png


/Claes
The administrator has disabled public write access.

Web Echec 1 year 5 months ago #11803

  • Phil19
  • Phil19's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Karma: 0
Hi Claes,

Capture_2022-11-24.PNG



The conversion works fine, thank you.
The date and time format is not taken into account.

Also, I can't view the hours of the lineup and those aren't taken into account if I try to edit them from the web.
Below are the comparison images.

Thank you again for your help.

PROVIEW :
Pro1.PNG


WEB :
Web1.PNG



Philippe
Last Edit: 1 year 4 months ago by Phil19.
The administrator has disabled public write access.

Web Echec 1 year 4 months ago #11805

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3177
  • Thank you received: 502
  • Karma: 133
Hi Philippe,

Right, the different time formats doesn't seems to be implemented yet. Times are always displayed with time and date.

I've also discovered a conversion of object names from UTF-8 to Latin1 in web subscriptions that only works for Swedish special characters. So values from objects with French special characters in the name will not be displayed in Web graphs. Maybe that can cause some of the problems?

/Claes
The administrator has disabled public write access.
The following user(s) said Thank You: Phil19
Time to create page: 9.062 seconds