Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • sure, no problem! 🙂

    That would be great! I’m still using PHP 5.2 too, already changed the functions in the cwx-project.php …

    // PHP Date conversion
    $callback_dc = create_function('$matches', '
    		switch($matches[0]){
    			case \'dd\': return \'d\';
    			case \'d\':  return \'j\';
    			case \'mm\': return \'m\';
    			case \'m\':  return \'n\';
    			case \'yy\':  return \'y\';
    			case \'yyyy\': return \'Y\';
    		}
    		return \'\';
    ');
    self::$dateFormatOut = self::$dateFormatIn = preg_replace_callback($search, $callback_dc, self::$dateFormat);
    
    // Date format for jQ UI Datepicker
    $callback_df = create_function('$matches', '
    		switch($matches[0]){
    			case \'d\':  return \'dd\';
    			case \'m\': return \'mm\';
    			case \'m\':  return \'n\';
    			case \'yyyy\':  return \'yy\';
    			case \'yyyy\': return \'Y\';
    		}
    		return $matches[0];
    
    ');
    self::$dateFormatJSOut = preg_replace_callback($search, $callback_df, self::$dateFormat);

    So the plugin gets installed, but when I hit the “Create Project” button, my server crashes. There must be another part thats not compatible with the old PHP version.

Viewing 2 replies - 1 through 2 (of 2 total)