Bitweaver upgrade - fatal error

dheeru
Joined: 12 Feb 2009

Bitweaver upgrade - fatal error

Posted:18 Feb 2009 (09:47 UTC)
Not able to upgrade bitweaver from 1.3.x to 2.5.

Followed the upgrade procedure but get the following error.

Fatal error: Call to undefined method BitSystem::registerUpgrade() in /var/apache2/htdocs/bitweaver/kernel/admin/upgrade_inc.php on line 472

And line 472 in upgrade_inc.php is :

if( isset( $upgrades$gUpgradeFrom$gUpgradeTo ) ) {
$gBitSystem->registerUpgrade( KERNEL_PKG_NAME, $upgrades$gUpgradeFrom$gUpgradeTo );

Please help how to fix this .

Thanks in Advance,
dh
Bobby Richardson
Joined: 15 Aug 2006

Re: Bitweaver upgrade - fatal error

Posted:19 Feb 2009 (00:58 UTC)
Unless I'm mistaken the upgrade process has to be incremental; i.e., 1.3>2.0, then 2.0>2.1, finally 2.1>2.5

Unless you're like me. I'd never taken my site live, so all I did was nuke MySql database and install 2.5 as a new bitweaver installation.

Worked a treat.
dheeru
Joined: 12 Feb 2009

Re: Bitweaver upgrade - fatal error

Posted:20 Feb 2009 (10:50 UTC)
Thanks Bobby.

I was able to upgrade from 1.3 to 2.0 but the final output is follows:

Welcome
Created by: Guest,Last modification on 08 Aug 2007 12:19 by name of the person.

Comments

I dont get the actual page.
I copied the bitweaver/storage,bitweaver/temp,bitweaver/kernel/config_inc.php from the old version to the new bitweaver with the required permission.

Could please suggest what im doing wrong.

The upgrade process went fiine.

Thanks In Advance,
Dh
laetzer
Joined: 15 Mar 2004

Re: Bitweaver upgrade - fatal error

Posted:21 Feb 2009 (09:51 UTC)
Looks to me like the content format (wiki, html etc.) the page was submitted in is not allowed anymore. Check if your content format is active in Admin > Liberty > Format.
dheeru
Joined: 12 Feb 2009

Re: Bitweaver upgrade - fatal error

Posted:23 Feb 2009 (06:55 UTC)
Hi,

Where to look for Admin > Liberty > Format to check if the content format is active or not?

Help please,

Thanks,
Dh
laetzer
Joined: 15 Mar 2004

Re: Bitweaver upgrade - fatal error

Posted:23 Feb 2009 (13:48 UTC)
Sorry, the correct path is Administration > Liberty > Plugins > Format where "Format" is one of the tabs:

yourbitweaver/liberty/admin/plugins.php
dheeru
Joined: 12 Feb 2009

Re: Bitweaver upgrade - fatal error

Posted:24 Feb 2009 (15:48 UTC)
Hi,

Bitweaver 1.3 is the only version which works fine.
When I upgrade to 2.0,2.1 It gets upgrade but the finale output is a white page with following lines only

Welcome
Created by: Guest,Last modification on 08 Aug 2007 12:19 by name of the person.

Comments

From 2.1 to 2.5 I get the follwoing errors.

Fatal error: Call to undefined method BitSystem::registerUpgrade() in /var/apache2/htdocs/bitweaver/kernel/admin/upgrade_inc.php on line 472
2.5.0
Fatal error: Call to a member function fetchRow() on a non-object in /var/apache2/htdocs/bitweaver/users/BitPermUser.php on line 832

I copy the storage,temp and config_inc_php files from the previous
version to the latest with the required permissions.

I have no clue how to fix this,please guide me.
laetzer
Joined: 15 Mar 2004

Re: Bitweaver upgrade - fatal error

Posted:24 Feb 2009 (16:52 UTC)
If it wasn't the format, it might be the theme you're using. Not compatible or not been updated. Try to set another theme, like "cascader" or "basic".

If you can't access the admin screen, change the value directly in your database:

table: kernel_config
config_name: style
config_value: cascader|basic|…
dheeru
Joined: 12 Feb 2009

Re: Bitweaver upgrade - fatal error

Posted:25 Feb 2009 (12:14 UTC)
Hi,

I did make changes to the kernel_config table has suggested by you and reinintiated the install.Still the blank page.

Im pasting the bitweaver settings check for your reference and sorry for pasting the huge amount of text. I have no clue, what needs to be done to get this working.

bitweaver 2.0.1 alpha
bitweaver PHP Settings
Server Settings
Required Settings
The settings below are required by bitweaver to run. If any of these settings are not met, you will have to
change these before you can continue with the installation process.
Required settings
PHP version is greater than 4.3.0.
Your installed version of PHP is 5.2.1.
The bitweaver configuration file is available and the file is writeable:
var/apache2/htdocs/bitweaver/kernel/config_inc.php
The storage directory is available and it is writeable.
var/apache2/htdocs/bitweaver/storage/
The temp directory is available and it is writeable.
var/apache2/htdocs/bitweaver/temp/
Your system meets all the requirements.
Install bitweaver - bitweaver Settings Check

Setting Should be Actual
Memory Limit at least 16M 128M
Safe Mode OFF OFF
Display Errors ON ON
File Uploads ON ON
Magic Quotes GPC OFF OFF
Magic Quotes Runtime OFF OFF
Magic Quotes Sybase OFF OFF
Register Globals OFF OFF
Output Buffering OFF OFF
Session auto start OFF OFF
All recommended settings have been met.

Recommended Extensions
Thoroughly recommended extensions
The extension zlib is available.
The zlib compression libraries are used to pack and unpack compressed files such as zip files.
The extension gd is available.
GD Libraries are used to manipulate images. We use these libraries to create thumbnails and convert
images from one format to another. The GD libaries are quite limited and don't support a number of
image formats including bmp. If you are planning on uploading and using a lot of images, we
recommend you use one of the other image processors.
If you are running Red Hat or Fedora Core, you can try running: yum install php-gd.
The extension imagick is not available.
ImageMagick supports a multitude of different image and video formats and can be used instead of the
GD Libraries. Using these libraries will allow you to upload most image formats without any
difficulties. For installation help, please view our online documentation: ImageMagick and

Install bitweaver - bitweaver Settings Check
MagickWand installation instructions or visit the ImageMagick homepage.
The extension magickwand is not available.
MagickWand the newer php extension for ImageMagick. For installation help, please view our online
documentation: ImageMagick and MagickWand installation instructions or visit the ImageMagick
homepage.
The extension eAccelerator is available.
eAccelerator increases the efficiency of php by caching and optimising queries. Using this extension will
greatly increase your servers performance and reduce the memory needed to run bitweaver.
Before you continue, we suggest that you try and install the mentioned extensions. If you can not do
so, please bear in mind that these extensions can be installed at any time and might enhance your
bitweaver experience.
Recommended PEAR Extensions
PEAR provides extensions to php, which can easily be installed and updated using the pear interface on
linux. None of the extenstions below are required, they always provide an alternative to the existing
methods available. Often these alternatives are superior to the default methods.
Recommended PEAR Extensions
PEAR is available.
This check indicates if PEAR is installed and available. To make use of PEAR extensions, you need to
make sure that PEAR is installed and the include_path is set in your php.ini file.
The extension PEAR::Auth is available.
This will allow you to use the PEAR::Auth package to authenticate users on your website.
The extension PEAR::Text_Wiki is available.
Having PEAR::Text_Wiki installed will make more wiki format parsers available. The following parsers
will be recognised and used: Text_Wiki_BBCode, Text_Wiki_Cowiki, Text_Wiki_Creole,
Text_Wiki_Doku, Text_Wiki_Mediawiki, Text_Wiki_Tiki
The extension PEAR::Text_Diff is available.
PEAR::Text_Diff makes inline diffing of content available.

Install bitweaver - bitweaver Settings Check
The extension PEAR::Image_Graphviz is available.
Pear::Image_Graphviz makes the {graphviz} plugin available. With it you can draw maps of how your
wiki pages are linked to each other. This can be used for informational purposes or a site-map.
It also requires the application graphviz to be installed as well.
The extension PEAR::HTMLPurifier is available.
HTMLPurifier is an advanced system for defending against Cross Site Scripting (XSS) attacks and
ensuring that all code on your site is standards compliant. It is highly recommended if you are going to
allow HTML submission to your site. It is not required if you are only going to use a wiki format like
tikiwiki or bbcode. You also need to enable it in the liberty plugins administration after installation. See

The extension PEAR::HTTP_Download is available.
Treasury - the file manager of bitweaver - can make use of PEAR::HTTP_Download to provide more
reliable downloads and download resume support when using a download manager.
All recommended pear extensions are installed.
Recommended Executables
Here we test for a set of executable files on your server. These files are not mandatory but will enable
you to perform certain tasks. We generally try to avoid using external applications, but sometimes it's
the easiest and quickest way to achieve a certain goal.
Recommended executables
The application tar is not available.
Tarball is a common archiving format on Linux and tar is used to extract .tar files.
The application bzip2 is not available.
Bzip is a common compression format on Linux and bzip2 is used to extract .bz2 and in combination
with tar .tar.bz2 file.
The application gzip is not available.
Gzip is a common compression format on Linux and gzip is used to extract .gz and in combination with
tar .tar.gz file.
The application unzip is available.

Install bitweaver - bitweaver Settings Check
Zip is a common compression format on all operating systems and unzip is used to extract .zip files.
The application unrar is not available.
Rar is a common compression format on all operating systems and unrar is used to extract .rar files.
The application gs is available.
GhostScript is an interpreter for the PostScript language and for PDF and is used to create PDF previews
when uploading PDFs to fisheye. If you do not have this installed, previews of PDF files will not be
generated on upload.
If you have difficulties with GhostScript, please try installing a different version. We have successfully
tested versions: 7.5, 8.15.4, 8.5, 8.54 and we have had difficulties with version 8.1
Your version of GhostScript: 7.07
The application graphviz is not available.
Graphviz is a way of representing structural information as diagrams of abstract graphs and networks
and visualizing that representation. It is used by the {graphviz} liberty plugin and you only need to
install it if you intend to enable that plugin.
The Pear::Image_Graphviz plugin is required as well.
Please bear in mind that certain options will not be available to you due to the fact that some of the
applications bitweaver uses are not available. e.g.: if unzip is not available, .zip files cannot be processed
after uploading them.
Settings worth knowing about
The settings below are merely for your information and are meant to help you work out problems that
might occur.
Settings worth knowing about
Maximum post size will restrict the size of files when you upload a file using a form
recommended 8M.
post_max_size is set to 8M
Upload max filesize is related to maximim post size and will also limit the size of uploads
recommended 8M.
upload_max_filesize is set to 8M
Maximum execution time is related to time outs in PHP - affects database upgrades and backups

Install bitweaver - bitweaver Settings Check
recommended 60.
max_execution_time is set to 60
l Installometer
l Welcome
l bitweaver Settings Check
l Install Options
l Database Connection
l Admin Setup
l Package Installation
l Resolve Conflicts
l bitweaver Settings
l Database Population
dheeru
Joined: 12 Feb 2009

Re: Bitweaver upgrade - fatal error

Posted:02 Mar 2009 (04:58 UTC)
Hi,

I did make changes to the kernel_config table has suggested by you and reinintiated the install.Still the blank page.

Im pasting the bitweaver settings check for your reference and sorry for pasting the huge amount of text. I have no clue, what needs to be done to get this working.

bitweaver 2.0.1 alpha
bitweaver PHP Settings
Server Settings
Required Settings
The settings below are required by bitweaver to run. If any of these settings are not met, you will have to
change these before you can continue with the installation process.
Required settings
PHP version is greater than 4.3.0.
Your installed version of PHP is 5.2.1.
The bitweaver configuration file is available and the file is writeable:
var/apache2/htdocs/bitweaver/kernel/config_inc.php
The storage directory is available and it is writeable.
var/apache2/htdocs/bitweaver/storage/
The temp directory is available and it is writeable.
var/apache2/htdocs/bitweaver/temp/
Your system meets all the requirements.
Install bitweaver - bitweaver Settings Check

Setting Should be Actual
Memory Limit at least 16M 128M
Safe Mode OFF OFF
Display Errors ON ON
File Uploads ON ON
Magic Quotes GPC OFF OFF
Magic Quotes Runtime OFF OFF
Magic Quotes Sybase OFF OFF
Register Globals OFF OFF
Output Buffering OFF OFF
Session auto start OFF OFF
All recommended settings have been met.

Recommended Extensions
Thoroughly recommended extensions
The extension zlib is available.
The zlib compression libraries are used to pack and unpack compressed files such as zip files.
The extension gd is available.
GD Libraries are used to manipulate images. We use these libraries to create thumbnails and convert
images from one format to another. The GD libaries are quite limited and don't support a number of
image formats including bmp. If you are planning on uploading and using a lot of images, we
recommend you use one of the other image processors.
If you are running Red Hat or Fedora Core, you can try running: yum install php-gd.
The extension imagick is not available.
ImageMagick supports a multitude of different image and video formats and can be used instead of the
GD Libraries. Using these libraries will allow you to upload most image formats without any
difficulties. For installation help, please view our online documentation: ImageMagick and

Install bitweaver - bitweaver Settings Check
MagickWand installation instructions or visit the ImageMagick homepage.
The extension magickwand is not available.
MagickWand the newer php extension for ImageMagick. For installation help, please view our online
documentation: ImageMagick and MagickWand installation instructions or visit the ImageMagick
homepage.
The extension eAccelerator is available.
eAccelerator increases the efficiency of php by caching and optimising queries. Using this extension will
greatly increase your servers performance and reduce the memory needed to run bitweaver.
Before you continue, we suggest that you try and install the mentioned extensions. If you can not do
so, please bear in mind that these extensions can be installed at any time and might enhance your
bitweaver experience.
Recommended PEAR Extensions
PEAR provides extensions to php, which can easily be installed and updated using the pear interface on
linux. None of the extenstions below are required, they always provide an alternative to the existing
methods available. Often these alternatives are superior to the default methods.
Recommended PEAR Extensions
PEAR is available.
This check indicates if PEAR is installed and available. To make use of PEAR extensions, you need to
make sure that PEAR is installed and the include_path is set in your php.ini file.
The extension PEAR::Auth is available.
This will allow you to use the PEAR::Auth package to authenticate users on your website.
The extension PEAR::Text_Wiki is available.
Having PEAR::Text_Wiki installed will make more wiki format parsers available. The following parsers
will be recognised and used: Text_Wiki_BBCode, Text_Wiki_Cowiki, Text_Wiki_Creole,
Text_Wiki_Doku, Text_Wiki_Mediawiki, Text_Wiki_Tiki
The extension PEAR::Text_Diff is available.
PEAR::Text_Diff makes inline diffing of content available.

Install bitweaver - bitweaver Settings Check
The extension PEAR::Image_Graphviz is available.
Pear::Image_Graphviz makes the {graphviz} plugin available. With it you can draw maps of how your
wiki pages are linked to each other. This can be used for informational purposes or a site-map.
It also requires the application graphviz to be installed as well.
The extension PEAR::HTMLPurifier is available.
HTMLPurifier is an advanced system for defending against Cross Site Scripting (XSS) attacks and
ensuring that all code on your site is standards compliant. It is highly recommended if you are going to
allow HTML submission to your site. It is not required if you are only going to use a wiki format like
tikiwiki or bbcode. You also need to enable it in the liberty plugins administration after installation. See

The extension PEAR::HTTP_Download is available.
Treasury - the file manager of bitweaver - can make use of PEAR::HTTP_Download to provide more
reliable downloads and download resume support when using a download manager.
All recommended pear extensions are installed.
Recommended Executables
Here we test for a set of executable files on your server. These files are not mandatory but will enable
you to perform certain tasks. We generally try to avoid using external applications, but sometimes it's
the easiest and quickest way to achieve a certain goal.
Recommended executables
The application tar is not available.
Tarball is a common archiving format on Linux and tar is used to extract .tar files.
The application bzip2 is not available.
Bzip is a common compression format on Linux and bzip2 is used to extract .bz2 and in combination
with tar .tar.bz2 file.
The application gzip is not available.
Gzip is a common compression format on Linux and gzip is used to extract .gz and in combination with
tar .tar.gz file.
The application unzip is available.

Install bitweaver - bitweaver Settings Check
Zip is a common compression format on all operating systems and unzip is used to extract .zip files.
The application unrar is not available.
Rar is a common compression format on all operating systems and unrar is used to extract .rar files.
The application gs is available.
GhostScript is an interpreter for the PostScript language and for PDF and is used to create PDF previews
when uploading PDFs to fisheye. If you do not have this installed, previews of PDF files will not be
generated on upload.
If you have difficulties with GhostScript, please try installing a different version. We have successfully
tested versions: 7.5, 8.15.4, 8.5, 8.54 and we have had difficulties with version 8.1
Your version of GhostScript: 7.07
The application graphviz is not available.
Graphviz is a way of representing structural information as diagrams of abstract graphs and networks
and visualizing that representation. It is used by the {graphviz} liberty plugin and you only need to
install it if you intend to enable that plugin.
The Pear::Image_Graphviz plugin is required as well.
Please bear in mind that certain options will not be available to you due to the fact that some of the
applications bitweaver uses are not available. e.g.: if unzip is not available, .zip files cannot be processed
after uploading them.
Settings worth knowing about
The settings below are merely for your information and are meant to help you work out problems that
might occur.
Settings worth knowing about
Maximum post size will restrict the size of files when you upload a file using a form
recommended 8M.
post_max_size is set to 8M
Upload max filesize is related to maximim post size and will also limit the size of uploads
recommended 8M.
upload_max_filesize is set to 8M
Maximum execution time is related to time outs in PHP - affects database upgrades and backups

Install bitweaver - bitweaver Settings Check
recommended 60.
max_execution_time is set to 60
l Installometer
l Welcome
l bitweaver Settings Check
l Install Options
l Database Connection
l Admin Setup
l Package Installation
l Resolve Conflicts
l bitweaver Settings
l Database Population
  Page 1 of 2 »1 2