<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : Strange Error when posting message.</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : Strange Error when posting message.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 09:44:56 +0000</pubDate>
  <lastBuildDate>Tue, 18 Apr 2006 09:10:30 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=19337</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[Strange Error when posting message. : Sorry I can&amp;#039;t remember without...]]></title>
   <link>https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104694.html#104694</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 19337<br /><strong>Posted:</strong> 18&nbsp;April&nbsp;2006 at 9:10am<br /><br />Sorry I can't remember without going through each and every individual file.]]>
   </description>
   <pubDate>Tue, 18 Apr 2006 09:10:30 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104694.html#104694</guid>
  </item> 
  <item>
   <title><![CDATA[Strange Error when posting message. : urr - i just found out that delete_post.asp...]]></title>
   <link>https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104598.html#104598</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6524">Scotty32</a><br /><strong>Subject:</strong> 19337<br /><strong>Posted:</strong> 17&nbsp;April&nbsp;2006 at 3:23pm<br /><br />urr - i just found out that delete_post.asp doesnt use the function<br><br>could you tell me ALL the pages that use the "order by date" ?<br><br>so far i got:<br>functions_common.asp<br>delete_post.asp<br>]]>
   </description>
   <pubDate>Mon, 17 Apr 2006 15:23:23 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104598.html#104598</guid>
  </item> 
  <item>
   <title><![CDATA[Strange Error when posting message. : The only reason is that the part...]]></title>
   <link>https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104519.html#104519</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 19337<br /><strong>Posted:</strong> 16&nbsp;April&nbsp;2006 at 5:50pm<br /><br />The only reason is that the part in question gets the stats for the topic, which means that it needs to get the details of the first post posted and the last post posted in the topic.<br><br>The ID field should be OK, as in theory the newer posts should have a new ID number. The only time it would mess up is if some how the latest post in a topic doesn't have the highest ID number, if a post has been edited or moved from another topic.<br>]]>
   </description>
   <pubDate>Sun, 16 Apr 2006 17:50:20 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104519.html#104519</guid>
  </item> 
  <item>
   <title><![CDATA[Strange Error when posting message. : do you mean becose the thread...]]></title>
   <link>https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104517.html#104517</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6524">Scotty32</a><br /><strong>Subject:</strong> 19337<br /><strong>Posted:</strong> 16&nbsp;April&nbsp;2006 at 5:39pm<br /><br />do you mean becose the thread is ordered by date and the "last posted" works of ordering by ID?<br><br>i intend to change the thread ordering by ID too - so there should be no problems<br><br>am just curious as to why threads are ordered by date rather than id<br>since (as i stated) problems arise from ordering by date.<br><br>as far as am aware the higher the ID, the later it was posted, so i assume its impossible to acctually change the ordering of IDs when posting (eg you cant get a lower ID than any post before you)<br><br>but with ordering by date, if the server time messes up, you can get your post before the others in the thread (if it went back in time) or if it goes forward, newer posts will go before the older posts once the server time is corrected (i had this problem so i changed it on my V7)<br><br>i personally am not aware of any benefits for ordering by Date, but am assure you have a reason<br><br>(again, am not trying to be annoying, just trying to find out why you use Date, if theres a reason i'll keep it otherwise if its just something you've done id rather change it to ID)<br>]]>
   </description>
   <pubDate>Sun, 16 Apr 2006 17:39:20 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104517.html#104517</guid>
  </item> 
  <item>
   <title><![CDATA[Strange Error when posting message. : Looking at it again you could...]]></title>
   <link>https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104494.html#104494</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 19337<br /><strong>Posted:</strong> 16&nbsp;April&nbsp;2006 at 3:24pm<br /><br />Looking at it again you could get away with using the ID number, but as you want the order to be from the first posted date to the last posted date, by using the ID number there is some room for problems if for whatever reason the dates of the posts don't exactly match the ID order.]]>
   </description>
   <pubDate>Sun, 16 Apr 2006 15:24:26 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104494.html#104494</guid>
  </item> 
  <item>
   <title><![CDATA[Strange Error when posting message. :   However, the order by needs...]]></title>
   <link>https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104491.html#104491</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6524">Scotty32</a><br /><strong>Subject:</strong> 19337<br /><strong>Posted:</strong> 16&nbsp;April&nbsp;2006 at 2:48pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> However, the order by needs to be by Message_date ASC, otherwise yoymay get problems with your forum displaying the incorrect post as thelast post in the forum etc.</td></tr></table><br><br>but the thread id is the order of them being added - which is what i dont understand<br><br>if it goes 1,2,3 and not 1,3,2 - why use date, which i see as less concistant<br>]]>
   </description>
   <pubDate>Sun, 16 Apr 2006 14:48:08 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104491.html#104491</guid>
  </item> 
  <item>
   <title><![CDATA[Strange Error when posting message. : The strDBNoLock part is for performance...]]></title>
   <link>https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104489.html#104489</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 19337<br /><strong>Posted:</strong> 16&nbsp;April&nbsp;2006 at 2:32pm<br /><br />The strDBNoLock part is for performance only and just tells the database not to lock the database while the read is taking place (a dababase dirty read)<br><br>You can take this out if you like as it will not make much difference.<br><br>However, the order by needs to be by Message_date ASC, otherwise yoy may get problems with your forum displaying the incorrect post as the last post in the forum etc.<br>]]>
   </description>
   <pubDate>Sun, 16 Apr 2006 14:32:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104489.html#104489</guid>
  </item> 
  <item>
   <title><![CDATA[Strange Error when posting message. : ok, just thought id give an updateto...]]></title>
   <link>https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104486.html#104486</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6524">Scotty32</a><br /><strong>Subject:</strong> 19337<br /><strong>Posted:</strong> 16&nbsp;April&nbsp;2006 at 1:59pm<br /><br />ok, just thought id give an update<br><br>to try and get it working i started to play with the SQL (eg take out that strDBNoLock thing &#091;what is that??&#093; etc)<br><br>and i changed:<br><table width="99%"><tr><td><pre class="BBcode">"ORDER BY " &amp; strDbTable &amp; "Thread.Message_date ASC;"</pre></td></tr></table><br>to<br><table width="99%"><tr><td><pre class="BBcode">"ORDER BY " &amp; strDbTable &amp; "Thread.Thread_ID ASC;"</pre></td></tr></table> and it begain working with zero errors<br><br>i suggested/requested before that you order topics by Thread ID and NOT the thread date, as ive expirenced alot of server time problems where the time would change maybe forward or back a couple of hours, which totally screws with post orders, an older post can be ater a newer post<br><br>can you tell me why you order by date? as i see no reason why you dont order by ID<br>(i dont mean to sound arrogant or anyfin, i genuinely would like to know)<br><br>anyway i thought id give the fix if anyone else experinced the probelm<br>]]>
   </description>
   <pubDate>Sun, 16 Apr 2006 13:59:01 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104486.html#104486</guid>
  </item> 
  <item>
   <title><![CDATA[Strange Error when posting message. : am conviced it was my failed upgrade,...]]></title>
   <link>https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104484.html#104484</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6524">Scotty32</a><br /><strong>Subject:</strong> 19337<br /><strong>Posted:</strong> 16&nbsp;April&nbsp;2006 at 1:43pm<br /><br />am conviced it was my failed upgrade, then bodged fix <img src="https://forums.webwiz.net/smileys/smiley5.gif" align="middle" border="0"><br><br>i copied the function for updating the thread stats and put it in its own little page<br><br>and it now reports the correct line for the error <br><br><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'Get the start and last post ID's from the database<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strSQL = "SELECT " &amp; strDbTable &amp; "Thread.Thread_ID " &amp; _<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "FROM " &amp; strDbTable &amp; "Thread" &amp; strDBNoLock &amp; " " &amp; _<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "WHERE " &amp; strDbTable &amp; "Thread.Topic_ID = "&nbsp; &amp; lngTopicID &amp; " " &amp; _<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "AND " &amp; strDbTable &amp; "Thread.Hide = " &amp; strDBFalse &amp; " " &amp; _<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "ORDER BY " &amp; strDbTable &amp; "Thread.Message_date ASC;"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'Set the cursor type property of the record set to Dynamic so we can navigate through the record set<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rsCommon.CursorType = 2<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'Set set the lock type of the recordset to adLockReadOnly <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rsCommon.LockType = 1<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'Query the database<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#ff0000">rsCommon.Open strSQL, adoCon</font></pre></td></tr></table><br><br>does this help? or is it the database? and not my failed upgrade?<br>]]>
   </description>
   <pubDate>Sun, 16 Apr 2006 13:43:32 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104484.html#104484</guid>
  </item> 
  <item>
   <title><![CDATA[Strange Error when posting message. : Looks like a bug with SQL Server...]]></title>
   <link>https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104482.html#104482</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 19337<br /><strong>Posted:</strong> 16&nbsp;April&nbsp;2006 at 1:20pm<br /><br />Looks like a bug with SQL Server 2000 then.<br><br>Although the article gives a hotfix for SQL Server, it doesn't say if anything can be changed in the SQL query to remedy this. <br>]]>
   </description>
   <pubDate>Sun, 16 Apr 2006 13:20:08 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/strange-error-when-posting-message_topic19337_post104482.html#104482</guid>
  </item> 
 </channel>
</rss>