I am excited to begin my site implementation here.
I am using Coldfusion MX but I need some help on the placement of certain files. I am very new to Coldfusion, but followed ben forta’s WACK book enough to get an ecommerce site together:) Couple questions
Do I just upload all my info into the folder called “mydomain.com” (obviously its not called that)? Do I put my access database into a different folder? same folder?
If I plan on allowing the owner of this site to maintain it and it will contain a login/pass page for only her, is it recommended that I put any files pertaining to maintainence into another folder. Reason I ask, is because I tried that on my local machine and when I tried running the files, it didn’t work, and I didn’t know if that was because my database was not in the same folder as the files, or what?
The application.cfm goes in the same folder as all the files, right?
Any other information you are able to provide to someone who has never setup a coldfusion site on a host before, please do so:).
Hi Yash, is you are JODOHOST, I saw your post on sitepoint. I think I was the name dropper:)
anyways,
So the root folder is where I will be if I can actually SEE the mydomain.com folder, along with LOGS??? I am using WS_FTP PRO.
When I try uploading my access database, I get an upload error.
I get , FAILED; ERROR 1004.
What format do I need to upload it in?
If the application.cfm is going to be in the domain folder, do I need to alter the line of code of this
To
??
In fact, I know next to nothing about what I am suppose to put in my application.cfm.
On all my .cfm pages, I have at the top, So every page has the datasource already. Sorry I am being a problem, I just want to make sure I do this correctly.
I plan on having all my CFM files that are basic template pages, like index.cfm, basketdetails.cfm, categories.cfm, ect… the ones that the users will see, in the mydomain.com folder.
Well, the other half of the site, the maintainence part (for the owner only) I didn’t know if it needed to be in a separate folder. Something like this
I hope you understand. What I was trying to say was that when I tested this method on my own local server, it wouldn’t work because I didn’t recognize where the database was, so what I am trying to figure out is if I need to add extra code either to the individual files or the application.cfm so that it ALWAYS knows where that database is.
Yes, root folder is the first folder you see when you login via FTP
How are you uploading your MS Access database. What FTP Client are you using? I recommend you try uploading this file via WebShell if the problem continues
I think
would be correct. But I am not sure. We don’t have any Cold Fusion programmers so the best thing would be to put your Cold Fusion questions on a Cold Fusion forum.
I’m not sure about your sub-folder question either because once again, we are administrators not programmers I don’t see any reason why files in a sub-folder shouldn’t work from an administrator’s point of view.
I open up my ftp program, and I upload the files and I get an error saying it can’t. Then when I viewed it via the SHELL PROGRAM, it shows them in there. So I tried uploading it via the SHELL and I assume it worked.