NetTalk Central

Recent Posts

Pages: [1] 2 3 ... 10
1
Thank You.
But How do I fix it I call "sesiro.cloudcover.insure" in my code (p_web.RequestHost) do I have to explicitly call "https://" in front to fix it.
2
Web Server - Ask For Help / Re: Gettinng Session Theme - get the default theme
« Last post by Jane on June 29, 2025, 11:10:24 AM »
The Themer example has code in the PageHeader xml to display the *current* theme using <!-- Net:s:_theme_ -->

But to get the default, you could try using  p_web.WebServer._SitesQueue.Defaults.DefaultTheme
   
3
Web Server - Ask For Help / Gettinng Session Theme - get the default theme
« Last post by rjolda on June 29, 2025, 03:48:33 AM »
Hi
NT14.21  C11 ABC
I have my site default theme set as 'shoestrap3' and it is saved in:   s_web._SitesQueue.Defaults.DefaultTheme = set:Theme
How can I get this value so that I can display it on a page?   
This does NOT WORK......message('theme is : ' & s_web._SitesQueue.Defaults.DefaultTheme )
Tried several variations but not successful.
So, How can I get the value of:   s_web._SitesQueue.Defaults.DefaultTheme
Thanks,
Ron
5
NET ERROR: Attempt to Redirect from HTTP to HTTPS - correct the URL [http://sesiro.cloudcover.insure/apiTotalPolicyRecalc] to [https://sesiro.cloudcover.insure/apiTotalPolicyRecalc]
I am getting the above error when I upgraded my nettalk from nettalk 11 to nettalk 14
I am doing a get to a url "sesiro.cloudcover.insure"  ie. from my nettalk 14 app to my nettalk 14 app.
It worked in Nettalk 11 without a https:// prefix.
Is there a setting or new DLL I missed for Nettalk 14 ? 
6
Web Server - Ask For Help / WSDL Error 1 Duplicate queue name. ServiceErrorQueue
« Last post by MikeR on June 23, 2025, 10:45:50 AM »
I get this when I click on WSDL Button. 
7
Web Server - Ask For Help / Re: WebServer Logging to Disk issue
« Last post by kboller on June 18, 2025, 05:21:28 AM »
Thanks Ron. 

I like the DebugView idea as with that error I'm just trying to "buy a vowel" at this point.  I'm not doing anything wild and crazy that I know of.   

The only commonality is it seems to occur when there have been a lot of gps lookups and a call to google maps may be occurring.  I did find where if the user wasn't allowing access to their location it would pass 0,0 to google maps as the from location and google maps would fail.  I did substitute the Company location under that condition which made google maps happy and google errors have gone away.

Thanks,

Kurt
8
Web Server - Ask For Help / Re: WebServer Logging to Disk issue
« Last post by rjolda on June 16, 2025, 11:40:43 AM »
Hi Kurt,
 "memory freed twice error"   - ooooh. I work hard to avoid these.... 
I am not sure how logging is going to help with that.  I am reaching way back - that may occur when an object is instantiated and Killed too many times??? I think I used to see this with apps having DLLs also.  So, I would look at any objects that you create and look at how and why they are disposed of.  Capesoft has GUTS - not sure if it works with Net Talk but I don't see why not. 
If i was going to look at this I might put a trace statement in each "procedure" maybe at starting and ending of each procedure.  have Debugview to capture and look at them and if you follow them, the traces should end when the program crashes.  This might help you reconstruct the process and then focus your trace statements to the actual procedure and events causing the crash. 
Some folks look for clues in the CRASH report.  May be of some use.
Ron

 

9
Web Server - Ask For Help / Re: WebServer Logging to Disk issue
« Last post by kboller on June 16, 2025, 06:39:28 AM »
Thanks for the help Alberto and Ron.

I updated my code to look for an error after the insert however it was error free so I then added open and close statements with no success.

      !Before add to Log Que
      If web:EnableLogging = 2 
        glo:st.Trace('*** Adding Log Record')
        Access:WebLogFile.Open()
        Clear(WebLogFile:Record)
        Log:Line = format(Today(),@D3)&format(Clock(),@T3)&' -- '&clip(p_Data)&','&p_ip   
        Access:WebLogFile.Insert()
        IF ERRORCODE() then glo:st.Trace('*** Write error -' &ERROR()).     
        Access:WebLogFile.Close()
      end

Ron, I'm trying to track down a "memory freed twice error" so I"m trying to capture all the log entries up to the time the program crashes. 


I've even moved it to different embed points within the ThisWebServer.AddLog PROCEDURE but it doesn't seem to matter.  I see the trace statements but no log activity is being written.


Thanks,

Kurt
10
Web Server - Ask For Help / Re: sending SMS via GSM Modem
« Last post by Bruce on June 14, 2025, 11:15:58 PM »
more likely you'll use the WinEvent Serial Port functions.
It all depends on your SMS modem, and how it connects to the PC.

Cheers
Bruce
Pages: [1] 2 3 ... 10