Joomla! Forum Schweiz wird Teil der D-A-CH Community

Nach vielen Jahren als zentrale Anlaufstelle für Fragen rund um Joomla! in der Schweiz wird das Joomla! Forum Schweiz künftig als Archiv weitergeführt.

Die Joomla!-Communities aus Deutschland, Österreich und der Schweiz arbeiten heute enger denn je zusammen. Deshalb bündeln wir künftig auch den deutschsprachigen Support und Austausch an einem gemeinsamen Ort im Joomla! D-A-CH Forum.

Für neue Fragen, Diskussionen und den Austausch mit der Community nutzt bitte ab sofort:

forum.joomla.de

Das Joomla! Forum Schweiz bleibt weiterhin bestehen und wird als Archiv im Lesemodus erhalten. Die vielen Beiträge, Lösungen und Erfahrungen aus den vergangenen Jahren bleiben damit weiterhin zugänglich und über die Suche auffindbar.

Wir bedanken uns herzlich bei allen Mitgliedern, Moderatoren und Helfern, die das Schweizer Joomla! Forum über viele Jahre mit ihrem Wissen und ihrem Engagement geprägt haben.

Wir sehen uns im Joomla! D-A-CH Forum!

Fehlen bei Joomla 1-1.5.14

  • Guguseli
  • Autor
  • Neues Mitglied
  • Neues Mitglied
Mehr
29 Okt. 2009 12:13 #23378 von Guguseli
Fehlen bei Joomla 1-1.5.14 wurde erstellt von Guguseli
Hallo Zusammen

Ich habe mich jetzt doch dazu entschieden Joomla lokal auf der Platte zu Testen.
Ich habe Xampp für win 32 1.7.2 Installiert und in dem Ordner htdocs einen Unterordner Namens Joomla gemacht,
dort habe ich auch Joomla installiert und die OK Meldungen bekommen.

Nun habe ich auf der Frontpage von Joomla kein Admin eingabe Feld dort steht eine Fehlermeldung mit der ich nichts anfangen kann

"Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in C:\Xampp\xampp\htdocs\joomla\libraries\joomla\cache\handler\callback.php on line 99"

und so sieht die Datei aus
Code:
<?php /** * @version $Id: callback.php 10707 2008-08-21 09:52:47Z eddieajau $ * @package Joomla.Framework * @subpackage Cache * @copyright Copyright (C) 2005 - 2008 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. */ // Check to ensure this file is within the rest of the framework defined('JPATH_BASE') or die(); /** * Joomla! Cache callback type object * * @package Joomla.Framework * @subpackage Cache * @since 1.5 */ class JCacheCallback extends JCache { /** * Executes a cacheable callback if not found in cache else returns cached output and result * * Since arguments to this function are read with func_get_args you can pass any number of arguments to this method * as long as the first argument passed is the callback definition. * * The callback definition can be in several forms: * - Standard PHP Callback array <http://php.net/callback> &#91;recommended&#93; * - Function name as a string eg. 'foo' for function foo() * - Static method name as a string eg. 'MyClass::myMethod' for method myMethod() of class MyClass * * @access public * @return mixed Result of the callback * @since 1.5 */ function call() { // Get callback and arguments $args = func_get_args(); $callback = array_shift($args); return $this->get( $callback, $args ); } /** * Executes a cacheable callback if not found in cache else returns cached output and result * * @access public * @param mixed Callback or string shorthand for a callback * @param array Callback arguments * @return mixed Result of the callback * @since 1.5 */ function get( $callback, $args, $id=false ) { // Normalize callback if (is_array( $callback )) { // We have a standard php callback array -- do nothing } elseif (strstr( $callback, '::' )) { // This is shorthand for a static method callback classname::methodname list( $class, $method ) = explode( '::', $callback ); $callback = array( trim($class), trim($method) ); } elseif (strstr( $callback, '->' )) { /* * This is a really not so smart way of doing this... we provide this for backward compatability but this * WILL!!! disappear in a future version. If you are using this syntax change your code to use the standard * PHP callback array syntax: <http://php.net/callback> * * We have to use some silly global notation to pull it off and this is very unreliable */ list( $object_123456789, $method ) = explode('->', $callback); global $$object_123456789; $callback = array( $$object_123456789, $method ); } else { // We have just a standard function -- do nothing } if (!$id) { // Generate an ID $id = $this->_makeId($callback, $args); } // Get the storage handler and get callback cache data by id and group $data = parent::get($id); if ($data !== false) { $cached = unserialize( $data ); $output = $cached&#91;'output'&#93;; $result = $cached&#91;'result'&#93;; } else { ob_start(); ob_implicit_flush( false ); $result = call_user_func_array($callback, $args); $output = ob_get_contents(); ob_end_clean(); $cached = array(); $cached&#91;'output'&#93; = $output; $cached&#91;'result'&#93; = $result; // Store the cache data $this->store(serialize($cached), $id); } echo $output; return $result; } /** * Generate a callback cache id * * @access private * @param callback $callback Callback to cache * @param array $args Arguments to the callback method to cache * @return string MD5 Hash : function cache id * @since 1.5 */ function _makeId($callback, $args) { if(is_array($callback) && is_object($callback&#91;0&#93;)) { $vars = get_object_vars($callback&#91;0&#93;); $vars&#91;&#93; = strtolower(get_class($callback&#91;0&#93;)); $callback&#91;0&#93; = $vars; } return md5(serialize(array($callback, $args))); } }
Wer kann mit Helfen.

Ich arbeite mit vista home

Besten Dank
und es Griessli
Sascha
Mehr
29 Okt. 2009 12:37 #23379 von ghosty
ghosty antwortete auf Re: Fehlen bei Joomla 1-1.5.14
Hi...

Hab mal in deinem Post die Datei in CODE Tags gemacht, sieht doch gleich viel Angenehmer aus oder?

Welche PHP Version hast Du Installiert?

Gruess

Pete
  • DietmarH
  • Neues Mitglied
  • Neues Mitglied
Mehr
29 Okt. 2009 13:39 #23382 von DietmarH
DietmarH antwortete auf Re: Fehlen bei Joomla 1-1.5.14

ghosty schrieb: Welche PHP Version hast Du Installiert?

Xampp für win 32 1.7.2

Also PHP 5.3.0

Diese Frage kommt täglich, teilweise mehrmals täglich. Aber fragen geht ja schneller als suchen.
Mehr
29 Okt. 2009 14:02 #23384 von ghosty
ghosty antwortete auf Re: Fehlen bei Joomla 1-1.5.14

DietmarH schrieb: Also PHP 5.3.0

Diese Frage kommt täglich, teilweise mehrmals täglich. Aber fragen geht ja schneller als suchen.

Danke Dietmar,

Dann bitte ich Dich Sascha, das hier aufmerksam zu lesen: --ALTER LINK WURDE ENTFERNT--

Gruess

Pete
Moderatoren: Tribal6RePaoDragonlordChris Hoefligerpascaleadiheutschi.ch
Powered by Kunena Forum

Joomla! Verband Schweiz - Mitglied werden