NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on June 07, 2018, 10:05:12 AM

Title: 1023 example 71 Customers browse problem
Post by: Alberto on June 07, 2018, 10:05:12 AM
First time you see the Customers browse, it looks like the attached image.
Title: Re: 1023 example 71 Customers browse problem
Post by: Bruce on June 08, 2018, 10:06:35 AM
that looks more like 10.22 than 10.23,
but perhaps you just need to Ctrl-F5 refresh in your browser.

cheers
Bruce
Title: Re: 1023 example 71 Customers browse problem
Post by: Alberto on June 09, 2018, 01:46:49 PM
no, this is 10.23
Ive delete all
reinstall 1023
open example 71
compile
see the copyall and gzipall windows
open the app in chrome
click in customers button
and there are the buttons like the attached image
click on invoices
click on customers again and the buttons are ok

Ive done all this 5 times in differents machines and its allways the same

May be its related too with the problem I have with Maps, Maps is working but the layers icon does not appears in the page, and if I add a browse after the map when I try to go to the form I get an error 0, I will try to make an example but it is random. It seams to be something wrogn with a javascript.

If you want to see de efect just go to:
http://132.148.84.1:8888/mTablero?_chain_=1
demo/demo
Tablero
at the end of the page the map is without the layer icon (or image)
Ive delete the possibility of update the browse to the right os the map because of the error 0 Im getting

Title: Re: 1023 example 71 Customers browse problem
Post by: bshields on June 09, 2018, 02:56:40 PM
Hi Alberto,

It looks fine from here.

In my experience Ctrl-F5 does not always refresh all files (Chrome is the worse offender). You can verify this by using the browsers inspector to look for changes or version numbers etc in your js or css files. The inspector sees the file the browser is using and if its different from what you'd expect, clearly its caching. Nettalk can also cache filse too, so always restart your server (or clear its cache).

To ensure i can control when files are cached and when they are not I add an arbitrary version number to the end of my js, css and nt files. I can't be telling thousands of people to press Ctrl-F5 every time I do an update, even if it did work reliably.

Regards
Bill
Title: Re: 1023 example 71 Customers browse problem
Post by: Jane on June 09, 2018, 09:35:16 PM
OT:

Bill, a useful trick with Chrome-
1. hit F12
2. then right-click the refresh icon on the toolbar and select "Empty Cache and Hard Reload"

jf
Title: Re: 1023 example 71 Customers browse problem
Post by: bshields on June 09, 2018, 10:42:35 PM
Hey, thanks :)
Title: Re: 1023 example 71 Customers browse problem
Post by: Alberto on June 10, 2018, 06:53:43 AM
Ive reste every thing, include the F12 and hasrd reset and the problem persists
attached goes the error reported by f12 chrome
same problem with a fresh firefox installation
Title: Re: 1023 example 71 Customers browse problem
Post by: Robert Iliuta on June 10, 2018, 09:54:51 PM
Compile and works fine here with NT 10.23.

*Check AV or firewall!

Regards,
Robert
Title: Re: 1023 example 71 Customers browse problem
Post by: Bruce on June 10, 2018, 11:17:02 PM
Hi Alberto,

First the missing icon on the map.
that icon should be in your
\web\styles\images folder and should be called layers.png

[update: - but you have (correctly) set performance mode, to web, so the images in \web\styles\images need to be copied into \web\themes\redmond\images

I'll tweak that so that the image is in a fixed position, not relative to the .css location though.]

Secondly, for the browse errors - instead of

>> click in customers button

try selecting the customers browse from the menu and see if that displays any differently?

cheers
Bruce



Title: Re: 1023 example 71 Customers browse problem
Post by: Alberto on June 11, 2018, 04:49:39 AM
selecting the customers browse from the menu the browse and buttons are ok
Title: Re: 1023 example 71 Customers browse problem
Post by: Bruce on June 11, 2018, 05:34:03 AM
ok, I don't think that's new...
That's a long standing bug in that example.
don't worry about the buttons then, use the menu items instead...