2

情况是这样的:我得到了一台带有旧网站的颠覆存储库的机器,可以不时更新/添加内容。该网站是使用 ColdFusion 和 Model-Glue MVC 构建的,我对 ColdFusion 一无所知(零)。我们运行的另一个网站是在 CakePHP 上的,这对我来说已经足够好的学习曲线了。;(

话虽如此,我修改它的内容没有问题,因为它都是 HTML 和 javascript。问题是每次小的更改,我都必须提交到服务器上的开发存储库,然后上网查看更改的样子!
仅仅为一个简单的东西(比如 html 标签的“height”属性)尝试不同的值会变得非常令人沮丧!更让我沮丧的是试图在我的机器上为该存储库运行本地副本!

到目前为止我尝试了什么:

  • 我用 WAMP 安装了 CF10。
  • 为新服务器配置的 vhosts 文件。
  • 将我的用户添加到 ColdFusion 应用程序服务器服务(Windows 7x64)

但是每当我尝试在浏览器中打开它时,它都会给我“异常服务错误应用程序异常”!请问有什么帮助吗?

**更新:我忘了问!如何知道网站开头的 index.cfm 文件?例如,我在 CakePHP 中知道它的 app/webroot/index.php。(Coldfusion X Model-Glue)中的内容是什么?有这么多 index.cfm 和 application.cfm 文件!

我关于此服务器的 httpd-vhosts.conf 块如下所示:

<VirtualHost *>
ServerName localhost-CF
DocumentRoot "C:/wamp/www/my/webroot/directory/"
<Directory "C:/wamp/www/my/webroot/directory/">
Options Indexes FollowSymLinks Includes ExecCGI
allow from all
order allow,deny
# Enables .htaccess files for this site
AllowOverride All
</Directory>
# Apache will look for these two files, in this order, if no file is specified in the URL
DirectoryIndex index.cfm index.html index.php
</VirtualHost> 

这是一个屏幕截图的链接——没有足够的代表;{——我使用两台服务器(虽然不是同时)apache和内置的: CF10本地服务器设置问题

此外,这里是cfusion\logs\application.log中的一个块:

"Error","ajp-bio-8012-exec-1","08/15/13","10:34:38","PREK","Error during init: Could not find the                 ColdFusion component or interface coldspring.beans.DefaultXmlBeanFactory. Ensure that the name is correct and that the component or interface exists."  
"Error","ajp-bio-8012-exec-1","08/15/13","10:34:38","PREK","Error during exception service init: Element EXCEPTIONSERVICE is undefined in a Java object of type class [Ljava.lang.String;. "  
"Error","ajp-bio-8012-exec-1","08/15/13","10:34:38","PREK","Error during application init: The datasource named cfclientstorage is not a valid client storage DSN. Define client storage DSN through the ColdFusion Administrator."  

我确实有 cfclientstorage 作为 DSN 存储,管理员告诉我它已验证!
但是,我认为,如果这个确切的存储库在服务器上运行良好,那么我不应该担心代码!它很可能是系统/服务器配置或安装问题(在我的本地机器上)。

4

1 回答 1

0

It looks like you're using ColdSpring. You need to login into ColdFusion Administrator and add a mapping to your ColdSpring directory for example:

/coldspring --> c:/ColdSpring

Also you will need to set a datasource to point to your "cfclientstorage" database. This is also in ColdFusion Administrator

于 2013-08-22T01:55:26.737 回答