nach dem Update habe ich folgende Probleme:
- Frontend: In geschützten Bereichen sind die Links nicht mehr anklickbar, man wird auf die Login Seite weitergeleitet. Wen AMR ausgeschaltet ist funktioniert es. Das Problem scheint nur im Internet Explorer zu sein.
- Backend: Im Log sehe ich dauernd diesen Fehler (nach 2 Tagen fast 8 MB)
- Die Bilder in dem folgenden Modul werden nicht mehr angezeigt, auch nicht wenn ich Sie neu auswähleDeprecated call: cApiStrTrimAfterWord() [functions.api.string.php(49)]: "This method is deprecated and is not needed any longer"
cApiStrTrimAfterWord() called in file include.front_content.php(750) : eval()'d code(359)
eval() called in file include.front_content.php(750)
include() called in file front_content.php(62)
Code: Alles auswählen
<?php
/**
* description: standard image
*
* @package Module
* @subpackage ContentImage
* @version SVN Revision $Rev:$
*
* @author marcus.gnass@4fb.de
* @copyright four for business AG <www.4fb.de>
* @license http://www.contenido.org/license/LIZENZ.txt
* @link http://www.4fb.de
* @link http://www.contenido.org
*/
// assert framework initialization
defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
$typeGenerator = new cTypeGenerator();
$clientConfig = cRegistry::getClientConfig(cRegistry::getClientId());
$images = array();
$modul_nr = isset($modul_nr) ? $modul_nr + 1: 100;
$imageSource = stripslashes($typeGenerator->getGeneratedCmsTag("CMS_IMG", $modul_nr));
$imageDescription = stripslashes($typeGenerator->getGeneratedCmsTag("CMS_IMGDESCR", $modul_nr));
// get editor as content type IMGEDITOR with index 1
// skip IMGEDITOR in frontend cause it displays the image too!
if (cRegistry::isBackendEditMode()) {
$imageEditor = stripslashes($typeGenerator->getGeneratedCmsTag("CMS_IMGEDITOR", $modul_nr));
}
// build class containing all data necessary to display image
// therefor the image dimensions have to be determined
if (0 < strlen($imageSource)) {
$clientConfig = cRegistry::getClientConfig(cRegistry::getClientId());
$filename = str_replace($clientConfig["upl"]["htmlpath"], $clientConfig["upl"]["path"], $imageSource);
list($imageWidth, $imageHeight) = getimagesize($filename);
$image = new stdClass();
$image->src = $imageSource;
$image->alt = $imageDescription;
$image->width = $imageWidth;
$image->height = $imageHeight;
} else {
$image = NULL;
}
// When in backend edit mode add a label so the author
// knows what to type in the shown field.
if (cRegistry::isBackendEditMode()) {
$label = mi18n("LABEL_IMAGE");
} else {
$label = NULL;
}
// use smarty template to output header text
$tpl = cSmartyFrontend::getInstance();
$tpl->assign('label', $label);
$tpl->assign('editor', $imageEditor);
$tpl->assign('image', $image);
$tpl->display('get.tpl');
?>
DANKE
Ralf