NetTalk Central

Author Topic: NT Template 6.54, but NT Object reports 6.52  (Read 1776 times)

Neil Porter

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
NT Template 6.54, but NT Object reports 6.52
« on: October 15, 2013, 04:21:57 AM »
I'm trying to move one of my NT webservers from C8 to C9

As part of this I've had to update some of my templates, secwin and nettalk included.

No matter what I do, when I run my webserver, I get a message saying that my NT server version is 6.52 and my web folder is 6.54

I've searched all of my code, and everything reports 6.54

I've checked my clanet.dll and that reports a date of 8 October 2013, version 6.54

I've deleted my clw files, my obj folder, etc. still no joy.

I run using debug view and the /netall switch, and it reports that Nettalk template is 6.54 but the nettalk object is 6.52!!

where on earth do I track this down?

Has anyone got any ideas? This is driving me nuts :-)

Regards,

Neil.
Clarion 11.0.13244
NetTalk 11.04

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: NT Template 6.54, but NT Object reports 6.52
« Reply #1 on: October 15, 2013, 05:33:59 AM »
maybe just clean out the web folder, and let it start fresh with a clean web folder...

Neil Porter

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Re: NT Template 6.54, but NT Object reports 6.52
« Reply #2 on: October 15, 2013, 06:31:35 AM »
Hi Bruce,

I took a brand new web folder out of the libsrc netweb folder: just done it again to be sure, and still get the following:


<!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/redmond/theme.css" rel="stylesheet" />
<link href="/styles/chrome.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"><table class="headingtable"
<tr><td width="10%"><img border="0" src="images/logo.png" /></td>
<td width="90%"><div class="nt-center-justify"><h1>Phillips Opticians - Stock Control System</h1></div></td>
</tr>
</table>
<div id="menu_div"  class="nt-menu-div ui-corner-br"><ul id="menu" class="nt-menu"><li><a href="IndexPage">Home</a><ul class="nt-menu-item"></ul></li><li><a href="#">User</a><ul class="nt-menu-item"><li><a href="SecwinWebLoginForm">Login</a></li></ul></li></ul></div>
<script defer="defer">
jQuery(function() {jQuery("#menu").dropDownMenu();});

</script>
</div>
<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 Neil Porter Associates Ltd 2013 - Version:1.1.5.1</div>
</div>


</div></body>
</html>

As you can see the version check comes back with 6.52

I've just gone back to check what version of the template I was using in C8 and that was 6.51, so it isn't something left hanging around by the conversion to C9
Clarion 11.0.13244
NetTalk 11.04

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: NT Template 6.54, but NT Object reports 6.52
« Reply #3 on: October 16, 2013, 10:02:12 PM »
Hi Neil,

>>  versionCheck('6.52');

seems to be the interesting part. That 6.52 there is from an equate called NetTalk:Version.
That equate is declared in Netall.inc - on line 15.

So my guess is perhaps your netall.inc has "escaped" out of the
\clarion9\accessory\libsrc\win
folder.

check the equate in the file that is there to see if it is right.

cheers
Bruce

Neil Porter

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Re: NT Template 6.54, but NT Object reports 6.52
« Reply #4 on: October 23, 2013, 11:02:24 AM »
Hi Bruce,

Sorry I've been so long coming back to you on this, I've had to have a few days away from the office.

I've checked my accessory folder and you are correct. My netall.inc (dated 24/04/2013) had the 6.52 equate in it, so I renamed the inc file just to be sure, and reran the 6.54 installer. No path or permissions issues, as I got a brand new netall.inc with the 6.52 equate still in there!!

Now I can certainly change the equate to make my web folder warning message go away, but am I working with a dodgy install that is going to bite me later??

As it's only small, I've attached the .inc file just in case you wanted to take a look.

Regards,

Neil.


[attachment deleted by admin]
Clarion 11.0.13244
NetTalk 11.04

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: NT Template 6.54, but NT Object reports 6.52
« Reply #5 on: November 18, 2013, 06:53:15 AM »
I've uploaded a 6.55