Seite 1 von 1

4.9.1 Neuinstallation Plugin Workflow Problem

Verfasst: Sa 19. Okt 2013, 11:07
von yodatortenboxer
Hallo,

habe eben einmal die 4.9.1 komplett neu in eine leere Datenbank installiert.
Danach habe ich versucht alle Plugins zu installieren die unter Admin => Plugins gelistet sind.
Nachdem ich beim Plugin Workflow auf Installieren geklickt hatte, war der untere Frame nur noch eine weise Seite.
Ich hab mich dann aus und wieder eingeloggt und nun ist alles nur noch weis, kein Frame kein Text keine Menüs, also rein gar nix.
Im Quelltext der leeren Seite steht abenfalls nichts, also komplett leer.
Nun habe ich per FTP einmal in die Errorlog geschaut und da steht folgende Meldung:

Code: Alles auswählen

[19-Oct-2013 09:40:43 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
[19-Oct-2013 09:40:47 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
[19-Oct-2013 09:40:48 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
[19-Oct-2013 09:40:53 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
[19-Oct-2013 09:40:54 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
[19-Oct-2013 09:40:55 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
[19-Oct-2013 09:40:55 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
[19-Oct-2013 09:41:01 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
[19-Oct-2013 09:41:02 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
[19-Oct-2013 09:41:10 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
[19-Oct-2013 09:41:35 UTC] PHP Parse error:  syntax error, unexpected '(int)' (int) (T_INT_CAST) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/config.plugin.php on line 156
PHP-Info: http://contest.ralf-fleischer.de/info.php

ein Bug?

Re: 4.9.1 Neuinstallation Plugin Workflow Problem

Verfasst: Sa 19. Okt 2013, 11:59
von xmurrix
Hallo yodatortenboxer,

danke für das Feedback, es ist ein Bug. Ändere einfach die Zeile 156 von

Code: Alles auswählen

    $workflowworkflows->select("idclient = '$client' AND idlang = " (int) $lang);

Code: Alles auswählen

    $workflowworkflows->select("idclient = '$client' AND idlang = " . (int) $lang);
Da fehlt der Punkt...

Grüße
xmurrix

Re: 4.9.1 Neuinstallation Plugin Workflow Problem

Verfasst: Sa 19. Okt 2013, 12:18
von yodatortenboxer
ok, ist geändert.
Es geht aber leider immer noch nicht und nun ist die Fehlermeldung:

Code: Alles auswählen

[19-Oct-2013 11:12:49 UTC] PHP Parse error:  syntax error, unexpected '$idartlang' (T_VARIABLE) in /var/www/vhosts/test/contest/contenido/plugins/workflow/includes/functions.workflow.php on line 422
Dort fehlt ebenfalls in der functions.workflow.php Zeile 422 der Punkt bei

Code: Alles auswählen

$sql = "SELECT idart, idlang FROM " . $cfg["tab"]["art_lang"] . " WHERE idartlang = " $idartlang;

also

Code: Alles auswählen

$sql = "SELECT idart, idlang FROM " . $cfg["tab"]["art_lang"] . " WHERE idartlang = " . $idartlang;
Nachdem hinzufügen geht alles wieder ohne Fehlermeldungen.

Grüße von Usedom

Re: 4.9.1 Neuinstallation Plugin Workflow Problem

Verfasst: Sa 19. Okt 2013, 12:26
von xmurrix
Immer diese Punkte... :-)

Danke und ein schönes Wochenede
xmurrix