NetTalk Central

Author Topic: NT WS web folder ignored?  (Read 3252 times)

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
NT WS web folder ignored?
« on: April 28, 2013, 11:52:56 AM »
NT 6.52
After I upgraded to NT 6.52
See attached

This is what I get - it makes no difference if I delete the web folder or not.

[attachment deleted by admin]
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11193
    • View Profile
Re: NT WS web folder ignored?
« Reply #1 on: April 28, 2013, 10:40:04 PM »
ok, you've deleted the web folder, but did it get copied back?

also - if you right-click on the page, and choose "source" - then (assuming you're using firefox) you can click on the .js or .css name and see if the resource exists.

also - in firefox - what do you see in the console window when the app opens?

cheers
Bruce

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: NT WS web folder ignored?
« Reply #2 on: April 29, 2013, 12:05:52 AM »
Yes - when compiling the web folder gets copied back.

website in question: www.medxinfo.co.za 95.138.182.48
Same happens on my development PC


<!DOCTYPE html><html class="nt-html no-js">
<head><title>Welcome</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/themes//theme.css" rel="stylesheet" />
<link href="/styles/firefox.css" rel="stylesheet" />
<script src="/scripts/all.js" type="text/javascript"></script>
</head>
<body class="nt-body">
<div class="nt-body-div">
<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"><img src="images/logo.jpg" /></div><h1>medxinfo.co.za server</h1>
</div>
<div id="menu_div"  class="nt-tab-outer nt-menuleft nt-width-150px"><h3 class="nt-tab-title"><a href="#">General</a></h3>
<div id="menu_1_div"  class="nt-tab-inner"><div class="nt-menu-item"><div class="nt-menu-item"><a href="BrowseLocums">Locums</a><br />
</div><div class="nt-menu-item"><a href="BrowseCities">Cities</a><br />
</div><div class="nt-menu-item"><a href="BrowseAreas">Areas</a><br />
</div><div class="nt-menu-item"><a href="BrowseProvinces">Provinces</a><br />
</div><div class="nt-menu-item"><a href="BrowseCountries">Countries</a><br />
</div></div></div>
</div>
<script defer="defer">
jQuery(function() {jQuery("#menu_div").accordion({active: 0,change: function(event, ui) { SetSessionValue('PageHeaderTag_MenuOpen',jQuery(this).find("h3").index(ui.newHeader[0])); }});});
</script>
<div id="_busy" class="nt-busy" data-nt-busy="busy"><img src="/images/_busy.gif" /></div><div id="_ver652" class="nt-alert ui-state-error ui-corner-all">Error in site JavaScript</div><script>versionCheck('6.52');getScreenSize()</script>
<div id="alert_div"  class="nt-width-99 nt-alert ui-state-error ui-corner-all ui-helper-hidden"></div>
<br />
Welcome<br /><br />
<div id="pagefootertag_div"  class="nt-left nt-width-100 nt-site-footer"  data-role="footer"><div>Copyright 2013</div>
</div>
</div></body>
</html>

If I click on theme.css(should there be a double forward slash?) I get:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html class="no-js">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><link href="styles/error.css" rel="stylesheet" type="text/css" /><title>404 The page cannot be found</title></head>
<body class="ErrorPage">
<div class="ErrorDiv">
<hr></hr>
<h1>The page cannot be found</h1>
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
<br><br><hr></hr>
</div></body>
</html>

The /scripts/all.js seems fine.

Unregistered/Re-Registered/re-installed NT
 6.52 - same problem

Ah Ha
in web console
[10:16:12.402] GET http://127.0.0.1/themes//theme.css [HTTP/1.1 404 The page cannot be found 30ms]
« Last Edit: April 29, 2013, 12:22:58 AM by Johan van Zyl »
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • Email
Re: NT WS web folder ignored?
« Reply #3 on: April 29, 2013, 12:26:55 AM »
Tak a look at your theme-ref : <link href="/themes//theme.css" rel="stylesheet" />
I think it´s because you have a double slash in the url.
Just a hunch.....

/Niels

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11193
    • View Profile
Re: NT WS web folder ignored?
« Reply #4 on: April 29, 2013, 05:45:03 AM »
looks like you don't have any theme name set.
perhaps assign a theme to your app and go from there.

cheers
Bruce

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: NT WS web folder ignored?
« Reply #5 on: April 29, 2013, 06:43:30 AM »
should there not be a file called theme.css in web\themes? There isn't one.
« Last Edit: April 29, 2013, 06:58:31 AM by Johan van Zyl »
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: NT WS web folder ignored?
« Reply #6 on: April 29, 2013, 07:02:03 AM »
No theme.css?
And the double forward slashes in path?

[attachment deleted by admin]
« Last Edit: April 29, 2013, 07:08:31 AM by Johan van Zyl »
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11193
    • View Profile
Re: NT WS web folder ignored?
« Reply #7 on: April 29, 2013, 09:20:15 PM »
ok, in your first picture notice how the "Theme" setting is set to ''.
This should not be empty, it should be set to one of the theme names.
Like 'smoothness' or 'sunny'

See your second pic for a list of themes. It's the list of folders there on the right.

cheers
Bruce