NetTalk Central

Author Topic: Cannot run any deployed demo app  (Read 2242 times)

Poul Jensen

  • Full Member
  • ***
  • Posts: 193
    • View Profile
    • Email
Cannot run any deployed demo app
« on: November 27, 2024, 11:30:32 PM »
Hello,

Trying out a couple of NT demo apps (Calendar - 12 and Signatures - 75).
Both work as expected when running on dev PC, but when deployed to a Windows server, I am getting af bunch of  javascript errors (see attached).
I have copied all files from app folder and app/web folder, and all the js files that cannot be found are available in the /web/script folder and images in /web/images.

So what is going on here.

I am testing with localhost:88 directly on the server.

tia
/Poul


 

JohanR

  • Sr. Member
  • ****
  • Posts: 380
    • View Profile
    • Email
Re: Cannot run any deployed demo app
« Reply #1 on: November 28, 2024, 12:03:47 AM »
Hi Poul

Not sure where you're seeing the errors or copied the text from.

But easiest for me as follows and not sure if you've done this.

If the page loads , even with errors, then the page is found,
right click on the page in the browser and see the source lines for the script files

eg.
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:r,b" />
<script src="/scripts/modernizr.custom.js" type="text/javascript"></script>
<script src="/scripts/jquery-3.7.0.min.js" type="text/javascript"></script>
<script src="/scripts/jquery-ui-1.13.2.custom.min.js" type="text/javascript"></script>


if you click on the line, it should open the .JS file
otherwise check the location of the file

check your webfolder setting and where the app is loaded from
see attachment

c:\appfolder\webapp.exe

your web folder normally is in the same folder
c:\appfolder\web
and below that the script folder
c:\appfolder\web\scripts



regards

Johan








« Last Edit: November 28, 2024, 12:07:50 AM by JohanR »

Poul Jensen

  • Full Member
  • ***
  • Posts: 193
    • View Profile
    • Email
Re: Cannot run any deployed demo app
« Reply #2 on: November 28, 2024, 12:41:42 AM »
Hi Johan,

Thanks for your input, that got me sorted out.
The source of the page was correct, but the settings in the webserver app was not!   (settings were from the demo folder on my dev PC).
When corrected all was good.

The errors I showed was cut from the console window in the browser.

Brgds
/Poul