blogs

bug found during Mambo install

| |

The administrator subdirectory of mambo distribution contains 3 files named index?.php . All files required this change. administrator/includes/auth.php



inside each file, immediately following the line:
session_name( 'mosadmin' );


insert:
ini_set('session.save_handler', 'files');



must be prior to line:
session_start();



otherwise there are "failure to initiate properly" issues.



BACKGROUND INFO:

Directive session.save_handler defines session management handler. php.ini default value = 'user', which if I've read

Why do I get the error "ImportError: No module named neo_cgi" while installing Trac?

| |

[phpwiki]
I get this error while installing trac:

Trac detected an internal error:

No module named neo_cgi

Traceback (most recent call last):
File "/var/sites/myers.name/bob/cgi-bin/trac.cgi", line 25, in ?
trac.core.cgi_start()
File "/usr/lib/python2.3/site-packages/trac/core.py", line 477, in cgi_start
send_pretty_error(e, None)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 412, in send_pretty_error
req.init_request()
File "/usr/lib/python2.3/site-packages/trac/core.py", line 312, in init_request
Request.init_request(self)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 243, in init_request

Why do I get "ImportError: No module named trac" error while using trac-admin commands?

| |

You might come across this error while using trac-admin

trac-admin /opt/tracdb/uabgrid initenv
Traceback (most recent call last):
  File "/usr/local/bin/trac-admin", line 33, in ?
    from trac import util
ImportError: No module named trac

This error is caused because the python path for site-packages is not found. Set the environment variable PYTHONPATH

for example:

export PYTHONPATH=/usr/local/lib/python2.3/site-packages

Why do I get the error "No module named trac.core"?

| |

[phpwiki]
You might come across this error while installing Trac:

Oops...

Trac detected an internal error:

No module named trac.core

Traceback (most recent call last):
File "/var/www/cgi-bin/trac.cgi", line 24, in ?
import trac.core
ImportError: No module named trac.core

This error is caused because the python path for site-packages is not found. Set the environment variable PYTHONPATH in your Apache configuration file for Trac to point to the correct path.

for example:
PYTHONPATH:/usr/local/lib/python2.3/site-packages

How to enable ssl namespace while rewriting URLs?

| |

Enable the RewriteEngine and set the inherit option of the RewriteOptions in your ssl virtual host conf file.

Include the following in the ssl.conf file:

RewriteEngine on
RewriteOptions inherit

By default, rewrite configurations are not inherited. This means that you need to have a RewriteEngine on directive for each virtual host in which you wish to use it.

The option inherit forces the current configuration to inherit the configuration of the parent. In per-virtual-server context this means that the maps, conditions and rules of the main server are inherited. In per-directory context this means that conditions and rules of the parent directory's .htaccess configuration are inherited.

everyone has the best template tool

[phpwiki]
silbia's been working on getting the dependancies in place for
trac and subversion. in helping resolve some of the issues it seems trac
uses the one true templating system called clearsilver. after having
looked at the drupal templating options (thankfully nicely seperated via
the theme engine) where folks hype phptemplate and template toolkit. also
working with sympa where template toolkit is used. it seems that every
template tool vendor has the perfect solution. the one that you need to
use. guess that's a sure sign that the best way hasn't been discovered
yet.

sympa work now under cvs

finally got my sympa work under cvs. that just took too long. nothing
wrong with the process, it's just tedious to do this after the fact. much
better to get it under source control to start with than to try to back
port it later. :(

now I can work on merging this up to the 5.1 code base. I'd like to get
this with the nice new look.

probably need to get the wayf thing working first though. can't seem to
get the picture in my head on how to do this. i need a wayf for the vocore
and a wayf for the federations. the vo core wayf should be able to direct
the user to their prefered home institution regardles of what

sympa patch finally submitted

the title says it all. i finally got off my but and submitted the patch
to the sympa developers to support seperation of identity and email during
authentication in support of shibboleth and myvocs. many thanks to the
sympa team in helping develop this patch.

looking into folksonomy

| |

[phpwiki]
been looking into the updates that would be needed to support folksonomy in drupal, known as free tagging. i like the idea of letting the end user determine the vocabulary for entries. I looked at the [drupal support for tagging|http://drupal.org/node/20936]. it really needs it to allow end-user control over vocab. from the description of the features, though, it seems like it needs some work to add features. i'd like to get the [wordpress features jim described|https://mywebspace.wisc.edu/jamesphelps/web/WordPress/wordpress_folksonomy.html] because in order to use tags in a meaningful way, you really need to have a list of popular tags to choose from or reference.

tagging/folksonomy and bayesian filters

|

[phpwiki]
this idea has been rolling around in my head for a while and the thoughts
on tagging seem to make it an even more powerful option.

bayesian filters for spam seem to be a good way to train a filter to
answer a simple yes/no question about a given piece of content. "yes this
content belongs in catagory x" or "no this content does not belong in
catagory x". Normally the catagory is "inbox". After a while of training
the filter should get pretty good at identifying terminology patterns that
associate something with catagory x or not. if you think of each person's
inbox as a distinct catagory, then there are obvious millions of distinct

Syndicate content