bitweaver
Wiki
wiki Home
List Pages
wiki Books
Orphan Pages
wiki Rankings
Photos
List Galleries
Forums
Browse forums
Files
List Galleries
Categories
List Categories
Sign In
Message Boards
»
15. Trash
Newest
Oldest
Threaded
5
10
20
50
100
All
Messages
upgrade 1.3.2 beta to 2.0.0 alpha
Post Reply
laetzer
Joined: 15 Mar 2004
upgrade 1.3.2 beta to 2.0.0 alpha
Posted:13 Sep 2006 (00:05 UTC)
Post Reply
Page 1 of 1
1
Post
Title
Login
If you are already registered, please enter your login credentials.
Your Name
Anonymous Post
Content Format
Tiki Wiki Syntax
Allow HTML
{quote format_guid="bbcode" comment_id="4958" user="laetzer"}[color=red:914d9312ad][b:914d9312ad]NOTE:[/b:914d9312ad] this is experimental stuff concerning unreleased versions of bitweaver. It probably doesn't concern you! To find out how to upgrade bitweaver, visit [url=http://bitweaver.org/wiki/bitweaverUpgrade]bitweaverUpgrade[/url]. In short: after you backed up your data, bitweaver's installer upgrades your existing installations without pain.[/color:914d9312ad] Hi, recently, I updated my local mirror of an online project running on bitweaver 1.3.2 beta. I'm not sure if this report is of use for anyone, so I make a forum post instead of a wiki page. (where the Wiki page would've been more like a step by step guide for Windows users) [list:914d9312ad] * local: Windows XP/SP2: Apache 2.2.2, PHP 5.1.4, MySQL 5.0.21 (xampp) * remote: Ubuntu Linux: Apache 2.0.55, PHP 5.1.2, MySQL 5.0.22 * PhpMyAdmin 2.8.2 [/list:u:914d9312ad] The site is installed both locally and remote. First I synchronize both installs: my local installs are usally broken and not worth keeping, so I download everything from remote to local without saving my local stuff. If everything works, I overwrite the remote install with my upgraded local files and database. I call this strategy ''overlapping backup''. It might not be good advice for everyone. It might not even be a backup. [list:914d9312ad] * export remote DB with PhpMyAdmin and import it locally * overwrite all local files with remote files * check if my site works locally: http://mysi.te * yep, it does, so I download/unzip bitweaver 2 to d:\mysi.tenew\ * in c:\windows\system32\drivers\etc\hosts add: 127.0.0.1 mysi.tenew * in c:\Programme\xampp\apache\conf\extra\httpd-vhosts.conf add a <VirtualHost> * restart Apache * open my local PhpMyAdmin, copy my databse to a new one with the name mysite_bw2 * open d:\mysi.tenew\kernel\config_inc.php, leave only <?php define( 'BIT_ROOT_URL', '/' ); ?> - (this resolves some issues I had with the upgrader) * open browser go to http://mysi.tenew/install/upgrade.php (I had to type-out this URL because of some issues I had with the upgrader) * select: "upgrade an existing database" * give details for DB mysite_new (I had a database prefix, if you have one too, don't forget) * the script throws some errors, first: * [code:1:914d9312ad]UPDATE `bw_liberty_comments` SET `root_id` = ? where `comment_id` = ? (70, 11) UPDATE `bw_liberty_comments` SET `root_id` = ? where `comment_id` = ? (108, 1) UPDATE `bw_liberty_comments` SET `root_id` = ? where `comment_id` = ? (108, 9) UPDATE `bw_liberty_comments` SET `root_id` = ? where `comment_id` = ? (474, 10) UPDATE `bw_liberty_comments` SET `thread_forward_sequence` = ? where `comment_id` = ? (000000011., 11) UPDATE `bw_liberty_comments` SET `thread_reverse_sequence` = ? where `comment_id` = ? (999999988., 11) UPDATE `bw_liberty_comments` SET `thread_forward_sequence` = ? where `comment_id` = ? (000000001., 1) UPDATE `bw_liberty_comments` SET `thread_reverse_sequence` = ? where `comment_id` = ? (999999998., 1) UPDATE `bw_liberty_comments` SET `thread_forward_sequence` = ? where `comment_id` = ? (000000009., 9) UPDATE `bw_liberty_comments` SET `thread_reverse_sequence` = ? where `comment_id` = ? (999999990., 9) UPDATE `bw_liberty_comments` SET `thread_forward_sequence` = ? where `comment_id` = ? (000000010., 10) UPDATE `bw_liberty_comments` SET `thread_reverse_sequence` = ? where `comment_id` = ? (999999989., 10) Input Array does not match ?: INSERT INTO `bw_liberty_content_prefs` (`content_id`,`pref_name`,`pref_value`) VALUES('style', NULL,[/code:1:914d9312ad] * and then 41 lines of the same text: * [code:1:914d9312ad]Input Array does not match ?: INSERT INTO `bw_liberty_content_prefs` (`content_id`,`pref_name`,`pref_value`) VALUES('style', NULL, [/code:1:914d9312ad] * finish the installer, enter site [/list:u:914d9312ad] At this point, my site was running and looking good, and had lots of wonderful new features :) ... and some bugs that I encountered so far: [list:914d9312ad] * instead of nexus menus I get: Smarty error: unable to read resource: "bitpackage:temp/nexus/mod_myMenu_2.tpl" * my site's blog is there, showing 50-something entries, but those entries aren't listed and can't be visited * more like a feature request: I can change a theme for any multisite, but not the Layout and Icon Set (those great new features), so that's disturbing * to be continued [/list:u:914d9312ad]{/quote}
Recent Page Changes
welcome to bitweaver.org
Bitweaver Overview
ReleaseTwo Schema Changelog 2006
PressReleaseOne
Spider's Web
Press Release Two
BitcommercePackage
InfiniBand vs Ethernet Performance
InfiniBand for Dummies
Show More…