情况是这样的:我得到了一台机器,它有一个被颠覆的旧网站的存储库,可以时不时地更新/添加内容。这个网站是用ColdFusion和Model建立的,我对ColdFusion一无所知。我们运行的另一个网站是在CakePHP上,这对我来说足够好的学习曲线。;(
尽管如此,我没有问题修改它的内容,因为它的所有HTML和javascript。问题是,对于每一个微小的更改,我都必须提交到服务器上的开发存储库,然后在线查看更改的样子!
对于一个简单的东西,比如html标签的“高度”属性,尝试不同的值会变得非常令人沮丧!更让我沮丧的是,我试图在我的机器上为这个存储库运行一个本地副本!
到目前为止我尝试过的是:
但是每当我试图在浏览器中打开它时,它都会给我“异常服务错误应用程序异常”!有什么帮助吗?
**更新:我忘了问!如何知道网站开始使用的index.cfm文件?例如,我知道在CakePHP中它的app/webroot/index.php。那是什么(Coldfusion模型-胶)?有这么多的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存储,管理员告诉我它的验证!
但是,我认为,如果这个精确的存储库在服务器上正常工作,那么我就不用担心代码了!它很可能是系统/服务器配置或安装问题(在我的本地计算机上)。
发布于 2013-08-22 01:55:26
看起来你在使用ColdSpring。您需要登录到ColdFusion管理员并将映射添加到ColdSpring目录,例如:
/coldspring -> c:/ColdSpring
此外,您还需要设置一个数据源来指向您的"cfclientstorage“数据库。这在ColdFusion管理员中也是如此
https://stackoverflow.com/questions/18221692
复制相似问题