Troubleshooting
Problems and solutions to installing and running bitweaver
Hey, Nobody Is Perfect
Bitweaver is constantly improving and occasionally we all run into one problem or another. Sometimes the problems you encounter can be caused by a typo or error in the code and other times it may very well be the way your webhosting environment is configured. To help you narrow the list of possible causes down here are some recommended steps that will help you to determine and possibly resolve any problems you are encountering while using Bitweaver:On Screen Errors
If you have no idea what it means when your bitweaver installation produces an error message on your website you can usually ask for help and get an answer from a community volunteer. Copy and past the error in the support forum. Be patient, we all do what we can.Review Your Servers Error Logs
If you experience something less obvious than an on screen error your servers error logs are an excellent place to start the hunt. This may not always provide an answer but it is a fast and easy thing to check.PHP 4
If you are starting a new website consider using a webhost that offers php 5. While bitweaver might install and run on php 4 there have been compatibility issues reported. Using php 5 seems to alleviate the majority of these issues. If you encounter an error, a bug, or notice that something on your site does not work that is working on bitweaver.org, you might have a php 4 related problem. Please tell us about it in the support forum. We will attempt to either confirm or deny that it is a php 4 related issue. Please be patient, we do what we can.PHP 5
Unknown at this time.RSS
Using bitweaver in a subdirectory may result in RSS feed topic link errors. We are working on a solution. And what do you know, a few hours later we have a solution. Edit the following 3 files.rss_inc.php line 29 comment out .BIT_ROOT_URL. don't miss the concatination or it won't help (:wink:)
<?php
$rss->syndicationURL = 'http://'.$_SERVER['HTTP_HOST']/*.BIT_ROOT_URL.'/'*/.$_SERVER['PHP_SELF'];
?>
articles_rss.php line 44
<?php
//old
/*$item->link = BIT_BASE_URI.$articles->getDisplayUrl( $feed['article_id'] );*/
// subdirectory fix
$item->link = 'http://'.$_SERVER['HTTP_HOST'].$articles->getDisplayUrl( $feed['article_id'] );
?>
blogs_rss.php line 52 or 53
<?php
//old
/*$item->link = BIT_BASE_URI.$blogPost->getDisplayUrl( $feed['content_id'] );*/
// subdirectory fix
$item->link = 'http://'.$_SERVER['HTTP_HOST'].$blogPost->getDisplayUrl( $feed['content_id'] );
?>
wiki_rss.php line 40
<?php
//old
/*$item->link = BIT_BASE_URI.$wiki->getDisplayUrl( $feed['title'] );*/
// subdirectory fix
$item->link = 'http://'.$_SERVER['HTTP_HOST'].$wiki->getDisplayUrl( $feed['title'] );
?>
That fixed everything, hopefully in the next release it will be a config option. Editing multiple files, while fun the first time, gets difficult to keep track of come upgrade time.
Comments
rss...
Tried and Tested
I did uncomment rss_inc.php line 29 .BIT_ROOT_URL. so it would be in its default state and:
{code}$gBitSystem->getConfig( 'kernel...{/code}
Produced a fatal error so I changed it to
{code}$gBitSystem->getPreference( 'feature... [/code}
Did not cause any errors but did not solve the problem.
I also tried the method suggested in the forums and that had no effect using rss from within a subdirectory.
I do not see the logic in editing setup_inc.php if the rest of bitweaver functions properly. Why not just correct the problem where it is in the module?
Error message
Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
Does anyone know what this would be on Trakzor for Myspace???
Could not grant access to the site
3.2a which using PHP5 and MYSQL 4.XX. The installation runs smoothly and its completes well. But when i hit "Enter your bitweaver site" there is an HTTP 404 error message. Its say "You dont have any permission to access to this site". Is someone could help me?
Storing Large Blobs of Text in MySQL
To change the table you can run this SQL, however, please make sure you have a backup of your database before you go fussing with it!