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.


Topics - Stu

Pages: [1] 2 3 ... 5
1
Hi Everyone/Bruce,

Got a strange one that is pretty wierd, cant work it out yet.

Since Sept 12 between 12am and 12:10am my public site webserver will stop serving (Uptime Robot pings me), although the exe service is still running when I go in to restart.

The build on Sept 11 didn't have anything dramatic in changes to the public site or dlls. And it wasn't the Nettalk 10 update (10.06) that came out on Sept 11 because I've only just upgraded to that this week.

To try and understand what is going on, I put a Debug() log into the ProcessLink embed for times >= 11:40pm and <= 12:20am.

These logs show activity right up until 12am on the dot, then one single entry for 12am and that's it. Nothing else from then until I restart the server.

Any ideas how I might carry on trouble-shooting this one?

2
E-Mail - Ask For Help / Outlook changing charset <meta> tag? How to stop?
« on: February 21, 2017, 01:03:19 PM »
Hi Bruce/Folks,

Have got a bit of a thing.

Users were noticing that some characters were coming up in emails as question marks. Now, a while back I changed everything (in the webserver, as well as in emails etc) to be UTF-8. And this works great.

But. Still we get an html email that might have one of the those long dashes, and on some email clients (Outlook for sure) it displays as three question marks.

So I went investigating.

And what I found, so far, was that Outlook seems to change the charset <meta> tag in the email.

--

The system creates an html email and sends it out with a <meta> charset=utf-8 tag (first screenshot).

When Outlook opens the email, it changes the charset <meta> tag to us-ascii (second screenshot).

--

1. Is there any way to stop Outlook from changing this? (have googled, but couldn't find anything that helps with this, but might not be looking for the right thing)

If I can stop it, then I can rule this out. If the question marks keep popping up, then I'll know it was something different.


Thanks for any help!

3
Web Server - Ask For Help / Nettalk 9.19, change to MakeErrorPacket?
« on: February 09, 2017, 03:47:59 PM »
Hi Bruce/Folks,

Was on 9.16 before upgrading, so this may have happened in 17, 18 or 19.

My embed for making a custom 404 page was orphaned after the upgrade.

Can't find anything in the version history docs (although that could be me missing something) on it.

Was there a change, or did something wierd go on my end?

Have put it back to the MakeErrorPacket embed and going on okay.

4
Hi Folks,

Have discovered that for basic html, vTip works fine in Firefox but doesn't display (or get loaded?) in Chrome or IE.

[edit] Am running the latest versions of all browsers.

Attached are the pics showing what happens.

It looks like Chrome and IE aren't recognising that the jquery plugin exists.

Am doing more testing, but figured I'd ask here also.

Any thoughts?

5
Web Server - Ask For Help / How to do a 301 Redirect from "www" to "root"?
« on: December 07, 2016, 02:52:24 PM »
Hi Bruce/Folks,

Specific question (arising out of another post below).

What's the best way to do a 301 Redirect for "www" urls pushing them to the "root" (non-www) urls?

(https://support.google.com/webmasters/answer/93633)

I've gone through the webhandler embeds that I do use for redirecting and doing lots of magic stuff. But am not sure of the right place to be able to adjust the "www".

Cheers.

6
Hi Bruce/Folks,

Our new website http://sandersnoonan.com.au is running on nettalk but heavily stripped down and rebuilt.

None of the nettalk css or javascript files are used.

So when I flag in the NetWebServer settings for the "keep-alive" setting to be used, and run a test on it (https://www.giftofspeed.com/check-keep-alive/index.php?url=http%3A%2F%2Fsandersnoonan.com.au), it's not on.

Figures that it's part of the files I've stripped out.

So my question is: How can I manually set the "keep-alive" setting for the webserver?

7
Hi Bruce/Folks,

Here's the situation.

I've got all internal links (images, css, scripts) in my site pointing to fully qualified urls, rather than relative.

I did this because I have a lot of redirect logic going on, and found that if I didn't do this the urls were the original url + the relative path.

There might be a better way around this problem, sure. If there is, Bruce, be gentle.

However, there comes a problem with this.

Depending on whether or not you use "www" or the root non-www url to get to the site, the css url('<relative path>') calls mean that images/icons won't show.

To get a visual on this, visit 1) http://sandersnoonan.com.au - working great!, then visit 2) http://www.sandersnoonan.com.au - the little icons (css url('') relative folders) aren't showing.

[Edit: You'll want to visit those urls in separate incognito browser tabs, as if you visit them one after the other the icons work okay]

So the relative paths in the css will have http://www.sandersnoonan.com.au added on, and I'm guessing? that this stops things from working?

Really not sure what's happening here, but am guessing it'll be a simple enough solve.

This stack is interesting (http://stackoverflow.com/questions/940451/using-relative-url-in-css-file-what-location-is-it-relative-to). The W3 rules are that the relative url in a stylesheet is relative to the documents folder. So why does "www" / non-www make a difference?

Cheers.

8
So I've done a bit more investigation into this. The form has Send Stage To Debug ticked.

Took an example of the save button working and one not working, and compared the debugview output.

The difference, as follows, seems to be the 'stageVALIDATE' and the 'StagePost' do not get run when the save button doesn't work.

Code: [Select]
START p_stage=[2050 net:web:StageVALIDATE net:web:Change] Event=
END p_stage=2050 net:web:StageVALIDATE net:web:Change Event=
START p_stage=[4098 net:web:StagePOST net:web:Change] Event=
END p_stage=4098 net:web:StagePOST net:web:Change Event=

Bruce - Can you think of any reason why the Validate/Post stages wouldn't get run?

Could it have something to do with the form/save button info being overridden somehow, maybe by stuff in popup or child browse/form functionality?

9
Hi Folks,

I'm trying to track down a particularly nasty issue, that could be multiple issues, that is occurring live and as of yet I haven't been able to solve it.

Basically, it's this.

1. User is in the webserver interface, adding information via netwebforms, saving information. Some of the forms are complex, some are simple.
2. Multiple offices, in different physical locations, accessing the webserver.
3. The user will be, for example, adding/updating Person information.
4. The user will add a few Person records, and update a couple.
5. Then, for the unknown reason, the user will have a Person record open (either Insert or Change), and the Save button won't work. The Cancel button won't work.
6. After clicking on the X button and refreshing the browser, the user will try again with the same information / Person record.
7. Sometimes they will try once and it will work okay, sometimes a few times.
8. And sometimes, they let me know, and I log into the webserver and have a look.
9. On occasion I've been able to replicate the issue, once, and then try again and it does work for me. Other times it's worked for me straight away.

Thoughts:
* My initial thought was that this might have something to do with an XHTML issue, where there is some custom html somewhere on the form, causing problems. But if that's the case, then I'm not smart enough to understand why with the same entity/information, it will sometimes work and sometimes not.

Does anyone have any idea what this might be, or various troubleshooting actions I could take to try and track down what might be happening.

And Bruce, if you're here .. Be gentle. I'm still sore after the shelacking our 7s rugby team got from some mob over your way.

10
Hi Folks,

Nettalk 9 (latest)
Clarion 10 (11975)
MSSQL driver

Am experiencing the following issue:

A parent and child browse, where the parent has a checkbox EIP field (local variable). When the user clicks on the checkbox in the parent browse (and does nothing else, doesn't click on the row itself except for the checkbox) the child browse disappears.

Clicking on the row (not the checkbox) will bring the child browse back.

First things - I can't replicate this in an example (tried Accounts). The process works fine with the Accounts example.

So it might, possibly, be an MSSQL thing. Not sure yet.

Testing further, I turned on the debug options for both the browses. The two browse names are w_InvoiceLoads_Browse and w_InvoiceLoads_Items_Browse.

First attachment image is the debug log for when the checkbox is ticked.

Second image is the debug log for when the row is clicked.

There is the obvious difference of the EIPAccepted call, but there's also a (ParentSilent=1) log. Might be something.

Any ideas what might be happening?

11
Hi Bruce/Folks,

At the moment I'm currently wrangling with File Explorer 5, getting it/IE to run a custom built html page which has some javascript in it.

Basically it's a graphing engine, javascript, and I'm trying to get the graphs saved to disk programatically by running the code and calling the built-in save function.

Was thinking that perhaps ..

1. In the webhandler of a webserver, if the "download graph image" url is called with whatever credential checks, then potentially (like downloading a custom-built pdf) I could get the server to send back an image, that I could use in a NetWebClient object by calling .Fetch() and seeing how that goes.

What thinkest thou(s)?

Stu

12
Hi Bruce/Folks,

Okay, so I've got a memory form (parent) with four child browses, 1 through 4 (see attached pic).

Basically it's a Diary type interface (couldn't get the NetWebYear to bend to my will, so am trying to do it myself).

The four browses look at a single day of the same file (ie Monday, Tuesday Wednesday, Thursday).

The browses each use a set date value to filter off. Browse 1 filters by the p_web.GSV('load:For_Date_1') value. Browse 2 filters by p_web.GSV('load:For_Date_2'), or alternatively p_web.GSV('load:For_Date_1')+1. Browses 3 and 4 follow in that fashion.

Each browse calls the same update form, as a popup (so no custom url), w_Load_Update.

I'm trying to get the "For Date" value for the particular browse that called it to be found by the update form.

The problem with using a popup form is that the loc:Parent value in the popup form is the parent memory form, not the browse that the form is located off.

Getting the name of the browse that calls the form is how I would be able to find the GSV date value which corresponds to that browse. But there might be another way, am not sure.

An unwieldy option is to create four forms to be called by each of the browses. That seems, like way too much work (and would give headaches every time I wanted to change something in the form).

At the moment I'm leaning toward doing away with the popup functionality and calling a custom form url with the date stuck in there for the browse that is calling it.

But maybe someone knows a better way?

Cheers for your time.

[attachment deleted by admin]

13
Hey Bruce,

When I untick "Generate XML Object" in a NetWebServiceMethod proc, xml function calls are still generated in the code.

Did you need an example for this one?

Stu

14
Hi Bruce/Folks,

Nettalk 8.61, Clarion 10 (second to latest).

Okay, so I'm not sure how long this has been happening, because the issue is in my live system (which have verified after finding it on my dev code).

Basically, it's this:

The file upload path variable (whatever is used) will not output to OutputDebugString().

I think.

Explanation:

I've got a file form from which the user can select and upload a file. On ValidateAll, the code checks and moves and assigns the upload file.

It's working great!

Except that my Debug() statements referencing the variable (in this case it's a local variable, say loc:UploadPath) don't show on DebugView (SysInternals).

Here's some example code that no longer works, where loc:UploadPath is the variable being used by the nettalk file upload field, and this code is run in the ValidateAll routine, in the end embed:

Code: [Select]
Debug('** loc:UploadPath: '&clip(loc:UploadPath))
Now, more explanation.

I've got a function called Debug(). This has two purposes. It outputs to OutputDebugString (ie, sends to DebugView) AND it writes to a text log file.

Here's the kicker - the information in the log file is working fine, it logs the variable value without a problem (and showing all symbols in notepadd++ doesn't reveal any unreadables that might kick up a stink).

Last, my Debug() code works fine for any variable that isn't being used by a file upload field.

IE

Let's say I have another local variable, loc:Test (string).

Code: [Select]
loc:Test = 'c:\myprogram\rugby.pdf'
Debug('** loc:Test: '&clip(loc:Test))

This works fine, no worries.

Last #2 - the file upload variables can still be used in code, and they work fine. IE, code that gets the values, moves the actual file, puts it into other variables.

I really haven't got a clue yet as to why File Upload would have anything to do with it. It might not, on the chance I've missed something else.

But as of now, my only clues are that the issue only exhibits, that I know, when file upload fields are being sent to Debug().

Anyone got any idea on this one?

15
Hi Bruce,

Got another one. Accounts example attached.

1. Open an Invoice (popup).
2. Click on the "Edit" button next to the Customer.
3. Click on the Cancel button.
4. You should see the (screenshot attached) error alert: "record not found: (-2) Error 30: Entry Not Found from key INV:Key).

Just wondering what's happening here, and if we can get it worked out?

Cheers.

[attachment deleted by admin]

Pages: [1] 2 3 ... 5