ich habe gestern auf meinem Rechner xampp installiert, dazu Joomla beides funktioniert auch. Ich habe bei Joomla im Admin Bereich nur einige Fehlermeldungen die in den PHP Datein liegen. Zwei Fehler konnte ich schon beheben , nur hier komm ich nicht weiter,
Fehlermeldung unter Joomla: Warning: Parameter 1 to JHTMLGrid::access() expected to be a reference, value given in C:\xampp\htdocs\joomla\libraries\joomla\html\html.php on line 87
Ich weiß jetzt nur leider nicht wo ich und vor allem was ich ändern soll?
Hier die dazu passende Datei:
- Code: Select all
**
* @version $Id: html.php 12350 2009-06-24 13:42:16Z ian $
* @package Joomla.Framework
* @subpackage HTML
* @copyright Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
/**
* Utility class for all HTML drawing classes
*
* @static
* @package Joomla.Framework
* @subpackage HTML
* @since 1.5
*/
class JHTML
{
/**
* Class loader method
*
* Additional arguments may be supplied and are passed to the sub-class.
* Additional include paths are also able to be specified for third-party use
*
* @param string The name of helper method to load, (prefix).(class).function
* prefix and class are optional and can be used to load custom
* html helpers.
*/
function _( $type )
{
//Initialise variables
$prefix = 'JHTML';
$file = '';
$func = $type;
// Check to see if we need to load a helper file
$parts = explode('.', $type);
switch(count($parts))
{
case 3 :
{
$prefix = preg_replace( '#[^A-Z0-9_]#i', '', $parts[0] );
$file = preg_replace( '#[^A-Z0-9_]#i', '', $parts[1] );
$func = preg_replace( '#[^A-Z0-9_]#i', '', $parts[2] );
} break;
case 2 :
{
$file = preg_replace( '#[^A-Z0-9_]#i', '', $parts[0] );
$func = preg_replace( '#[^A-Z0-9_]#i', '', $parts[1] );
} break;
}
$className = $prefix.ucfirst($file);
if (!class_exists( $className ))
{
jimport('joomla.filesystem.path');
if ($path = JPath::find(JHTML::addIncludePath(), strtolower($file).'.php'))
{
require_once $path;
if (!class_exists( $className ))
{
JError::raiseWarning( 0, $className.'::' .$func. ' not found in file.' );
return false;
}
}
else
{
JError::raiseWarning( 0, $prefix.$file . ' not supported. File not found.' );
return false;
}
}
if (is_callable( array( $className, $func ) ))
{
$args = func_get_args();
array_shift( $args );
return call_user_func_array( array( $className, $func ), $args );
}
else
{
JError::raiseWarning( 0, $className.'::'.$func.' not supported.' );
return false;
}
}
Ich bin auf diesem Gebiet absoluter Laie, wie man sieht/liest. Ich hoffe mir kann jemand eine einfache verständliche Hilfe geben...Hab da noch so ein paar Meldungen
Gruß Schorni