Jump to content

Luis Devis

uniGUI Subscriber
  • Posts

    45
  • Joined

  • Last visited

Posts posted by Luis Devis

  1. Hola , gracias por interesarte.

    Tengo una aplicación que funciona correctamente bajo Servidor nativo de Unigui.

    Quiero ejecutarla bajo APACHE 2.4 (32bits) y he realizado los cambios necesarios en el proyecto y en httpd.conf, dejando el resto de los fuentes sin tocar.

    La aplicación  se inicia pero directamente con un error

    An Exception has occured in application:

    Invalid filename

    Restart application

    Imposible averiguar de qué fichero me habla.
    Tampoco puedo debuggear porque cuando Delphi inicia APACHE este no arranca. Si lo hago de manera directa sí funciona el servicio (pero no la app)

    ¡¡¡ ¿ Puede alguien decirme qué puedo hacer ? !!!

    Gracias

  2. Sherzod

    Don`t know why but the Main form is created twice, I have the Mainform and a loginform.

    All the errors happen just after FormCreate has been processed, no other event but the message happens

    22:14:16.116|6|||[SERVER] Config Option: O100->plain:true<br/>is refering a previous request,<br/>it's not allowed in AJAX request or JS handler.<br/>Use equivalent Public Property or Method instead. unit:System.SysUtils

  3. I could if I know what to put in it 😅

    Currently I apply these settings

    pTitulo.JSInterface.JSCall('addCls', ['.myAlDerecha']);
    lMarchar.JSInterface.JSCall('addCls', ['.myAlAbajo']);
    Grid.JSInterface.JSConfig('bufferedRenderer', [False]);
    SaldoPdte.JSInterface.JSCall('addCls', ['unselectable']);
    bSaldoPdte.JSInterface.JSCall('addCls', ['borderedondo_5']);
    bSaldoPdte.JSInterface.JSAssign('originalBGColor', [uniColor2Web(color)]
    JSInterface.JSConfig('inputType', ['number']);

  4. Yes, but they should be called very time.

    Is there a way to know which object or call causes the error in this line?

    01:35:39.727||||[SERVER] Config Option: O310->cls:"unselectable"<br/>is refering a previous request,<br/>it's not allowed in AJAX request or JS handler.<br/>Use equivalent Public Property or Method instead. unit:System.SysUtils

     

    The matter is Why does it say is refering a previous request,? I got it at the very first moment 

  5. Hi (again 😅

    Ramdomly I get this message when running my application. 

    ... <br/>is refering a previous request,<br/>it's not allowed in AJAX request or JS handler.<br/>Use equivalent Public Property or Method instead.

    No idea why this happens and even less on how to solve it.
    I guess it is a common error for newbies like me so, please, don't ask me too technical questions as, probably, I will not be able to answer them.

    No idea on what I'm doing wrong (not having done)

    Thank so much for your help 🙂
     

     

     

  6. Hola, gracias por tu interés

    Por favor no me preguntéis si he instalado esto o lo otro , no me digáis si necesitáis mas datos, sólo quiero saber en qué circustancias aparece este error, porqué ocurre?

    <br/>is refering a previous request,<br/>it's not allowed in AJAX request or JS handler.<br/>Use equivalent Public Property or Method instead.

    Gracias de antemano por tu ayuda,muchas gracias

  7. Hi, thanks for reading.

    I'm new to hyperserver, using version 1.90.0.1560. It looks great but it is only able to crete one node, it fails when creating new ones.

    The log says  Either the node failed to creta or...

    COREMOBILEs_S.exe: 000039D8: 01:03:48 []:Started Pinging Node: 0
    COREMOBILEs_S.exe: 000039D8: 01:03:49 []:Creating Node: #1
    COREMOBILEs_S.exe: 000039D8: 01:03:49 [Attempting to Create]:"D:\aaPROGRAMAS DX\wCOREMOBILEs\Win32\Release\COREMOBILEws.exe" /node_id=1 /mode=node /port=16385
    COREMOBILEs_S.exe: 000039D8: 01:03:49 [New Node Created.]: Process Id: 22260
    COREMOBILEs_S.exe: 000039D8: 01:03:49 []:Started Pinging Node: 1
    COREMOBILEs_S.exe: 000039D8: 01:03:51 []:Ping Failed Node: 1 Retry: 0
    COREMOBILEs_S.exe: 000039D8: 01:03:53 []:Ping Failed Node: 1 Retry: 1
    COREMOBILEs_S.exe: 000039D8: 01:03:56 []:Ping Failed Node: 1 Retry: 2
    COREMOBILEs_S.exe: 000060B4: 01:03:58 []:Creating Node: #2
    COREMOBILEs_S.exe: 000060B4: 01:03:58 [Attempting to Create]:"D:\aaPROGRAMAS DX\wCOREMOBILEs\Win32\Release\COREMOBILEws.exe" /node_id=2 /mode=node /port=16386
    COREMOBILEs_S.exe: 000060B4: 01:03:58 [New Node Created.]: Process Id: 26008
    COREMOBILEs_S.exe: 000060B4: 01:03:58 []:Started Pinging Node: 2
    COREMOBILEs_S.exe: 000039D8: 01:03:59 []:Ping Failed Node: 1 Retry: 3
    COREMOBILEs_S.exe: 000060B4: 01:04:00 []:Ping Failed Node: 2 Retry: 0
    COREMOBILEs_S.exe: 000039D8: 01:04:01 []:Ping Failed Node: 1 Retry: 4
    COREMOBILEs_S.exe: 000060B4: 01:04:03 []:Ping Failed Node: 2 Retry: 1
    COREMOBILEs_S.exe: 000039D8: 01:04:04 []:Ping Failed Node: 1 Retry: 5
    COREMOBILEs_S.exe: 000060B4: 01:04:05 []:Ping Failed Node: 2 Retry: 2
    COREMOBILEs_S.exe: 000039D8: 01:04:06 []:Ping Failed Node: 1 Retry: 6

     

    Any idea on how can I resolve this ? or why is this happening?

  8. Hi, thanks for reading

    I've moved my app from StandAlone to a Windows Service. Everythings seems correct, I get the .exe and install it, I can see it in the services list but...
    It never starts!!!

    I get a message saying that "El servicio no está respondiendo a la función de control" -> "The service is not responding to the contro, function"
    Actually it says "Error 1053: The Service did not respond on time to the Init or control

    I gess it is something missing in the code of ServiceModule.pas but don't know what

     

  9. Hi everyone,

    I'm trying to use tIBSQLMONITOR with UNIGUI but it is not working.

    I mean, I can drop a tIBSQLMonitor control in my MainModule where the IBDatabase is set; I can set it enabled to true and code the event ONSQL  but.. the event never launches.

    Is there a way to dinamically capture the instrucctions sent by my app to the Interbase server ? (Firebird)

    Thanks ☺️

  10. Finalmente este es el resultado que me dieron, y funciona.
     

    Okay. Try this approach.

    1. 

    Uses ... , UniGUIJSUtils;

    2. 

    procedure TMainForm.UniFormCreate(Sender: TObject);
    begin
      with UniPanel1 do
        JSInterface.JSAssign('originalBGColor', [uniColor2Web(Color)]);
    end;

    3. UniPanel1 -> ClientEvents -> ExtEvents ->

    function mousedown(sender, x, y, eOpts)
    {
        sender.setBodyStyle('background-color', 'green');
    }
    
    function mouseup(sender, x, y, eOpts)
    {
        sender.setBodyStyle('background-color', sender.originalBGColor);
    }
  11. OK, no matter what kind of UNIGUI control I will use.

    I need a control that changes its colour (backcolor) when the event mouseon happens and returns to its original value when mouseup event happens.
    And... I want to do it via ClientEvents, if possible, not using the Delphi classic events. The idea is to improve navigators response speed.

×
×
  • Create New...