I've installed coldfusion and its server. I have two major questions and am completely new to CF.

1. I copied a folder from our website (our hosting company put it together for us) into the wwwroot folder.
I am able to access only one of the pages of that folder--the index page.When I try to follow to any of the linked pages it takes me right to the internet based page rather than the same page stored on the server.

2 When I try to open the admin panel at http://localhost:8500/cfide/administrator I get a list of files rather than an admin panel. (Index of /cfide/administrator/)

What am I doing wrong?

Recommended Answers

All 9 Replies

I've installed coldfusion and its server. I have two major questions and am completely new to CF.

1. I copied a folder from our website (our hosting company put it together for us) into the wwwroot folder.
I am able to access only one of the pages of that folder--the index page.When I try to follow to any of the linked pages it takes me right to the internet based page rather than the same page stored on the server.

2 When I try to open the admin panel at http://localhost:8500/cfide/administrator I get a list of files rather than an admin panel. (Index of /cfide/administrator/)

What am I doing wrong?

1. Without seeing the code, it suggest the links are using absolute urls, rather than relative urls. The links have to be updated to point to your site, rather than the external one.

Absolute:
<a href="http://someothersite.com/pageA.cfm">Page A</a>

Relative (ie Go to "PageA.cfm" on _this_ server in _this_ folder)
<a href="pageA.cfm">Page A</a>

2. By default it is showing the contents of the folder, rather than index page. Just add "index.cfm" to the url

http://localhost:8500/cfide/administrator/index.cfm

1. Without seeing the code, it suggest the links are using absolute urls, rather than relative urls. The links have to be updated to point to your site, rather than the external one.

OK, I understand that concept. I inherited the folder fully made, and it has hundreds of links. Is there a way to direct everything internally without changing each link separately?

2. By default it is showing the contents of the folder, rather than index page. Just add "index.cfm" to the url

http://localhost:8500/cfide/administrator/index.cfm

I just tried adding /index.cfm and I got the response:

404

File not found: /cfide/administrator/index.cfm

coldfusion.runtime.TemplateNotFoundException: File not found: /cfide/administrator/index.cfm
at coldfusion.filter.PathFilter.invoke(PathFilter.java:89)
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.http.WebService.invokeRunnable(WebService.java:172)
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)

Thanks,
Renee

That is default location, but make sure they are no typos in your url.
But if you installed the full development version, there should a shortcut added to your program menu. With CF 8:
start -> programs -> Adobe -> ColdFusion8 -> Administrator

aargh,
I got the same result that way. Funny thing is I distinctly remember there being a panel the night I set it up.

. But, since you say you get a list of files when you go to:

http://localhost:8500/cfide/administrator

Just look for a file named "index.cfm" or "index.html" and click on it.

I don't see any file with index, either cfm or html. When I look directly in the adobe/coldfusion8/cfide/administrator I don't see an index file there either.

I'm guessing that is my problem--so what I do now? Reinstall?

I don't see any file with index, either cfm or html. When I look directly in the adobe/coldfusion8/cfide/administrator I don't see an index file there either.

I'm guessing that is my problem--so what I do now? Reinstall?

The physical path for those files is typically c:\coldfusion8\wwwroot\cfide\administrator. But since I cannot see what files actually are there ... yes, an uninstall followed by a reinstall of CF8 seems the best option.

What do you see in the wwwroot under:
C:\ColdFusion8\wwwroot\

I suspect your problem is you have either put the files into the wrong folder or are looking in the wrong folder.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.