WordPress.org

Ready to get started?Download WordPress

Forums

abspath not set correctly (4 posts)

  1. Anonymous
    Unregistered
    Posted 11 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.

  2. Anonymous
    Unregistered
    Posted 11 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

  3. mmenke
    Member
    Posted 11 years ago #

    had this as well

  4. Matt Mullenweg
    Troublemaker
    Posted 11 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.