Nachdem meine Seite durch die Umstellung auf PHP 5.3 erst einmal unbrauchbar geworden ist, habe ich versucht, die Fehler in Joomla 1.0.15 Schritt für Schritt zu beseitigen. Ohne Anspruch auf Vollständigkeit hier die notwendigen Änderungen in den einzelnen Dateien als „workaround“. Damit funktioniert es zumindest bei mir wieder richtig. Vielleicht hilft es ja dem einen oder anderen weiter.
Die Darstellung ist im Format: Zeilennummer/Originalcode/geänderter Code. Viel Erfolg!
/components/com_content/content.php
154:
function frontpage( $gid, &$access, $pop, $now, $limit, $limitstart ) {
function frontpage( $gid, $access, $pop, $now, $limit, $limitstart ) {
228:
function showSection( $id, $gid, &$access, $now ) {
function showSection( $id, $gid, $access, $now ) {
375:
function showCategory( $id, $gid, &$access, $sectionid, $limit, $selected, $limitstart, $now, $selected, $filter ) {
function showCategory( $id, $gid, $access, $sectionid, $limit, $selected, $limitstart, $now, $selected, $filter ) {
636:
function showBlogSection( $id=0, $gid, &$access, $pop, $now=NULL, $limit, $limitstart ) {
function showBlogSection( $id=0, $gid, $access, $pop, $now=NULL, $limit, $limitstart ) {
742:
function showBlogCategory( $id=0, $gid, &$access, $pop, $now, $limit, $limitstart ) {
function showBlogCategory( $id=0, $gid, $access, $pop, $now, $limit, $limitstart ) {
864:
function showArchiveSection( $id=NULL, $gid, &$access, $pop, $option, $year, $month, $limit, $limitstart ) {
function showArchiveSection( $id=NULL, $gid, $access, $pop, $option, $year, $month, $limit, $limitstart ) {
998:
function showArchiveCategory( $id=0, $gid, &$access, $pop, $option, $year, $month, $module, $limit, $limitstart ) {
function showArchiveCategory( $id=0, $gid, $access, $pop, $option, $year, $month, $module, $limit, $limitstart ) {
1399:
function showItem( $uid, $gid, &$access, $pop, $option=‚com_content‘, $now ) {
function showItem( $uid, $gid, $access, $pop, $option=‚com_content‘, $now ) {
1500:
function show( $row, $params, $gid, &$access, $pop, $option=‚com_content‘, $ItemidCount=NULL ) {
function show( $row, $params, $gid, $access, $pop, $option=‚com_content‘, $ItemidCount=NULL ) {
/components/com_content/content.html.php
437:
function show( &$row, &$params, &$access, $page=0 ) {
function show( $row, $params, $access, $page=0 ) {
/includes/vcard.class.php
37-75: diese Zeilen müssen mit /* und */ auskommentiert werden (sind anscheinend doppelt definiert)