Installation

So I'm beginning to think about the install process for BlogCFC. I will admit that Mango (as reviewed by Brian here) is what I consider to be the minimum standard for V6. Now I can handle creating DSNs and a multistep process. What I'm curious about though is how to create the database. Creating tables is easy enough. But given a valid DSN (and assuming you have permissions), is it relatively easy to create the initial database? (I'm just concerned about SQL Server and MySQL for now.)

And if folks want to help out - this would be an area where you could help right now. You could write a script that has a hard coded DSN on top (again, assume the DSN is valid), and that then reads in a file for SQL commands to create the DB and tables. All I ask is that if you want to do this - "claim" it with a blog comment so we don't duplicate efforts. (And if you are late and want to help another commenter, just say so.)

Comments
Sam Curren's Gravatar I'm not claiming this just yet, but did you have migrations in mind? It would be nice for the install process to recognize any currently existing database tables from a previous install (earlier version) and just make the necessary changes.
# Posted By Sam Curren | 11/9/07 12:29 PM
Raymond Camden's Gravatar I think there are 3 questions in play here:

1) Will BlogCFC6 migrate BlogCFC 5.9.

Probably not. With V6 being VERY different, I'm assuming it won't be possible. Obviously I'll include docs.

2) Will BlogCFC6 have an installer.

Yes

3) Will future versions have migration scripts?

Yes, for post 6.0 releases I want to make things as easy as possible for updates. My dream is 'one click via admin' updates.
# Posted By Raymond Camden | 11/10/07 2:27 AM
MrBuzzy's Gravatar I got something working... which just raised questions. I'll post it up tomorrow morning for discussion :)
Cheers.
# Posted By MrBuzzy | 11/10/07 4:38 AM
MrBuzzy's Gravatar This is a cut and paste job from mysql.sql... when you said script did you want something in CF or a sql script? Also creating a user per database might be desired? This script is based on 5.9 and has an 'upgrades' section at the end. Real basics only.

Run it;
http://code.mrbuzzy.biz/blogcfc/database.cfm

View source;
http://code.mrbuzzy.biz/blogcfc/database.cfm?sauce

Now you've seen this. What did you really have in mind? :)
# Posted By MrBuzzy | 11/11/07 3:41 AM
Stephen Moretti's Gravatar I just had a crack at creating a MySQL database with a valid dsn, but with the db missing.

The user has full system privileges, but because the database is missing the dsn doesn't work.
You might be able to add a new database if you have an entirely active dsn connection, but its probably more work than it worth when you could just set up a new db with a suitable username and password and plug them into the installer. I think thats the tack I'd probably take.
# Posted By Stephen Moretti | 11/11/07 8:50 AM
todd sharp's Gravatar Stephen:

If I follow you - this is *exactly* why I thought up my "dsn-less" cfquery tag:

http://cfsilence.com/blog/client/index.cfm/2007/11...

But after talking to Ray I tested creating a DSN without pointing to a database and it seemed to work with MS SQL 2000. Are you saying it doesn't work?
# Posted By todd sharp | 11/12/07 5:46 AM
todd sharp's Gravatar What if you crafted your query something like this Stephen:

Use Master
Create Database 'foo' .....

Master is SQL server specific, but all DBMS must have some equivalent, no?
# Posted By todd sharp | 11/12/07 5:50 AM
Stephen Moretti's Gravatar I'm about to leave work and I don't have the set up here to test out the dnsless cfquery, so I'll have a crack in a few hours when the boy is fed, bathed and in bed.

RE: "master" database - mysql has a "mysql" database, but you'd have to set up a dsn entry that points to it and has access, which brings you back around to creating an empty DB with an appropriate user assigned to it. But I'll have a play with the DNSLess cfquery later tonight
# Posted By Stephen Moretti | 11/12/07 6:05 AM
Anthony Katgert's Gravatar Dear Ray

Will BlogCFC run on a Windows 2K3 - IIS 6 platform as it does on a UNIX /Linux Apache 2 ?
My h osting account offers only Windows pared to CF MX 6.1 and CF MX 7.

I actually was looking into something like : http://www.revolutiontheme.com/purchase
but instead using the BlogCFC.
# Posted By Anthony Katgert | 11/12/07 11:22 AM
Raymond Camden's Gravatar Anthony - technically this thread is to discuss the new installer for BlogCFC 6, not supported OSes, but the answer is that BlogCFC will continue to run on any OS that CF runs on. CF7 and above. (Although the lack of CF6 is NOT official yet.)
# Posted By Raymond Camden | 11/12/07 11:26 AM
Anthony Katgert's Gravatar Security: The requested template has been denied access to E:\foodgurus.net\wwwroot\Application.cfm.

The following is the internal exception message: access denied (java.io.FilePermission E:\foodgurus.net\wwwroot\Application.cfm execute)

I cannot seem to get your blog going .. any idea what the message above means?

kind regards

Anthony
# Posted By Anthony Katgert | 11/18/07 6:30 AM
Raymond Camden's Gravatar Check your permissions. Specifically operating system level stuff.
# Posted By Raymond Camden | 11/18/07 9:51 AM
Anthony Katgert's Gravatar Dear Ray

any thing in particular that my webhost should look at? I have de luxe semi VPS hosting plan with my webhost but I do not have admin rights on the server or OS.
# Posted By Anthony Katgert | 11/18/07 10:25 AM
Raymond Camden's Gravatar My main experience is with OSX, and for me, the issue was letting everyone (everyone == internet) have read access to the files.
# Posted By Raymond Camden | 11/18/07 10:30 AM
Russ Michaels's Gravatar creating the database requires the SA user. As most people using blogCFC will be on a shared host they will not have access to the SA user account, they will be able to create a blank database via their control panel only, so I think you need to allow for this.
# Posted By Russ Michaels | 12/16/07 12:50 AM
Sebastiaan's Gravatar The security issue is this: the new website (your blog) needs to be added to the Sandbox Security of Coldfusion.
# Posted By Sebastiaan | 12/25/07 10:34 PM
Pedro's Gravatar ;-)
# Posted By Pedro | 1/25/08 8:02 AM
Pedro's Gravatar Hello, where I can bend BlogCFC? On the page of www.blogCFC.com the Link does not work!!!!!! what happen??
# Posted By Pedro | 1/25/08 11:41 PM
Raymond Camden's Gravatar You want to bend blogcfc? What does that mean?
# Posted By Raymond Camden | 1/26/08 6:18 AM
Pedro's Gravatar Hello Raymond Camden,
where I can find the BlogCFC v6 or 5.9? On the website the download area does not function any more!!

Can you help me please?
# Posted By Pedro | 1/26/08 7:17 AM
Raymond Camden's Gravatar There is a download pod on this site, upper right hand corner. That links to http://blogcfc.riaforge.org, which has a download link.
# Posted By Raymond Camden | 1/26/08 7:24 AM
Raymond Camden's Gravatar I see that the link at the _bottom_ of this site is old. I'll update it later.
# Posted By Raymond Camden | 1/26/08 7:25 AM
Pedro Julio's Gravatar Thank you
;-)
# Posted By Pedro Julio | 1/26/08 7:57 AM
Eric Bourland's Gravatar Hi. I am new to BlogCFC. I'm very pleased and excited to find it and begin to use it.

I have some questions about installation on my Windows 2003 / MS SQL Server 2005 / CF 8 server.

For example: "If your web site will only contain the blog, then obviously this folder will be your web root..."

This instruction confuses me. The instruction seems to instruct me to replace, on my Windows server, c:\Inetpub\wwwroot\ with the folder \client\ from the BlogCFC download package. Obviously that can't be right, but I am not sure exactly where to place the \client\ folder.

I have other questions too. I'm studying the BlogCFC.doc instructions to attempt to answer them for myself.

Where's a good place to pose those questions?

I'm really grateful for any assistance and look forward to using this great application.

Peace.

Eric
# Posted By Eric Bourland | 4/29/08 12:37 PM
Eric Bourland's Gravatar Please disregard last comment, asking where to go to post questions about installing BlogCFC. I found the correct forum in which to do so, and will post my questions there. Thanks very much for your help.

Kind regards,

Eric
# Posted By Eric Bourland | 4/29/08 1:17 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner