When I try to Open Library to associate media or content I get 404 - File or directory not found.

10 views
Skip to first unread message

Fastele

unread,
Jan 15, 2014, 6:37:53 PM1/15/14
to farcr...@googlegroups.com

I have a site running on Farcry 5.1.6 on IIS7.5 (Windows 2008 R2). All was working well until today when the user noticed this problem. 

Each time I try to Open Library, to associate media or content I get 

404 - File or directory not found.

The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.


I have no idea why suddenly we are getting this error. Any pointers to how I can fix this problem is welcome.


Regards

Sean Coyne

unread,
Jan 15, 2014, 6:39:40 PM1/15/14
to farcr...@googlegroups.com
Did the /webtop virtual directory get removed accidentally?

Nason Bimbe

unread,
Jan 15, 2014, 6:45:01 PM1/15/14
to farcr...@googlegroups.com
I have just checked it is there in IIS


--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcr...@googlegroups.com
To unsubscribe, email: farcry-dev+...@googlegroups.com
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
---
You received this message because you are subscribed to a topic in the Google Groups "farcry-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/farcry-dev/iCeGs13KfXI/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to farcry-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Nason Bimbe

unread,
Jan 15, 2014, 6:52:31 PM1/15/14
to farcr...@googlegroups.com
This the URL that cause the error 
{mydomain}/webtop/facade/library.cfm?PRIMARYFORMFIELDNAME=E0337CD07DFF11E3927600155D09D11EteaserImage&FTALLOWLIBRARYADDNEW=dmImage&PRIMARYFIELDNAME=teaserImage&FTLIBRARYDATATYPENAME=dmHTML&FTLIBRARYSELECTEDLISTCLASS=arrayDetail&FTLIBRARYDATA=getTeaserImageLibraryData&PRIMARYOBJECTID=E0337CD0-7DFF-11E3-927600155D09D11E&LIBRARYTYPE=uuid&FTALLOWLIBRARYEDIT=false&FTSHOWREMOVESELECTED=true&PRIMARYTYPENAME=dmHTML&FTLIBRARYSELECTEDWEBSKIN=librarySelected&ftJoin=dmImage


On 15 January 2014 23:39, Sean Coyne <coyne...@gmail.com> wrote:

--

Sean Coyne

unread,
Jan 15, 2014, 7:07:37 PM1/15/14
to farcr...@googlegroups.com
OK, so its under /webtop and you say that is still there.  How about the permissions on it?  Have they changed?  Did you look at the files on the disk in the /farcry/webtop directory?  is there a facade directory with a library.cfm file in it?  Sorry for basic questions but usually the most obvious things are the answer.

Nason Bimbe

unread,
Jan 15, 2014, 7:14:04 PM1/15/14
to farcr...@googlegroups.com
Yes I have got the file library.cfm and is located in farcry/core/webtop/facade.

When I do {mydomain}/webtop/facade/library.cfm i get this cfdump (which tells me the file is present)

arguments - struct
Detail [empty string]
ErrNumber 0
Message Element '' is undefined in a CFML structure referenced as part of an expression.
Resolvedname [empty string]
StackTrace coldfusion.runtime.UndefinedElementException: Element '' is undefined in a CFML structure referenced as part of an expression. at coldfusion.runtime.CfJspPage.ArrayGetAt(CfJspPage.java:919) at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:930) at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:925) at cflibrary2ecfm186265597._factor16(C:\inetpub\wwwroot\farcry.betenoir.net\farcry_5.1.6\core\webtop\facade\library.cfm:78) at cflibrary2ecfm186265597.runPage(C:\inetpub\wwwroot\farcry.betenoir.net\farcry_5.1.6\core\webtop\facade\library.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:483) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:282) 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:198) 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)

Geoff Bowers

unread,
Jan 15, 2014, 7:25:33 PM1/15/14
to farcr...@googlegroups.com
Hi Nason,

Does the Editor use this feature regularly and it only happened today?  Or do they use the library rarely and they only discovered it today? ie. could have been a problem for a while now.

If there's been no code changes for FarCry its either an environment issue with IIS/OS or there is some data changes which is causing a problem.  

## data issue

I'm not sure how a data issue would affect the library picker -- it should generate an error rather than a 404.  Perhaps the error itself is being redirected.

If you call the same URL (ie including parameters) in a separate window do you still get the 404?  Has the browser been redirected to an alternate page? (possibly a missing error handler?)

If its a framework error we need to try and find it -- so if we can't work out if the facade call is redirecting you might check the CF logs.

## Environment issue

Check your IIS settings; especially rewrite rules that may be causing a problem.

Hope that helps,

GB




--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcr...@googlegroups.com
To unsubscribe, email: farcry-dev+...@googlegroups.com
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
---
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+...@googlegroups.com.

Sean Coyne

unread,
Jan 15, 2014, 7:27:20 PM1/15/14
to farcr...@googlegroups.com
Very weird then.  Have you tried to updateapp?  Also try clearing the /www/cache/ directory in your project.  This is stretch but at least rule them out.

Short of that, I'm not sure.  Is it just one browser?  have you tried others?
Reply all
Reply to author
Forward
0 new messages