Skip to main content
Participating Frequently
May 18, 2007
Question

Deleted Htdocs files

  • May 18, 2007
  • 7 replies
  • 3996 views
I accidentally deleted the htdocs files, these are the files that setup the administrative functions. I didn't know they were important until i deleted them by accident lol. I really don't want to do a whole new install for them, I am using the linux version. Is there anyway somebody could just copy them and email them to me? I doubt they are very big files, but from what i remember there was maybe 20 files at most?

Thanks!
Adam
This topic has been closed for replies.

7 replies

May 22, 2007
Adam, I would strongly recommend to download and install CFMX 6.1. Unfortunately, we do not have access to version 6.0 anymore so I don't have CFIDE for that. But if you install CFMX 6.1 it will upgrade your CFMX 6.0 and will install CFIDE directory for you. All your settings will be preserved.
I believe the download for CFMX 6.1 was recently taking down from public website due to the fact that CF8 is coming out soon, so please email me dandreye@adobe.com and I will send you FTP link to download CFMX 6.1.
May 21, 2007
Save the following code as cfm file and then run it on your server. It should output your CF version.

<cfscript>
cfim = createObject('java','coldfusion.tools.CfinfoMain');
writeOutput('CFMX Info: ' & cfim.getInfo() & '<br/>');
</cfscript>
AdamWorkAuthor
Participating Frequently
May 21, 2007
I put that code on one of my .cfm pages and it gave me an error once it reached your script.

Object Instantiation Exception.
Class not found: coldfusion.tools.CfinfoMain

The Error Occurred in /var/apache/htdocs/test.cfm: line 16

14 :
15 : <cfscript>
16 : cfim = createObject('java','coldfusion.tools.CfinfoMain');
17 : writeOutput('CFMX Info: ' & cfim.getInfo() & '<br/>');
18 : </cfscript>


AdamWorkAuthor
Participating Frequently
May 22, 2007
Hey I tried another script and got the following message, The current version number is 6,0,0,48097. I thought I had version 7 but apparently they installed version 6.
May 21, 2007
yes, ideally I need exact version (7.0, 7.0.1 or 7.0.2)
AdamWorkAuthor
Participating Frequently
May 21, 2007
I was just looking over a lot of the installed files and did not see a version number in any of them, is there an easy way to find the version number? My IT guys installed everything for me, and trying to find them to find the box would take like a year lol.

Thanks,
Adam
AdamWorkAuthor
Participating Frequently
May 21, 2007
Correct I deleted the CFIDE directory within htdocs. Im using Coldfusion MX7, if you need a more specific version number i'll try and get you that too.
May 21, 2007
So you have deleted CFIDE directory that was inside htdocs? Do you have any idea what version of ColdFusion you have installed? I can give you CFIDE directory, but I need to know exactly what version you are running in order to provide the correct files. Other option would be to reinstall ColdFusion.
AdamWorkAuthor
Participating Frequently
May 21, 2007
Thanks for your response, and you are correct I am talking about the apache installation. I'm trying to connect to the Administrator section so i can create a dsn, I thought that was located in that file. How do I connect to the admistrator section then?

Thanks again,
Adam
May 18, 2007
AdamWork, what htdocs files you are talking about? If you are talking about the ones under Apache installation, then it is usually your own files that nobody else has. htdocs folder is meant to be home directory for your website and by default contains index.html files in various languages. It is usually safe to delete them. Did you have some other files in there?