Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Infinitas does not work on php 5.2 because of the lcfirst function used in core/events/libs/events.php line 226

#261

/**

     * Loads list of available event handlers in a event object
     *
     * @param object $Event
     * @access private
     */
    protected function _getAvailableHandlers($Event){
        if(is_object($Event)){
            $_this =& EventCore::getInstance();

            $reflection = new ReflectionClass($Event);
            $classMethods = array_filter($reflection->getMethods(), create_function('$v', 'return $v->class == "'.get_class($Event).'" && substr($v->name, 0, 2) == "on";'));

            $handlers = array_map(create_function('$v', 'return lcfirst(substr($v->name, 2));'), $classMethods);

            foreach($handlers as $handlerName){
                    $_this->_eventHandlerCache[$handlerName][] = get_class($Event);
            }
        }
    }

Reported by merovinq · August 11th, 2011 @ 04:06 PM

State: resolved
Milestone: none
Assigned to: dakota dakota

Activity

  1. merovinq
    merovinq

    Also error on my debian 5.2 box is: Fatal error: Call to undefined function lcfirst() in /var/www/infinitas/core/events/libs/events.php(226) : runtime-created function on line 1

    August 11th, 2011 @ 04:09 PM

  2. dakota
    dakota
    • State changed from new to resolved
    • Assigned user set to dakota

    This has been closed in commit 87c9695d7fc61261b1df11eef06d3c69925c699f

    August 23rd, 2011 @ 04:00 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.