Import Entries from Old BlogCFC

36 views
Skip to first unread message

Madamqueen

unread,
Jul 9, 2011, 7:54:57 AM7/9/11
to BlogCFC
I have a BlogCFC dated Jan 06 - can't find the version #. I would like
to import the old entries into the latest version but can't just
import the tables through MYSQL because they overwrite the new table
setup and the passwords don't encrypt.

I tried using the updater but it gave me an error message that it
couldn't find the files it needed. The path the error message was
displaying was incomplete

How can I import the data from the old MYSQL database to the new
database and maintain all the IDs to keep everything connected?

Darrell Miller

unread,
Jul 9, 2011, 9:47:17 AM7/9/11
to blo...@googlegroups.com

If the database architecture is re same between versions then just do a export to script and run it on the new database. What I would try first

Darrell

Madamqueen

unread,
Jul 9, 2011, 9:51:32 AM7/9/11
to BlogCFC
The problem is the database architecture is NOT the same since the
newer version has additional fields and encrypts the password in the
tblusers. I tried just importing all the tables (except the tblusers)
but the tables did not connect properly - the relationships didn't
work.

On Jul 9, 9:47 am, Darrell Miller <darrellmille...@gmail.com> wrote:
> If the database architecture is re same between versions then just do a
> export to script and run it on the new database. What I would try first
>
> Darrell

Raymond Camden

unread,
Jul 9, 2011, 10:03:33 AM7/9/11
to blo...@googlegroups.com
Well, the entries table has a few new columns, but it should be ok if
they stay blank. So I'd simply import the entries, the categories, and
the join table. That should work fine.

--
===========================================================================
Raymond Camden, Adobe Developer Evangelist

Email : raymon...@gmail.com
Blog : www.coldfusionjedi.com
Twitter: cfjedimaster

Madamqueen

unread,
Jul 9, 2011, 10:33:26 AM7/9/11
to BlogCFC
When you say "the join table" do you mean "tblblogentriesrelated"?
That table is empty in the old database and the new version database.
> Email : raymondcam...@gmail.com
> Blog :www.coldfusionjedi.com
> Twitter: cfjedimaster

Raymond Camden

unread,
Jul 9, 2011, 10:35:33 AM7/9/11
to blo...@googlegroups.com
No I meant btn entries and categories.

Email : raymon...@gmail.com
Blog : www.coldfusionjedi.com
Twitter: cfjedimaster

Madamqueen

unread,
Jul 10, 2011, 12:41:02 PM7/10/11
to BlogCFC
I have set up the blogcfc as a new blog, then exported entries from
the oldblog to a txt file or xlsx file and imported the entries into
each table in the new blog database. All the entries and pages are
listed (and I have refreshed the blog cache. No entries appear - even
though the archive by subject pod and the recent comments pod have
data with hyperlinks (which do not display the entry when clicked) and
the recent entries pod is empty. The main entry area says "sorry no
blog entries available"

I did not change anything from the default set up - except to change
the path to the blog since I am testing it locally.

There must be something broken in the table relationships - any ideas?

Raymond Camden

unread,
Jul 10, 2011, 1:08:07 PM7/10/11
to blo...@googlegroups.com
Do the blog entries have a valid author value?

Madamqueen

unread,
Jul 10, 2011, 1:46:11 PM7/10/11
to BlogCFC
That was the problem! I did not import the authors because of the
password encryption, but I manually reentered their user info and
voila! The entries all appeared! Thank you!

Raymond Camden

unread,
Jul 10, 2011, 2:19:04 PM7/10/11
to blo...@googlegroups.com
No worries. Glad you got it up and running. :)

--

===========================================================================
Raymond Camden, Adobe Developer Evangelist

Email : raymon...@gmail.com
Blog : www.coldfusionjedi.com
Twitter: cfjedimaster

Morris Fourie

unread,
Jan 10, 2014, 8:32:56 AM1/10/14
to blo...@googlegroups.com
I wish to import subscribers from another location to blogcfc 5.9.8. What do I do regarding the "token" field? Is it required

Raymond Camden

unread,
Jan 10, 2014, 9:10:23 AM1/10/14
to blo...@googlegroups.com
Just create a random UUID via CF's createUUID function. 


--
You received this message because you are subscribed to the Google Groups "BlogCFC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blogcfc+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
===========================================================================
Raymond Camden, Adobe Developer Evangelist

Email : raymon...@gmail.com
Blog : www.raymondcamden.com
Twitter: cfjedimaster
Reply all
Reply to author
Forward
0 new messages