Anonymous
Unregistered
Posted 8 years ago #
I upgraded from b2 0.61, and I got problem with the $abspath variable.
Seems like it's not getting set correctly.
I had to manually put in the correct valu in the bottom of b2config.php file.
It seems like this is an issue with the use of: getenv('DOCUMENT_ROOT'), witch does not work as thought, if it is under a apahce vhost configuration.
Anonymous
Unregistered
Posted 8 years ago #
seems like the correct variable to use is:
PATH_TRANSLATED instead of DOCUMENT_ROOT
to get vhost configurations to work.
But with apache2 SAPI for php 4.x this does not work (wil be fixed in php 5).
It works for apache1 SAPI though..
ref: http://zend.com/zend/week/week138.php#Heading6
In a correct virtual hosting situation this variable is set, but we're discovering that many are not done with this, so we're using a different method entirely for future versions.