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.
16
Web Server - Ask For Help / The connection was reset in some browsers
« on: February 28, 2020, 09:30:37 AM »
Hi,
In Firefox and Safari I am getting "The connection was reset" but in Chrome site is working ok.
This is quite consistent.
A low volume site, so in no way busy.
What could be at play here ?
This is NT 11.24.
Cheers
/Poul
In Firefox and Safari I am getting "The connection was reset" but in Chrome site is working ok.
This is quite consistent.
A low volume site, so in no way busy.
What could be at play here ?
This is NT 11.24.
Cheers
/Poul
17
Web Server - Ask For Help / NT Desktop showning position using GPS mouse
« on: January 08, 2020, 12:11:46 PM »
Hi,
I need to make an NT Desktop app that shows the users own position on the map in realtime using a GPS mouse to supply position.
Anybody done that that has any info to share on how to approach this job ?
This is to be used on a ferry to broadcast a map to TV-screens in the passenger area.
tia
/Poul
I need to make an NT Desktop app that shows the users own position on the map in realtime using a GPS mouse to supply position.
Anybody done that that has any info to share on how to approach this job ?
This is to be used on a ferry to broadcast a map to TV-screens in the passenger area.
tia
/Poul
18
Web Server - Ask For Help / How to filter Export to Excel file
« on: September 14, 2019, 09:40:38 PM »
Hi,
In my browse I often use below CASE to validate records in embed:
3 Inside Browse Loop --> 1 Validate Record.
CASE p_web.GSV('VareFiltrer')
OF 0
IF ~INSTRING(l:RestsalgTegn, APPvar:Varetekst, 1)
CYCLE
END
OF 1
IF ~INSTRING('GAVE', UPPER(APPvar:Varenummer), 1)
CYCLE
END
END
But same code (with EXIT instead of CYCLE) does not work in embed:
06 Start of "ExportToExcel routine ValidateRecord"
How to do this ?
Cheers
/Poul
In my browse I often use below CASE to validate records in embed:
3 Inside Browse Loop --> 1 Validate Record.
CASE p_web.GSV('VareFiltrer')
OF 0
IF ~INSTRING(l:RestsalgTegn, APPvar:Varetekst, 1)
CYCLE
END
OF 1
IF ~INSTRING('GAVE', UPPER(APPvar:Varenummer), 1)
CYCLE
END
END
But same code (with EXIT instead of CYCLE) does not work in embed:
06 Start of "ExportToExcel routine ValidateRecord"
How to do this ?
Cheers
/Poul
19
Web Server - Ask For Help / Read clients lat/lon
« on: September 10, 2019, 06:35:14 AM »
Hi,
Can I read a clients lat/lon from his browser like Google does ?
Realise this probably needs javascript of which I know very little :-)
https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation
I guess I would place this somewhere in my login-procedure, but how do I get the lat lon from the javascript function and plug it into my sessionvariable ?
Cheers
/Poul
Can I read a clients lat/lon from his browser like Google does ?
Realise this probably needs javascript of which I know very little :-)
https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation
I guess I would place this somewhere in my login-procedure, but how do I get the lat lon from the javascript function and plug it into my sessionvariable ?
Cheers
/Poul
20
Web Server - Ask For Help / Getting stats from NT server in service mode
« on: September 03, 2019, 03:43:55 AM »
Hi,
How can I get the running performance figures from a server running as a service ?
How do you record number of unique daily users ?
Cheers
/Poul
How can I get the running performance figures from a server running as a service ?
How do you record number of unique daily users ?
Cheers
/Poul
21
Web Server - Ask For Help / Top level menuitems does not work
« on: August 06, 2019, 07:03:47 AM »
Hi,
After upgrading from NT 11.13 to NT 11.17 my top level menuitems have no effect, but has this URL: http://localhost:88/#
Items on submenus works OK.
Checked the NT Web Menu Extension and all settings looks OK.
I have regenerated all source and ran copyall.bat and gzipall.bat but no luck.
Reverting to NT 11.13 and all is good again.
C11.13401, base theme.
Any suggestions ?
Cheers
/Poul
After upgrading from NT 11.13 to NT 11.17 my top level menuitems have no effect, but has this URL: http://localhost:88/#
Items on submenus works OK.
Checked the NT Web Menu Extension and all settings looks OK.
I have regenerated all source and ran copyall.bat and gzipall.bat but no luck.
Reverting to NT 11.13 and all is good again.
C11.13401, base theme.
Any suggestions ?
Cheers
/Poul
22
Web Server - Ask For Help / Browse will not page properly
« on: May 30, 2019, 03:35:03 AM »
Hi,
I have a bog-standard browse that will not refresh when I hit any of the nav-buttons (first-prev-next-last), but instead the page turns grey.
If I hit F5 the correct page refreshes.
In the console I get this error:
XML Parsing Error: mismatched tag. Expected: </th>.
Which is rubbish. In the page source line 22 is in the pageheadertag:
<!-- PageHeaderTag -->
<div id="pageheadertag_div" class="nt-site-header-6 ui-widget-header ui-corner-top" data-role="header">
<div class="nt-left nt-site-header-logo"><a href="../IndexPage"><figure><img src="images/logo_macy.jpg" data-image="d3pjan8a1fc1"</figure></a></div>
<div class="if-not-small">
<h1>Mac Y - Kundeportal</h1> <<<<< This is line 22
</div>
<div class="if-small">
<h2>Mac Y - Kundeportal</h2>
</div>
<strong>Sælger: MariSoft /</strong>
<!-- Double Drop Menu -->
What could be wrong here?
Cheers
/Poul
I have a bog-standard browse that will not refresh when I hit any of the nav-buttons (first-prev-next-last), but instead the page turns grey.
If I hit F5 the correct page refreshes.
In the console I get this error:
XML Parsing Error: mismatched tag. Expected: </th>.
Which is rubbish. In the page source line 22 is in the pageheadertag:
<!-- PageHeaderTag -->
<div id="pageheadertag_div" class="nt-site-header-6 ui-widget-header ui-corner-top" data-role="header">
<div class="nt-left nt-site-header-logo"><a href="../IndexPage"><figure><img src="images/logo_macy.jpg" data-image="d3pjan8a1fc1"</figure></a></div>
<div class="if-not-small">
<h1>Mac Y - Kundeportal</h1> <<<<< This is line 22
</div>
<div class="if-small">
<h2>Mac Y - Kundeportal</h2>
</div>
<strong>Sælger: MariSoft /</strong>
<!-- Double Drop Menu -->
What could be wrong here?
Cheers
/Poul
23
Web Server - Ask For Help / Conditional show message when saving record
« on: April 17, 2019, 01:32:58 AM »
Hi,
When I save a record I would like conditionally to show a message.
In the embed Complete Form / 3 End I do some processing and after that I would like to show a pop-up message.
It could also be in embed End of Procedure / After Closing Files.
How to do this ?
Cheers
/Poul
When I save a record I would like conditionally to show a message.
In the embed Complete Form / 3 End I do some processing and after that I would like to show a pop-up message.
It could also be in embed End of Procedure / After Closing Files.
How to do this ?
Cheers
/Poul
24
Web Server - Ask For Help / Omit a column in Excel export
« on: April 15, 2019, 12:04:47 PM »
Hi,
I would like to omit a column from the export to Excel (XML) format.
How would I go about that ?
Cheers
/Poul
I would like to omit a column from the export to Excel (XML) format.
How would I go about that ?
Cheers
/Poul
25
Web Server - Ask For Help / Mobile menu partly hidden
« on: March 25, 2019, 01:42:14 AM »
Hi,
When I from a form select the menu this is are partly shown behind the form.
Using theme MetroOrange.
See attached.
Cheers
/Poul
When I from a form select the menu this is are partly shown behind the form.
Using theme MetroOrange.
See attached.
Cheers
/Poul
26
Web Server - Ask For Help / What themes to use
« on: March 21, 2019, 10:47:05 PM »
Good morning,
I know that 'base' is the most used (and most up to date?) theme but which of the other ones is updated to 'div' use ?
Cheers
/Poul
I know that 'base' is the most used (and most up to date?) theme but which of the other ones is updated to 'div' use ?
Cheers
/Poul
27
Web Server - Ask For Help / Error in site javascript
« on: March 18, 2019, 03:20:54 AM »
Hi,
I am getting this error on opening all screens: Error in site javascript
I have removed my custom.css to rule that out and also tried two different themes but still the same.
What should I look for ?
Cheers
/Poul
I am getting this error on opening all screens: Error in site javascript
I have removed my custom.css to rule that out and also tried two different themes but still the same.
What should I look for ?
Cheers
/Poul
28
Web Server - Ask For Help / Browse freezes when clicking "Next"
« on: March 17, 2019, 12:07:38 PM »
Hi,
On one browse in a NT 11 app the browse freezes (turns grey) when I click the "Next" or any other navigations button.
I also notice, that I cannot click any of the headers to sort on another column.
What could be wrong here ?
Cheers
/Poul
On one browse in a NT 11 app the browse freezes (turns grey) when I click the "Next" or any other navigations button.
I also notice, that I cannot click any of the headers to sort on another column.
What could be wrong here ?
Cheers
/Poul
29
Web Server - Ask For Help / Form layout & procedure call problems
« on: March 13, 2019, 01:20:23 AM »
Hi,
See attached pic with 3 issues:
1) How do I get rid of the tab. I have removed the "General" but it still shows.
2) How do I properly align the second columns fields similar to first column.
3) On a button / OnClick tab I call a source procedure with a parameter. Clicking this gives a 404 error:
Generated URL (looks OK): http://localhost:88/KoebeVare?UY9JW16LOIXWZ4CL
Debugview:
[st] [netTalk][thread=3] SendError = 404 The page cannot be found : The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. FileRequest=[KoebeVare]
From the logwindow:
GET /KoebeVare?UY9JW16LOIXWZ4CL HTTP/1.1
Host: localhost:88
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer: http://localhost:88/UpdateAPPvarer
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,da;q=0.8
Cookie: SESSIONIDX=BXNiHdM0D1F0zMCD9l3isODFL3FDEM
What am I missing her.
tia
/Poul
See attached pic with 3 issues:
1) How do I get rid of the tab. I have removed the "General" but it still shows.
2) How do I properly align the second columns fields similar to first column.
3) On a button / OnClick tab I call a source procedure with a parameter. Clicking this gives a 404 error:
Generated URL (looks OK): http://localhost:88/KoebeVare?UY9JW16LOIXWZ4CL
Debugview:
[st] [netTalk][thread=3] SendError = 404 The page cannot be found : The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. FileRequest=[KoebeVare]
From the logwindow:
GET /KoebeVare?UY9JW16LOIXWZ4CL HTTP/1.1
Host: localhost:88
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer: http://localhost:88/UpdateAPPvarer
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,da;q=0.8
Cookie: SESSIONIDX=BXNiHdM0D1F0zMCD9l3isODFL3FDEM
What am I missing her.
tia
/Poul
30
Web Server - Ask For Help / Example login / register / reset password
« on: February 24, 2019, 04:16:30 AM »
Hi,
Does one of the NT11 examples show a more advanced (or should I say standard these days) login where the user can either login, register or request a reset of password.
Particularly one that support salted, hashed password.
tia
/Poul
PS: Feature request - it would be nice if the NT wizard could generate this functionality.
Does one of the NT11 examples show a more advanced (or should I say standard these days) login where the user can either login, register or request a reset of password.
Particularly one that support salted, hashed password.
tia
/Poul
PS: Feature request - it would be nice if the NT wizard could generate this functionality.