( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.04963877376include( '/var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/generated/templates/4.template' ).../class.rex_article_base.inc.php(395) : eval()'d code:5
50.06464280088seo42::getLangTags( ).../4.template:114
60.06554286072OOArticle::getArticleById( ).../class.seo42.inc.php:236

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.04963877376include( '/var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/generated/templates/4.template' ).../class.rex_article_base.inc.php(395) : eval()'d code:5
50.06464280088seo42::getLangTags( ).../4.template:114
60.06754293856OOArticle::getArticleById( ).../class.seo42.inc.php:236

Termine


( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.08214699976OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.08424765112OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.08604846032OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.08784927480OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.08965008544OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.09155085408OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.09335166512OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.09525247664OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.09725328920OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.09905405808OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.10125487568OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.ooarticle.inc.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.08144689504OOArticle::getArticlesOfCategory( ).../class.rex_article.inc.php(126) : eval()'d code:858
70.10315569056OOArticle::getArticleById( ).../class.ooarticle.inc.php:107

( ! ) Warning: require_once(): Unable to allocate memory for pool. in /var/www/vhosts/h221300.host218.alfahosting-server.de/html/neues/redaxo/include/classes/class.oomedia.inc.php on line 116
Call Stack
#TimeMemoryFunctionLocation
10.0002246360{main}( ).../index.php:0
20.04893830120rex_article_base->getArticleTemplate( ).../index.php:55
30.04943876264eval( '?>getFile(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("article_id")); echo $this->getArticle(); ?>
getValue("art_footer")!='') { echo ''."\n"; } elseif($siteStartArticle->getValue("art_footer")!='') { echo ''."\n"; } ?>
getValue("cat_menu") == 1 && $root->getValue("cat_content") == 2) { print getTheArticleAsModal($root->getId()); } } ?> getFile(); ?> '
)
.../class.rex_article_base.inc.php:395
40.07954334120rex_article->getArticle( ).../class.rex_article_base.inc.php(395) : eval()'d code:45
50.08134684976eval( '?>ctype == '1' || ($this->ctype == '-1')) { ?>getValue('id')) //Selbstauflistung unterbinden { //Startartikel if($withstartpage == '1' || $thearticle->getValue('startpage') != '1') { //Teaser if(($onlyteaser != '1' || $onlyteaser != '3') || $thearticle->getValue('art_teaser') == '1') { //Datum: online_from / online_to if($metatime != '1' || ($thearticle->getValue('art_online_from') <= date('U') && $thearticle->getValue('art_online_to') >= date('U'))) { $show_articles[] = $thearticle; } } } } } return $show_articles; } } // Sortierfunktion if(!function_exists("sortArticlesByprior1")) { function sortArticlesByprior1( $artA, $artB) { $sortby = 'prior'; //name, createdate, updatedate, online_from, online_to, prior $createA = $artA->getValue($sortby); $createB = $artB->getValue($sortby); if ( $createA == $createB) { return 0; } if('1') return $createA > $createB ? -1 : 1; else return $createA < $createB ? -1 : 1; } } //Paginierung if(!function_exists("generatePagination")) { function generatePagination($articles, $listpage='0', $itemsperpage, $listnum, $wholewidth) { global $REX; $GETPARAMS = $_GET; unset($GETPARAMS['list'.$listnum.'page']); $output = ''; if($itemsperpage > 0) { $prevtext = "«"; $nexttext = "»"; $itemcount = count($articles); $output = ''; $pagecount = ceil($itemcount / $itemsperpage); if($pagecount > 1) { if($listpage > $pagecount) $listpage = $pagecount; $prevpagenum = -1; $nextpagenum = -1; if($listpage > 0) $prevpagenum = $listpage-1; if($listpage < ($pagecount-1)) $nextpagenum = $listpage+1; $output = '
'."\n"; $output = ''."\n"; $output .= '
'."\n"; } return $output; } else { return ""; } } } //Limitierung if(!function_exists("limitArticles")) { function limitArticles($articles, $listpage = '0', $itemsperpage) { if($itemsperpage) { $itemcount = count($articles); $pagecount = ($itemcount / $itemsperpage); if($listpage > $pagecount) $listpage = $pagecount; $offset = $listpage*$itemsperpage; return array_slice ($articles, $offset ,$itemsperpage); } return $articles; } } //Artikel Output for Slider if(!function_exists("createArticleOutputPicture")) { function createArticleOutputPicture($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } $output .= ' '.$listHeadline.''."\n"; if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputPictureModal")) { function createArticleOutputPictureModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the slide item DIV if($counter == '0') { $output .= '
'."\n"; } else { $output .= '
'."\n"; } //Generate image - with link // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // $output .= ' '.$listHeadline.''."\n"; // if($withmorelink == '0' || $withmorelink == '1') // { // $output .= ' '."\n"; // } // Texte erstellen if($sliderTexts != '0') { $output .= ' '."\n"; } //$output .= '
'."\n"; //$output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Slider with Modal if(!function_exists("createArticleOutputModal")) { function createArticleOutputModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_slider_'.$rexMobile; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= ' '."\n"; $output .= ''."\n"; $output .= ' '."\n"; return $output; } } //Artikel Output for Texts if(!function_exists("createArticleOutputPictureText")) { function createArticleOutputPictureText($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y H:i",$eventStart)."\n"; if($eventEnd != '') { $output .= '
- '.date("d.m.Y H:i",$eventEnd)."\n"; } $output .= '
'; } // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } //Artikel Output for Texts with modal if(!function_exists("createArticleOutputPictureTextModal")) { function createArticleOutputPictureTextModal($article, $thumbsize, $fromMetadata, $withmorelink, $counter, $sliderTexts, $rexMobile, $shortenText, $textpart, $teaserwidth, $format) { global $REX; $output = ''; $articleId = $article->getId(); //Woher beziehe ich die Informationen if($fromMetadata != '1') // from Metadata { $listHeadline = $article->getName(); $listShortTxt = $article->getValue('art_description'); $listImage = $article->getValue('art_picture'); $mfile = OOMedia::getMediaByFileName($listImage); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } //Meta-Zeiträume $newsDate = $article->getValue('art_newsdate'); $eventStart = $article->getValue('art_eventstart'); $eventEnd = $article->getValue('art_eventend'); } else // from first Slice { if($firstSlice = OOArticleSlice::getFirstSliceForArticle($articleId)) { $listHeadline = $firstSlice->getValue(1); $listShortTxt = $firstSlice->getValue(2); $listImage = $firstSlice->getFile(1); //Make sure there is a picture $imageFile = $listImage; if($imageFile == '') $imageFile = 'dummy.jpg'; $mfile = OOMedia::getMediaByFileName($imageFile); // oder hole ich mir diese doch aus dem Medienpool? if($sliderTexts == '1') { $listHeadline = $mfile->getValue('med_title_'.$REX['CUR_CLANG']); $listShortTxt = $mfile->getValue('med_description_'.$REX['CUR_CLANG']); } } } $imageType='rex_alist_thumbs_'.$rexMobile; if($format == 'pictext_out') $imageType='rex_alist_pics_'.$rexMobile; // generate image manager url if (method_exists('seo42', 'getImageManagerFile')) { $imageManagerUrl = seo42::getImageManagerFile($imageFile, $imageType); } elseif (method_exists('seo42', 'getImageManagerUrl')) { // compat $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); } else { if ($REX['REDAXO']) { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } else { $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; } } //Start the surrounding DIV $output = '
'."\n"; $output .= '
'."\n"; $output .= '
'."\n"; //Generate image - with link if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } if($thumbsize != '0') { $output .= ' '.$listHeadline.''."\n"; } if(($withmorelink != '5' || $withmorelink == '1') && $thumbsize != '0') { $output .= ' '."\n"; } // Texte erstellen if($sliderTexts != '0') { $output .= '
'."\n"; $output .= '
'."\n"; // Headline - w. link if($listHeadline != '' && $textpart != '2') { $output .= '

'."\n"; $output .= ' '."\n"; $output .= ' '.$listHeadline."\n"; $output .= ' '."\n"; $output .= '

'."\n"; } //News-Date / Event-Date if($newsDate != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$newsDate)."\n"; $output .= '
'; } if($eventStart != '') { $output .= '
'."\n"; $output .= date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart)."\n"; $eventDate = date("d.m.Y",$eventStart).' ab '.date("H:i",$eventStart); if($eventEnd != '') { $output .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd)."\n"; $eventDate .= ' - '.date("d.m.Y",$eventEnd).' bis '.date("H:i",$eventEnd); } $output .= '
'; } //Textpart if($shortenText != '' && $textpart != '1') { $output .= '

'.shortText($listShortTxt,$shortenText).'

'."\n"; } elseif($textpart != '1') { $output .= '

'.$listShortTxt.'

'."\n"; } if($withmorelink == '0' || $withmorelink == '1') { $output .= ' '."\n"; $output .= ' '.rex_string_table::getString('MORELINK')."\n"; $output .= ' '."\n"; } $output .= '
'."\n"; $output .= '
'."\n"; } $output .= '
'."\n"; $gta_out = new article(); $gta_out->setArticleID($articleId); //Get the modal out $output .= ''."\n"; $output .= ''."\n"; $output .= '
'."\n"; $output .= '
'."\n"; return $output; } } // Ausgabe-Code erzeugen //nummerierung für GET if($MLnum <0) $MLnum = 1; else $MLnum ++; //Multiples auseinanderbauen $position = stripos("a:1:{i:0;s:1:"3";}","{"); if($position == 4) { $numwid = 1; } elseif($position == 5) { $numwid = 2; } else { $numwid = 3; } $anzahl = substr("a:1:{i:0;s:1:"3";}",2,$numwid); $selarray = substr("a:1:{i:0;s:1:"3";}",$position); $klammern = array("{","}"); $quotes = '"'; $selarray = str_replace($klammern,"",$selarray); $selarray = str_replace($quotes,"",$selarray); $suchmuster = "/i:[0-9]+;s:[0-9]+:/"; preg_match_all($suchmuster, $selarray, $treffer); $selects = str_replace($treffer[0],"",$selarray); $selects = substr($selects,0,-1); $selects = explode(";",$selects); $articles = array(); for($k=0;$k 0) { //sortieren if('prior') { usort($articles, 'sortArticlesByprior1'); } //Varblenübernahme $format = 'text_out'; //rex_slider,text_out,pictext_out $textpart = '0'; //both, Title, Teaser $slidertexts = '2'; //No Texts, Site/FirstSlice, Mediapool $shortenText = ''; //Shorten Text? //REX Mobile $rexMobile = $REX['MOBILE']; if($REX['REDAXO']) $rexMobile='redaxo'; //generate Pagination $pagination = ""; if('5' > 0) { $listpage = !empty($_GET['list'.$MLnum.'page']) ? (int) $_GET['list'.$MLnum.'page'] : 0; if('1' == '1') { $pagination = generatePagination($articles, $listpage, '5', $MLnum, 'col-sm-12'); } //Limit $articles = limitArticles($articles, $listpage, '5'); } if(count($articles) > 0) { if($format == 'rex_slider') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPicture($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; //echo '
'."\n"; } elseif($format == 'rex_slider_modal') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); $modals .= createArticleOutputModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart); } //echo '
'."\n"; echo ''."\n"; echo $modals; //echo '
'."\n"; } elseif($format == 'text_out' || $format == 'pictext_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureText($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } //echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.rex_string_table::getString('MORELINK').' '.$archiveName.''."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; //echo '
'."\n"; } elseif($format == 'pictextmodal_out') { $output = ''."\n"; for($i=0;$i<=count($articles)-1;$i++) { $output .= createArticleOutputPictureTextModal($articles[$i], 0, '0', '2', $i, $slidertexts, $rexMobile, $shortenText, $textpart, 'col-sm-12', $format); } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output."\n"; echo '
'."\n"; echo ' '.$pagination."\n"; if("" != '') { $archiveLink = OOArticle::getArticleById(""); $archiveName = $archiveLink->getName(); echo '

'."\n"; echo ' '.$archiveName.'-Archiv'."\n"; echo '

'; } echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; } } } ?> '
)
.../class.rex_article.inc.php:126
60.10725653432createArticleOutputPictureText( ).../class.rex_article.inc.php(126) : eval()'d code:966
70.10725654200OOMedia::getMediaByFileName( ).../class.rex_article.inc.php(126) : eval()'d code:506
02.04.2017 13:00
- 28.05.2017 15:00

Sonderausstellung ,,DER TEUFEL IST EIN EICHHÖRNCHEN'' vom 02.04.17- 28.05.17

Sonderausstellung Aleksandra Waliszewska 02.04.17 - 28.05.17 Kuratorin: Dr. Noemi Smolik In Zusammenarbeit mit der Leto Gallery Warszawa Während der Ausstellung präsentieren wir einen Film ,, Piwnica / Keller '' str!bog / twardoch / waliszewska

17.09.2016 13:00
- 08.10.2016 15:00

Sonderausstellung '' UND FARBWOLKEN LACHTEN MICH AN '' vom 17.09.16 bis 08.10.16

Vom 17.09.16 bis 08.10.16 findet im Museum Jerke eine Sonderausstellung statt. Präsentiert werden Kunstwerke des polnischen Malers Ryszard Grzyb. Bitte beachten Sie unsere gesonderten Öffnungszeiten

06.07.2016 17:00
- 06.07.2016 18:00

Museumsführung für Sehbehinderte Kinder

Am Mittwoch den 06. Juli 2016 möchte die Jerke Art Foundation Sehbehinderte Kinder zu einer Museumsführung einladen.

24.04.2016 13:00
- 24.04.2016 16:00

Eröffnung des Museums

Am Sonntag den 24.04.16 wird das Museum feierlich eröffnet. Um 13.00 Uhr findet in der St.Peter Kirche in Recklinghausen die Eröffnung statt.

26.01.2016 00:00
- 08.05.2016 00:00

11 Wochen Polnische Kunst

11 Wochen Polnische Kunst Bochum - Marl- Recklinghausen. 21.02 - 08.05.2016 In einer gemeinsamen Ausstellungsinitiative begrüßen das Kunstmuseum Bochum, das Skulpturenmuseum Glaskasten Marl und die Kunsthalle Recklinghausen das auf polnische Kunst spezialisierte Museum Jerke, das im April 2016 eröffnen wird.