NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Matthew

Pages: 1 [2] 3 4 ... 10
16
Web Server - Ask For Help / Re: Exception occurred at address 058AB434
« on: November 04, 2013, 12:34:25 AM »
I found the line (in debug view - last entries) where the exception occurs.

EXCEPTION FROM CLARION:

Exception occurred at address 05E3B434
Exception code C0000005: Access Violation
Process PID=5892  Image: C:\Cw8\App\eMik\eMikDost.exe
Thread 1  Handle=00000138  TID=8980

Exception parameters:
00000000
000001A0

EAX=00000001    EBX=0000000D    ECX=00000000    EDX=0018F888
ESI=05FC0438    EDI=00C0C6F0    EBP=0018FA8C    ESP=0018FA68
EIP=05E3B434    FLG=00010202

Call Stack:
05E3B434
130256C8  netdl017.clw:5230 - SIMPLECLOSESOCKET(LONG,LONG,LONG,LONG)
1302D017  netdl017.clw:2336 - SIMPLESERVERCONNECTIONCLOSE(LONG,LONG,LONG)
13024C1E  netdl016.clw:184 - NetSimpleClose
01201469
012038B2
01258373
0049078C  eMikDost001.clw:6285 - THISWINDOW.TAKEEVENT
01163AFD
01163384

FROM DEBUG VIEW (last few):

[5892] [NetDLL] [1] NetSimpleReceive() : 4 of 4 of qSimpleInData  OnSocket = 2608 SockID = 1460 PacketType = 9 ServerPort = 443 ServerOnSocket = 1768 ServerSockID = 1
[5892] [Net] [1] NetSimple.TakeEvent - (Server Mode) Received a message. PacketType = 9 _DebugPacketNumber = 4467 Mode = 1
[5892] [Net] [1] NetSimple.TakeEvent - Received a Idle Connection packet : Connection has been Inactive. On Socket = 2464 SockID = 1138
[5892] [Net] [1] NetWebServer.Process - Idle incoming connection will be closed. SockID = 1138
[5892] [Net] [1] NetWebServer.AbortServerConnection - AbortServerConnection
[5892] [Net] [1] NetWebServer.AbortServerConnection - Error. Could not find data connection in the DataConnection queue
[5892] [Net] [1] NetSimple.AbortServerConnection - Aborting (Immediately Closing) Server Connection on Socket = 2464 SockID = 1138 Originally Connected to Listening Port = 443
[5892] [NetDLL] [1] SimpleServerConnectionClose - Abort() : Aborting Server Socket Connection. Closing socket 2464 SockID = 1138
[5892] [NetDLL] [1] lookupSimpleServerConnection() : IP = 0.0.0.0 Socket = 2464 SockID = 1138
[5892] [NetDLL] [1] SimpleCloseSocket - Abort() : Calling SetSockOpt. Linger = 0 0
[5892] [NetDLL] [1] SSL_Our_Close() : Before SSL_Shutdown 100402232 - THIS IS THE LINE WHICH THROW THE EXCEPTION AND CLOSE WEBSERVER.

In normal situation after this line there are the following:
[5892] [NetDLL] [2] SSL_Our_Close() : Before SSL_Shutdown 100117256
[5892] [NetDLL] [2] SSL_Our_Close() : Result (SSL_Shutdown) = 0
[5892] [NetDLL] [2] SSL_Our_Close() : Before SSL_Free 100117256
[5892] [NetDLL] [2] SSL_Our_Close() : After SSL_Free

Bruce can You help?

Regards,
Matthew

17
Web Server - Ask For Help / Re: Exception occurred at address 058AB434
« on: October 31, 2013, 04:35:03 AM »
I upgraded NetTalk to version 7.28 and problem is still the same.

But:
I discovered that if I run webserver on the other machine and I browse my website in firefox from another machine then probably there is no exception and website works fine (at least in my situation).

So I don't know why such a problem occurs when I run webserver and webbrowser on the same machine.

Regards,
Matthew

18
Web Server - Ask For Help / Exception occurred at address 058AB434
« on: October 30, 2013, 04:35:56 AM »
Hello.

My NetTalk: 7.10
My Clarion: 8

I have following problem:

1. My webpage is based on frames (top frame - header. left frame - menu, bottom frame - footer, middle frame - data).
2. After Clicking menu option in the left frame it open webpage in the middle frame.
3. So when I start clicking really fast for testing (for example in firefox) after some time:
        - web server stopped responding and website is hanging up
          or
        - web server give following exception:

Exception occurred at address 058AB434
Exception code C0000005: Access Violation
Process PID=27192  Image: ...
Thread 1  Handle=00000130  TID=4652

Exception parameters:
00000000
000001A0

EAX=00000001    EBX=0000000D    ECX=00000000    EDX=0018F898
ESI=05FE0D70    EDI=00B67300    EBP=0018FA9C    ESP=0018FA78
EIP=058AB434    FLG=00010202

Call Stack:
058AB434
130256C8  netdl017.clw:5230 - SIMPLECLOSESOCKET(LONG,LONG,LONG,LONG)
1302D017  netdl017.clw:2336 - SIMPLESERVERCONNECTIONCLOSE(LONG,LONG,LONG)
13024C1E  netdl016.clw:184 - NetSimpleClose
01310D49
01313192
0136386B
0048EBA6
01273AF5
0127337C

Could anyone help?

Why webpage is hanging up when there is no exception?

Why there is exception sometimes which close the web server?

It seems that this exception applies to functions: SIMPLECLOSESOCKET

Regards,
Matthew

19
Web Server - Ask For Help / Question about MoxieManager for TinyMCE
« on: October 10, 2013, 02:55:18 AM »
Hello

Does anyone use "MoxieManager for PHP" plugin with TinyMCE?

I wonder if this plugin will be work with TinyMCE in NetTalk web server, because it is for PHP.

Example of that plugin: http://www.moxiemanager.com/demos/tinymce.php

Maybe someone is using something similar to manage files on server?

Thanks for any answers, advices, etc.

Regards,
Matthew

20
Web Server - Ask For Help / Re: Hiding Redactor Menus
« on: August 28, 2013, 12:32:42 AM »
Try this:

In the
p_web.RedactorInit PROCEDURE(String p_FieldId,Long p_Flags=0,<string p_manual>)
declare variable:
loc:options  string(Net:MaxBinData)

And before
ReturnValue = PARENT.RedactorInit(p_FieldId,p_Flags,p_manual)
put:
 loc:options = clip(p_manual) & ', buttons: [''formatting'', ''bold'', ''italic'', ''deleted'', ''underline'',''|'', ' &|
                                 '''unorderedlist'', ''orderedlist'', ''outdent'', ''indent'', ''|'', ' &|
                                 '''table'', ''|'', ' &|
                                 '''fontcolor'', ''backcolor'', ''|'', ' &|
                                 '''alignment'', ''|'', ' &|
                                 '''horizontalrule'']'
  ReturnValue = PARENT.RedactorInit(p_FieldId,p_Flags,loc:options)
  RETURN ReturnValue

You can remove or add buttons as You like - names of buttons You can find at http://imperavi.com/redactor/docs/settings/

Regards,
Matthew

21
The Rest - Ask For Help / NetSimple - PING command
« on: July 07, 2013, 11:35:01 PM »
Hello

I have some question about Ping command.

I have NetSimle object and I am using Ping command and then I am checking the return value. If ping was succesfull return 0.

When I take out the ethernet cable then for a while I have error "Request timed out" (in command line Windows ) and ping (NetSimple) returns the correct value (not 0).

But after some time I have error "Reply from 10.0.100.134: Destination host unreachable" (in command line Windows) so there is no conenction, but ping (NetSimple) return 0.

1. Why NetSimple PING return 0 if "Destination host unreachable"?
2. Is it a bug?

Regards,
Matthew

22

Yes, I have controling both ends.

All websites written using NetTalk 7.10

Regards,
Matthew

23
Hello

I have some questions about encryption parameters.

1. Does NetTalk contain the encryption parameters function or something like that?
2. Is it possible to add this functionality in future release?

Example:
1. I would like to pass 2 parameters from one site to another.
2. I create link using p_web.CreateHyperlink function for example: p_web.CreateHyperlink('Go to the shop', 'myshopsite?login=mylogin&pass=123')
3. In myshopsite I have read parameters and store them into the SessionValues.
4. It would be very nicely if p_web.CreateHyperlink function would have option to encryption every parameter and maybe every name of the parameter, so hyperlink could looks like:
  myshopsite?login=hfw7583983gvf465&pass=jgjsdfjkg773hk634jyjjg
5. Then some function in myshopsite procedure could decrypt those parameters.

Does NetTalk has such a functionality or if not how can I simply do it myself?

Regards,
Matthew

24
Web Server - Ask For Help / Re: ReConnect to MSSQL DataBase
« on: June 23, 2013, 11:45:49 PM »
Thank You Kevin for your answer.

I forgot to write that I am not using NetWebServer class, but NetServer and I have all the time one thread.

I run my EXE program which connect at startup to dababase and in timer event I do something operations. So how can I check if my connection to the SQL DataBase is still active and if not trying to connect again.

If I use again procedure SQL_Connect where I set FM3GLO:Connected = FALSE to trying connect againt it throw mi STOP MESSAGE and  program is terminated (attachement).

Anyone know how to checking connection to database and reconnect if necessary without close and run again application?

Regards,
Matthew

25
Web Server - Ask For Help / ReConnect to MSSQL DataBase
« on: June 21, 2013, 04:18:42 AM »
Hello.

I am using FM3 v. 5.09

I have some problem with connection to SQL DataBase.

1. I have single EXE program which checks in timer EVENT if some file exists in some folder on local disk and if exists then read this file and put data from this file to some database.
2. This program is connecting to DataBase on startup using FM3 SQL_Connect.
3. This program is on different physical machine than SQL DataBase.

1. How can I connect again to my DataBase without restart EXE program. when suddenly SQL Server stop working for a while and then start again (for example there is reboot system)?
2. How can I check if my connection to the SQL DataBase is still active (in timer EVENT)?

-------------------------------------------------------------------------------------------------------------------
When I try to run again SQL_Connet procedure I have STOP MESSAGE when SQL Server is still unattainable and then program is terminated - see attachmenet.

Regards,
Matthew

[attachment deleted by admin]

26
Web Server - Ask For Help / _SendFile in WebHandler
« on: March 28, 2013, 05:11:20 AM »
Hello

I need some help.

How can I prevent sending some file by server?

For example:

I click on my website download file. File path: uploads/Private/test.pdf

In previous NetTalk I could stop sending the file by server in _SendFile procedure in WebHandler. Before ParentCall I checked if the file was from "uploads/Private" folder. If yes then I put RETURN and server didn't send file.

In NetTalk 7.07 this is not working.

So how can I prevent sending some file by server?

Regards,
Matthew

27
Web Server - Ask For Help / Options for Redactor doesn't work
« on: March 25, 2013, 02:25:54 AM »
Hello

NetTalk:   7.07
Clarion:    8.9759

There is some problem with setting options for Redactor.

I try for example:
    loc:options = p_web.SetOption(loc:options,'source','false') in ! Start of "After Value" embed
to hide source button and it doesn't work.

Is this a bug?
How can I sets options for Redactor?

BTW: Bruce, Are You planning to update Redactor to version 8.2.4?

Regards,
Matthew


28
Web Server - Ask For Help / Re: Compile error in 7.07 NetSMPP.clw
« on: March 21, 2013, 11:16:58 PM »
Confirm.

I have the same compile error and also hav StringTheory in Global Extension.

Regards,
Matthew

29
Web Server - Ask For Help / Re: Redactor Not Showing
« on: March 15, 2013, 06:14:48 AM »
Hello

Here is similar post:
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=4299.0

There is information from Bruce why redactor doesn't show up.

Regards,
Matthew

30
Web Server - Ask For Help / Redactor oesn't work in NetTalk 7.06
« on: March 06, 2013, 01:35:25 AM »
Hello Bruce

My Clarion version: 9759
My NetTalk version: 7.06

After upgrade NetTalk from 7.05 to 7.06 Redactor stop working (doesn't show up).

I also checked it in Your example number 36 (HTMLEditor) - the same effect.

Regards,
Matthew

Pages: 1 [2] 3 4 ... 10