1. Dashboard
  2. Forum
    1. Unerledigte Themen
  3. Downloads
  4. Galerie
    1. Alben
  5. Toolbox
    1. Passwort Generator
    2. Portchecker
  6. Mitglieder
    1. Mitgliedersuche
    2. Benutzer online
    3. Trophäen
    4. Team
Mo: 30 Juni 2025
  • Anmelden oder registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Forum
  • Dateien
  • Seiten
  • Bilder
  • Erweiterte Suche

Schön, dass du den Weg zu NodeZone.net gefunden hast! Aktuell bist du nicht angemeldet und kannst deshalb nur eingeschränkt auf unsere Community zugreifen. Um alle Funktionen freizuschalten, spannende Inhalte zu entdecken und dich aktiv einzubringen, registriere dich jetzt kostenlos oder melde dich mit deinem Account an.

Anmelden oder registrieren
    1. Nodezone.net Community
    2. Forum
    3. Entwicklung & Scripting
    4. Webentwicklung
    5. HTML, CSS, PHP, JS

    Cyberworks Installation Problem

    • Frenzy
    • 3. April 2022 um 17:56
    1. offizieller Beitrag
    • Frenzy
      Schüler
      Reaktionen
      1
      Trophäen
      5
      Beiträge
      124
      • 3. April 2022 um 17:56
      • #1

      Hello,

      I carefully arranged the Cyberworks installation. But I faced such problem in web panel.

      Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in C:\xampp\htdocs\cyberworks\vendor\twig\twig\lib\Twig\Node.php on line 42

      Spoiler anzeigen

      <?php

      /*

      * This file is part of Twig.

      *

      * (c) Fabien Potencier

      * (c) Armin Ronacher

      *

      * For the full copyright and license information, please view the LICENSE

      * file that was distributed with this source code.

      */

      /**

      * Represents a node in the AST.

      *

      * @author Fabien Potencier <[email protected]>

      */

      class Twig_Node implements Countable, IteratorAggregate

      {

      protected $nodes;

      protected $attributes;

      protected $lineno;

      protected $tag;

      private $name;

      /**

      * Constructor.

      *

      * The nodes are automatically made available as properties ($this->node).

      * The attributes are automatically made available as array items ($this['name']).

      *

      * @param array $nodes An array of named nodes

      * @param array $attributes An array of attributes (should not be nodes)

      * @param int $lineno The line number

      * @param string $tag The tag name associated with the Node

      */

      public function __construct(array $nodes = array(), array $attributes = array(), $lineno = 0, $tag = null)

      {

      foreach ($nodes as $name => $node) {

      if (!$node instanceof self) {

      throw new InvalidArgumentException(sprintf('Using "%s" for the value of node "%s" of "%s" is not supported. You must pass a Twig_Node instance.', is_object($node) ? get_class($node) : null === $node ? 'null' : gettype($node), $name, get_class($this)));

      }

      }

      $this->nodes = $nodes;

      $this->attributes = $attributes;

      $this->lineno = $lineno;

      $this->tag = $tag;

      }

      public function __toString()

      {

      $attributes = array();

      foreach ($this->attributes as $name => $value) {

      $attributes[] = sprintf('%s: %s', $name, str_replace("\n", '', var_export($value, true)));

      }

      $repr = array(get_class($this).'('.implode(', ', $attributes));

      if (count($this->nodes)) {

      foreach ($this->nodes as $name => $node) {

      $len = strlen($name) + 4;

      $noderepr = array();

      foreach (explode("\n", (string) $node) as $line) {

      $noderepr[] = str_repeat(' ', $len).$line;

      }

      $repr[] = sprintf(' %s: %s', $name, ltrim(implode("\n", $noderepr)));

      }

      $repr[] = ')';

      } else {

      $repr[0] .= ')';

      }

      return implode("\n", $repr);

      }

      public function compile(Twig_Compiler $compiler)

      {

      foreach ($this->nodes as $node) {

      $node->compile($compiler);

      }

      }

      public function getTemplateLine()

      {

      return $this->lineno;

      }

      public function getNodeTag()

      {

      return $this->tag;

      }

      /**

      * @return bool

      */

      public function hasAttribute($name)

      {

      return array_key_exists($name, $this->attributes);

      }

      /**

      * @return mixed

      */

      public function getAttribute($name)

      {

      if (!array_key_exists($name, $this->attributes)) {

      throw new LogicException(sprintf('Attribute "%s" does not exist for Node "%s".', $name, get_class($this)));

      }

      return $this->attributes[$name];

      }

      /**

      * @param string $name

      * @param mixed $value

      */

      public function setAttribute($name, $value)

      {

      $this->attributes[$name] = $value;

      }

      public function removeAttribute($name)

      {

      unset($this->attributes[$name]);

      }

      /**

      * @return bool

      */

      public function hasNode($name)

      {

      return isset($this->nodes[$name]);

      }

      /**

      * @return Twig_Node

      */

      public function getNode($name)

      {

      if (!isset($this->nodes[$name])) {

      throw new LogicException(sprintf('Node "%s" does not exist for Node "%s".', $name, get_class($this)));

      }

      return $this->nodes[$name];

      }

      public function setNode($name, self $node)

      {

      $this->nodes[$name] = $node;

      }

      public function removeNode($name)

      {

      unset($this->nodes[$name]);

      }

      public function count()

      {

      return count($this->nodes);

      }

      public function getIterator()

      {

      return new ArrayIterator($this->nodes);

      }

      public function setTemplateName($name)

      {

      $this->name = $name;

      foreach ($this->nodes as $node) {

      $node->setTemplateName($name);

      }

      }

      public function getTemplateName()

      {

      return $this->name;

      }

      }

      class_alias('Twig_Node', 'Twig\Node\Node', false);

      class_exists('Twig_Compiler');


    • nox
      Administrator
      Reaktionen
      1.861
      Trophäen
      11
      Artikel
      2
      Beiträge
      1.866
      Dateien
      36
      Bilder
      11
      • 4. April 2022 um 21:01
      • Offizieller Beitrag
      • #2

      Don't use xampp as it is an insecure development environment. You should rather use a standalone web server.

      Wichtige Links:

      [Erklärung|Leitfaden] Arma 3 Logs - Client, Server & extDB Log
      [Tutorial] ArmA 3 Altis Life RPG & Tanoa Life RPG Server einrichten unter Windows (mit extDB & BEC)
      BattlEye Filter - Guide und Erklärungen

      • Nächster offizieller Beitrag
    • pentoxide
      Fortgeschrittener
      Reaktionen
      243
      Trophäen
      11
      Beiträge
      363
      • 5. April 2022 um 19:47
      • Offizieller Beitrag
      • #3

      Are you running XAMPP on PHP8?

      Zitat von nox

      Don't use xampp as it is an insecure development environment. You should rather use a standalone web server.

      I can warmly recommend Native Servers Webhosting (https://native-servers.com/webhosting-webspace-mieten). They should have PHP7 if not the support should accomplish that :)

      pentoxide/Jonas

      Allzeit zu erreichen unter:

      [email protected]

      • Vorheriger offizieller Beitrag
      • Nächster offizieller Beitrag
    • Frenzy
      Schüler
      Reaktionen
      1
      Trophäen
      5
      Beiträge
      124
      • 6. April 2022 um 20:54
      • #4
      Zitat von pentoxide

      Are you running XAMPP on PHP8?

      I can warmly recommend Native Servers Webhosting (https://native-servers.com/webhosting-webspace-mieten). They should have PHP7 if not the support should accomplish that :)

      So, if I install AppServ : Apache + PHP + MySQL, will it work?

    • pentoxide
      Fortgeschrittener
      Reaktionen
      243
      Trophäen
      11
      Beiträge
      363
      • 8. April 2022 um 08:16
      • Offizieller Beitrag
      • #5

      I think so because they are running von PHP7.3 it should work. My first thought was that PHP8 is not supported by Cyberworks.

      So if you want to run everything on Windows it makes more sense to install the microsoft made IIS Webserver with the PHP Version of your choice.

      https://techexpert.tips/de/windows-de/…ows-server-iis/

      pentoxide/Jonas

      Allzeit zu erreichen unter:

      [email protected]

      • Vorheriger offizieller Beitrag
    • Frenzy
      Schüler
      Reaktionen
      1
      Trophäen
      5
      Beiträge
      124
      • 8. April 2022 um 16:29
      • #6

      Thank you bro.

    • Joe Barbaro 15. April 2022 um 21:29

      Hat das Thema aus dem Forum Hilfeforum - ArmA 3 nach PHP verschoben.
    • nox 11. Mai 2025 um 17:52

      Hat das Thema aus dem Forum PHP nach HTML, CSS, PHP, JS verschoben.

    Registrieren oder Einloggen

    Du bist noch kein Mitglied von NodeZone.net? Registriere dich kostenlos und werde Teil einer großartigen Community!

    Registrieren

    Wichtige Links & Informationen

    Server & Hosting-Ressourcen

      Server Administration & Hosting Basics

      Windows Server Support & Guides

      Linux Server Configuration & Help

      Setting up TeamSpeak 3 & VoIP Servers

      Domains & Web Hosting for Beginners & Professionals

      Cloud Hosting, Docker & Kubernetes Tutorials

    Gameserver & Modding-Ressourcen

      ArmA 3 Tutorials & Script Collection

      Renting & Operating Gameservers

      DayZ Server Management & Help

      FiveM (GTA V) Server & Script Development

      Rust Server Modding & Administration

      Setting up & Optimizing ARK Survival Servers

    NodeZone.net – Deine Community für Gameserver, Server-Hosting & Modding

      NodeZone.net ist dein Forum für Gameserver-Hosting, Rootserver, vServer, Webhosting und Modding. Seit 2015 bietet unsere Community eine zentrale Anlaufstelle für Server-Admins, Gamer und Technikbegeisterte, die sich über Server-Management, Hosting-Lösungen und Spielemodding austauschen möchten.


      Ob Anleitungen für eigene Gameserver, Hilfe bei Root- und vServer-Konfigurationen oder Tipps zu Modding & Scripting – bei uns findest du fundiertes Wissen und praxisnahe Tutorials. Mit einer stetig wachsenden Community findest du hier Antworten auf deine Fragen, Projektpartner und Gleichgesinnte für deine Gaming- und Serverprojekte. Schließe dich NodeZone.net an und werde Teil einer aktiven Community rund um Server-Hosting, Gameserver-Management und Modding-Ressourcen.

    Wer jetzt nicht teilt ist selber Schuld:
    1. Nutzungsbestimmungen
    2. Datenschutzerklärung
    3. Impressum
    4. Urheberrechts- oder Lizenzverstoß melden
  • Trimax Design coded & layout by Gino Zantarelli 2023-2025©
    Community-Software: WoltLab Suite™