2 daethian2 Jan 06, 2006 20:09

It sounds like you want to copy a 1.6 DB to b2evo 0.9.x or something.
That's not supported..
How do I determine what version the database is so that I can install that same version on the new domain and then do an upgrade?
I thought by upgrading the blogs that the database would update too and then be the same as the new installation.
Okay I finally got this to do what I want. I installed an older version of b2, then copied the database over, then upgraded the database.
Everything looked okay until I tried to make the blog B the default and delete blog A. All of my settings, posts, comments all carried over.
Now I have this error:
<a href="http://www.allthingscrabby.com/crab_blog.php?author=1" title="View all articles by
Fatal error: Call to undefined function: prefered_name() in /home/purpleme/public_html/allthingscrabby/skins/moonrise/_main.php on line 114
Can someone tell me what I need to fix?
Certain function names etc have been changed in the Phoenix version, if you trawl through any of the skins that come as default you should be able to find the new names/methods.
The one you're having problems with has been renamed to :-
$Item->Author->preferred_name();
¥
Here is what I have at that line:
<h5 class="byline">by <a href="<?php $Blog->disp('blogurl'); ?>?author=<?php $Item->Author->ID() ?>" title="View all articles by <?php $Item->Author->prefered_name('htmlhead'); ?>"><?php $Item->Author->prefered_name() ?></a>
I tried removing the 'htmlhead' and replacing it with () but that didn't get rid of the errors. Is that what you meant for me to do?
As I said, they renamed some of the functions (in this case it was to correct spelling), you need to add an "r" to your function call :-
$Item->Author->preferred_name();
;)
¥
Oh!! I'm sorry... I had just woke up when I posted, I missed the difference in spelling :oops:
I fixed those but the skin still has errors. Maybe Isaac will update it soon.
Is this not possible?