[phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/seourls/event/listener.php on line 213: Undefined array key "FORUM_NAME"
Admin Eingabefelder bleiben Leer nach Update auf PHP 5,4 - REDAXO Forum
Hallo,

Wir haben in letzter Zeit festgestellt, dass die Kommunikation via Slack viel schneller und zielführender ist als ein Beitrag im Forum. Aufgrund der neuen und besseren Möglichkeiten der Kommunikation haben wir uns entschlossen das Forum nur noch als Archiv zur Verfügung zu stellen. Somit bleibt es weiterhin möglich hier nach Lösungen zu suchen. Neue Beiträge können nicht mehr erstellt werden.

Wir empfehlen, für deine Fragen/Probleme Slack zu nutzen. Dort sind viele kompetente Benutzer aktiv und beantworten jegliche Fragen, gerne auch von REDAXO-Anfängern! Slack wird von uns sehr intensiv und meistens "rund um die Uhr" benutzt :-)
Selbst einladen kannst Du dich hier: https://redaxo.org/slack/
Richard Laing
Beiträge: 3
Registriert: 19. Apr 2018, 14:44

Admin Eingabefelder bleiben Leer nach Update auf PHP 5,4

19. Apr 2018, 14:59

Hi Gemeinde nach langem bin mal wieder hier und hab gleich ein Problem, die Eingabefelder in der Admin beim bearbeiten der Artikel sind leer seit PHP 5.4 (bei 5.3 geht es) hat da jemand eine Idee...? Ich war ja nie der Progger sondern mehr der Videoman :)
Die Server werden nun zwangsupgedatet.... ;(

Redaxo 4.21
Eingabe

Code: Alles auswählen


<?php

// geht nur wenn das addon textile installiert ist
if(OOAddon::isAvailable('textile'))
{
?>

<strong>Text: Tooltip beim Link: "Linkname(Linktooltip)":redaxo//ID</strong><br/>
<textarea name="VALUE[1]" class="markitup-text" cols="80" rows="10">REX_VALUE[1]</textarea>
<?php
a287_markitup::markitup('textarea.markitup-text',
  'h1,h2,h3,h4,h5,h6,separator,bold,italic,separator,listbullet,listnumeric,separator,intlink,extlink,separator,mailtolink,separator,filelink',
  '540','380'
);
?>
<br />
<br />

<strong>Artikelfoto</strong>:<br />
REX_MEDIA_BUTTON[1]
<?php
  $file = "";
  if ("REX_FILE[1]" != "") 
  $file = '<img src="'.$REX['HTDOCS_PATH'].'index.php?rex_resize='.$width.'REX_FILE[1]" title="'."REX_VALUE[2]".'" alt="'."REX_VALUE[2]".'" />';
?>
<br />
<br />


<strong>Title des Fotos</strong>:<br />
<input type="text" name="VALUE[2]" value="REX_VALUE[2]" size="80" class="inp100" />
<br /><br />
<?php
//Werte beliebig anpassen
//muessen mit den Werten der Ausgabe übereinstimmen!
?>
<strong>Bildgrösse</strong>:<br />
<select name="VALUE[8]" class="inp100">
                <option value='100'<? if ("REX_VALUE[8]" =='100') echo 'selected'; ?>>100px</option>
                <option value='150'<? if ("REX_VALUE[8]" =='150') echo 'selected'; ?>>150px</option>
                <option value='200'<? if ("REX_VALUE[8]" =='200') echo 'selected'; ?>>200px</option>
                <option value='230'<? if ("REX_VALUE[8]" =='230') echo 'selected'; ?>>230px</option>
                <option value='300'<? if ("REX_VALUE[8]" =='300') echo 'selected'; ?>>300px</option>
                <option value='480'<? if ("REX_VALUE[8]" =='480') echo 'selected'; ?>>480px</option>
                <option value='600'<? if ("REX_VALUE[8]" =='600') echo 'selected'; ?>>600px</option>
                <option value='600c'<? if ("REX_VALUE[8]" =='600c') echo 'selected'; ?>>600c</option>
</select><br />
<br />
<br />
<strong>Ausrichtung des Artikelfotos</strong>:<br />
<select name="VALUE[9]" class="inp100">
	<option value='l' <?php if ("REX_VALUE[9]" == 'l') echo 'selected'; ?>>links vom Text</option>
	<option value='r' <?php if ("REX_VALUE[9]" == 'r') echo 'selected'; ?>>rechts vom Text</option>
	<option value='o' <?php if ("REX_VALUE[9]" == 'o') echo 'selected'; ?>>oberhalb vom Text</option>
</select><br />
<br />
<br />
<strong>CSS class auswählen</strong>:<br />
<select name="VALUE[7]" class="inp100">
	<option value='1' <?php if ("REX_VALUE[7]" == '1') echo 'selected'; ?>>style 1</option>
	<option value='2' <?php if ("REX_VALUE[7]" == '2') echo 'selected'; ?>>style 2</option>
	<option value='3' <?php if ("REX_VALUE[7]" == '3') echo 'selected'; ?>>style 3</option>
</select><br />


<?php
  rex_a79_help_overview(); 
}
else
{
  echo rex_warning('Dieses Modul benötigt das "textile" Addon!');
}

?>


Ausgabe

Code: Alles auswählen

<?php
if(OOAddon::isAvailable('textile'))
{

//  Ausrichtung des Bildes 
$float ="";
	if ("REX_VALUE[9]" == "l") $float = "floatLeft";
	if ("REX_VALUE[9]" == "r") $float = "floatRight";
	if ("REX_VALUE[9]" == "o") $float = "center";

//    Grössenberechnungen
//    Werte beliebig anpassen
//    auf Uebereinstimmung mit der Eingabe achten!!
$width ="";
	if ("REX_VALUE[8]" =="100") $width = "100w__";
	if ("REX_VALUE[8]" =="150") $width = "150w__";
	if ("REX_VALUE[8]" =="200") $width = "200w__";
	if ("REX_VALUE[8]" =="300") $width = "300w__";
	if ("REX_VALUE[8]" =="230") $width = "230w__";
	if ("REX_VALUE[8]" =="480") $width = "480w__";
    if ("REX_VALUE[8]" =="600") $width = "600w__";
    if ("REX_VALUE[8]" =="600c") $width = "600c__250h__0o__";
//  css classen
$text_box_class ="";
	if ("REX_VALUE[7]" == "1") $text_box_class = "1";
	if ("REX_VALUE[7]" == "2") $text_box_class = "2";
	if ("REX_VALUE[7]" == "3") $text_box_class = "3";

  echo '<div class="text_box'.$text_box_class.'">';

//  Wenn Bild eingefuegt wurde, Code schreiben 
  $file = "";
  if ("REX_FILE[1]" != "") 
  $file = '<img class="'.$float.'" src="'.$REX['HTDOCS_PATH'].'index.php?rex_resize='.$width.'REX_FILE[1]" title="'."REX_VALUE[2]".'" alt="'."REX_VALUE[2]".'" />';

$text =<<< EOT
REX_HTML_VALUE[1]
EOT;

$text = html_entity_decode($text);

if (trim($text) != "") 
{
  $textile = new Textile; 
  $text = $textile->TextileThis($text);
}

echo $file.$text;

  echo '</div>';
}
else
{
  echo rex_warning('Dieses Modul benötigt das textile Addon!');
}
?>
Bin für jede Hilfe dankbar...
LG Richy


Richard Laing
Beiträge: 3
Registriert: 19. Apr 2018, 14:44

Re: Admin Eingabefelder bleiben Leer nach Update auf PHP 5,4

20. Apr 2018, 11:21

öhmmm.... das ist doch die änderung redaxo 4 auf redaxo 5 ...? oder sehe ich das falsch?

mein prob. ist ja das redaxo 4 .2.1 bleibt aber php von 5.3 auf 5.4 und höher ein update erfolgt ist

lg richy

Benutzeravatar
RexDude
Beiträge: 2543
Registriert: 22. Apr 2010, 11:24

Re: Admin Eingabefelder bleiben Leer nach Update auf PHP 5,4

20. Apr 2018, 15:21

acho sorry...forum verwechselt ;)
Ok dann werden vermutlich einige Notices etc. ausgeworfen die du sichtbar machen musst. Da würd ich mal als nächstes danach schauen...

Richard Laing
Beiträge: 3
Registriert: 19. Apr 2018, 14:44

Re: Admin Eingabefelder bleiben Leer nach Update auf PHP 5,4

23. Apr 2018, 14:50

ohhh gott....???
jetzt stehe ich mal gerade auf dem schlauch... das sind die fehler in der admin...
im frontend noch mehr... php 5.4 ist hier wohl nicht gewünscht, problem ist aber es gibt kein php 5.3 mehr... abgeschaltet... und nun ?

Code: Alles auswählen

Strict Standards: Non-static method OOCategory::getRootCategories() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.rex_select.inc.php on line 327

Strict Standards: Non-static method OOCategory::getChildrenById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 104

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOCategory::getCategoryById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 59

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OORedaxo::convertGeneratedArray() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.ooarticle.inc.php on line 45

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Strict Standards: Non-static method OOArticle::getArticleById() should not be called statically, assuming $this from incompatible context in /var/www/......./redaxo/include/classes/class.oocategory.inc.php on line 28

Beiträge der letzten Zeit anzeigen:
Sortiere nach

Benutzeravatar
RexDude
Beiträge: 2543
Registriert: 22. Apr 2010, 11:24

Re: Admin Eingabefelder bleiben Leer nach Update auf PHP 5,4

23. Apr 2018, 16:02

Update auf R4 4.7.2 (einfacher, php7 ready) oder R5 (aufwändiger)

Zurück zu „Allgemeines [R4]“