error when clicking on "first unread post" option in forum

  • Reply
  • Print
adywan's avatar
error when clicking on "first unread post" option in forum

something weird keeps happening. for a while now i've been getting errors when clicking on the "first unread post" option in the forums. it seems to be happening more regular now and seems to be localised to my Empire Strikes back Revisited thread but has also started happening in other threads too. This is the error message:

Jay's avatar
RE: error when clicking on "first unread post" option in forum

Haven't seen this one before. I'll look into it.

Jay Sylvester
originaltrilogy.com

The things you pwn end up pwning you.

adywan's avatar
RE: error when clicking on "first unread post" option in forum

any luck finding the cause of this Jay? I've cleared out all my cache and tried about everything but its still happening . just seems strange that it doesn't happen all the time

Jay's avatar
RE: error when clicking on "first unread post" option in forum

The one thing I thought might be the cause doesn't seem to be, based on my testing.

Does it happen immediately after you login or does it happen after letting your browser window sit open for a while? I think it might have something to do with sessions timing out.

Jay Sylvester
originaltrilogy.com

The things you pwn end up pwning you.

satanika's avatar
RE: error when clicking on "first unread post" option in forum

I get this sometimes also, though it seems intermittent...
Seems to only happen on threads with many posts/pages?

satanika's avatar
RE: error when clicking on "first unread post" option in forum

Ok, I seem to be permanently getting an error now when clicking on 'first unread post' for esb:r thread, not the same ady quoted though. Clicked away before I remembered to grab a screenshot but will do later if needed.

satanika's avatar
RE: error when clicking on "first unread post" option in forum

This error currently ALWAYS happens as described above.
-------------------------------------------------------------------------


The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.

The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
The FORUMTOPICID argument passed to the ForumFirstTopicPostID function is not of type numeric.
If the component name is specified as a type of this argument, its possible that a definition file for the component cannot be found or is not accessible.

The error occurred in E:\Inetpub\originaltrilogy.com\wwwroot\forum\components\ForumContent.cfc: line 225
Called from E:\Inetpub\originaltrilogy.com\wwwroot\forum\topic.cfm: line 41
Called from E:\Inetpub\originaltrilogy.com\wwwroot\forum\topic.cfm: line 1

223 :
224 : <cffunction name="ForumFirstTopicPostID" access="public" output="no" returntype="numeric" hint="Returns a topic's first post ID.">
225 : <cfargument name="ForumTopicID" type="numeric" required="true" default="0" />
226 : <cfargument name="ForumPostID" type="numeric" required="true" default="0" />
227 : <cfset var TopicID = arguments.ForumTopicID />

Resources:

* Check the ColdFusion documentation to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem.

Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6
Remote Address 90.184.17.210
Referrer http://originaltrilogy.com/forum/forum.cfm/Star-Wars-Fan-Edits/forum/9/
Date/Time 05-Jan-10 12:07 PM
Stack Trace
at cfForumContent2ecfc332431$funcFORUMFIRSTTOPICPOSTID.runFunction(E:\Inetpub\originaltrilogy.com\wwwroot\forum\components\ForumContent.cfc:225) at cftopic2ecfm2006013559._factor18(E:\Inetpub\originaltrilogy.com\wwwroot\forum\topic.cfm:41) at cftopic2ecfm2006013559.runPage(E:\Inetpub\originaltrilogy.com\wwwroot\forum\topic.cfm:1)

coldfusion.runtime.UDFMethod$InvalidArgumentTypeException: The FORUMTOPICID argument passed to the ForumFirstTopicPostID function is not of type numeric.
at coldfusion.runtime.UDFMethod._validateArg(UDFMethod.java:789)
at coldfusion.runtime.UDFMethod._validateArg(UDFMethod.java:802)
at cfForumContent2ecfc332431$funcFORUMFIRSTTOPICPOSTID.runFunction(E:\Inetpub\originaltrilogy.com\wwwroot\forum\components\ForumContent.cfc:225)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:463)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:453)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:320)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2222)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:358)
at cftopic2ecfm2006013559._factor18(E:\Inetpub\originaltrilogy.com\wwwroot\forum\topic.cfm:41)
at cftopic2ecfm2006013559.runPage(E:\Inetpub\originaltrilogy.com\wwwroot\forum\topic.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:175)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Jay's avatar
RE: error when clicking on "first unread post" option in forum

I'll take a look. I have to admit that I'm stumped by this one.

Jay Sylvester
originaltrilogy.com

The things you pwn end up pwning you.

satanika's avatar
RE: error when clicking on "first unread post" option in forum

It happened about 10 times in a row, appears to work normally again now...

adywan's avatar
RE: error when clicking on "first unread post" option in forum

Yeh, this seems to be happening a lot more often for me now.

Jay's avatar
RE: error when clicking on "first unread post" option in forum

The next time either of you see this error, please copy and paste the URL in your browser's address bar here (I mean the URL of the page throwing the error exactly as it appears in your address bar). I think it might be an issue with the address being constructed improperly in the unread post script.

Jay Sylvester
originaltrilogy.com

The things you pwn end up pwning you.

Jay's avatar
RE: error when clicking on "first unread post" option in forum
I finally saw this error myself last night, so the good news is that you guys aren't crazy :) It's not a problem with the URL though, so I'll need to take a closer look at it.

Jay Sylvester
originaltrilogy.com

The things you pwn end up pwning you.

Jay's avatar
RE: error when clicking on "first unread post" option in forum

Okay, there are 3 separate problems going on here based on the error messages I'm seeing.

ady, I think the initial issue you reported has been fixed. Please let me know if you experience any more errors that match the one you provided in the first post.

satanika, I think I fixed your issue. When I was querying the database for the first unread post, I was scanning all posts instead of ignoring saved draft posts like I should've been doing, so the unread post link was sometimes sending you to a draft post. Since they aren't visible to the public, it threw an error. That shouldn't happen from now on.

doubleofive, your links are throwing errors because those posts don't exist. I have no idea why you'd receive e-mail updates for posts that don't exist. Perhaps the posts were deleted before you had a chance to view them. Regardless, there should be an error message to handle such circumstances, so I'll add that. Can you tell me the date that those e-mails were sent to you?

Jay Sylvester
originaltrilogy.com

The things you pwn end up pwning you.

Moth3r's avatar
RE: error when clicking on "first unread post" option in forum

Jay said:

doubleofive, your links are throwing errors because those posts don't exist. I have no idea why you'd receive e-mail updates for posts that don't exist. Perhaps the posts were deleted before you had a chance to view them.

There have been several occasions where users have accidentally double/triple posted recently; whenever I come across this I tend to remove the duplicate posts. Perhaps this is what happened.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here 

Jay's avatar
RE: error when clicking on "first unread post" option in forum

Moth3r said:

There have been several occasions where users have accidentally double/triple posted recently; whenever I come across this I tend to remove the duplicate posts. Perhaps this is what happened.

Certainly possible. If someone has their settings configured to receive notifications with every reply, then those posts could go missing before they have a chance to view them.

I have a solution in mind to eliminate the double posting issue as well. It'll be in the next update.

Jay Sylvester
originaltrilogy.com

The things you pwn end up pwning you.

doubleofive's avatar
RE: error when clicking on "first unread post" option in forum

 

OK, it does look like the first two links I posted point to two posts that don't exist.  Here is the header and first few lines for the first one:

date Tue, Jan 12, 2010 at 8:49 PM
subject Topic Update: Petition for the Theatrical Cuts of the Original Star Wars Trilogy on Blu-ray
mailed-by originaltrilogy.com
 


Knightmessenger has posted a reply to the following topic:

"Petition for the Theatrical Cuts of the Original Star Wars Trilogy on Blu-ray"


Jump directly to this post:
http://originaltrilogy.com/forum/topic.cfm/Petition-for-the-Theatrical-Cuts-of-the-Original-Star-Wars-Trilogy-on-Blu-ray/post/392156/#TopicPost392156

And here is the second:

date Tue, Jan 12, 2010 at 9:09 PM
subject Topic Update: Petition for the Theatrical Cuts of the Original Star Wars Trilogy on Blu-ray
mailed-by originaltrilogy.com



TV's Frink has posted a reply to the following topic:


"Petition for the Theatrical Cuts of the Original Star Wars Trilogy on Blu-ray"


Jump directly to this post:

http://originaltrilogy.com/forum/topic.cfm/Petition-for-the-Theatrical-Cuts-of-the-Original-Star-Wars-Trilogy-on-Blu-ray/post/392161/#TopicPost392161

-------------------

Not sure when I checked the links, but its usually not too long after.

Star Wars Revisited Wordpress / Google+ / Facebook / Twitter

Cinetropolis - My new movie blog home

Where to hear me online

Members reading this topic: None