EasyCFM.COM ColdFusion Forums / Bug Reports! / when i run inbox.cfm, i got message below:

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: when i run inbox.cfm, i got message below:

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

ayie
11-08-2002 @ 9:26 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 10
Joined: Nov 2002

Errors reported by Java compiler: Found 1 semantic error compiling "C:/CFusionMX/wwwroot/WEB-INF/cfclasses/cfInbox2ecfm635484346.java": 1. public final class cfInbox2ecfm635484346 extends coldfusion.runtime.CFPage{ <-------------------> *** Error: Cannot write class file "cfInbox2ecfm635484346.class" because that name conflicts with the name of the class file "cfinbox2ecfm635484346.class" in directory "cfclasses". This is illegal because file names are case-insensitive in this system. .

Webmaster
11-08-2002 @ 10:04 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4542
Joined: Jan 2002

The original tutorial was written in CF 5.0, apparently in CFMX there's an internal CLASS file that shares that name, simply rename the file to:

index.cfm

Let me know if you find any other problems..


Thanks,
Pablo Varando
EasyCFM.COM, LLC.

ayie
11-08-2002 @ 10:23 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 10
Joined: Nov 2002

still no change

can u convert to coldfusion mx....

thank u

Webmaster
11-08-2002 @ 10:47 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4542
Joined: Jan 2002

I will work on correcting the issue for MX... I'll post updates here..



Thanks,
Pablo Varando
EasyCFM.COM, LLC.

Webmaster
11-08-2002 @ 10:59 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4542
Joined: Jan 2002

OK, I ran the application under CFMX locally and it runs with no problems. (inbox, attachments, etc..)

Do you have anything else installed (tags or anything else) using the name inbox.cfm? That is what it looks like is givving you the error... Please advise...

Thanks,
Pablo Varando
EasyCFM.COM, LLC.

Webmaster
12-30-2002 @ 1:14 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4542
Joined: Jan 2002

Are you still having problems with this?

Thanks,
Pablo Varando
EasyCFM.COM, LLC.

anshul13
03-10-2003 @ 5:04 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 4
Joined: Mar 2003

On a related note ...
I'm trying to use "generateuniquefilenames" with the CFPOP tutorial ...

How do i get the new filename thats generated?

Thanks,
-A

Webmaster
03-10-2003 @ 8:52 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4542
Joined: Jan 2002

The GenerateUniqueNames is for attachments. you will use the same example given, it just created new namesfor the attachments downloads.

Were you to leave this out, it would keep the name of the file as it was attached by the user.

This is generally only good if you are placing all attachments in a single floder and people are using your application, so it wont over write existing files.

However, you use it the same way as in the tutorial:

<cfset current_attachment = 1>
           <cfloop list="#attachmentfiles#" index="attach" delimiters="#chr(9)#">
            <cfif current_attachment neq 1>
             #Evaluate("#current_attachment# - 1")#]
             <a href="download.cfm?file=#ReplaceNoCase(attach, save_path, "", "ALL")#">#ReplaceNoCase(attach, save_path, "", "ALL")#</a>
             <BR>
            </cfif>
            <cfset current_attachment = current_attachment + 1>
           </cfloop>


Thanks,
Pablo Varando

=====================================================

buzcarter
06-10-2003 @ 7:33 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 1
Joined: Jun 2003

We experienced this same problem ("Error: Cannot write class file...") and finally resorted to deleting all of the cached files (located in "C:/CFusionMX/wwwroot/WEB-INF/cfclasses/"). We've only seen this on one of our development servers. Initially we thought it had something to do with the number of sites and thus different applications living on one machine (using host headers), but since deleteing the files seems to have made the problem disappear we went back to watching Cowboy Bebop and called it a day. Hope is some help.


Website Designed and Developed by Pablo Varando.