Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login
    1. Home
    2. Simeon
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    Simeon

    @Simeon

    0
    Reputation
    60
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Age 24

    Simeon Unfollow Follow

    Latest posts made by Simeon

    • RE: Probleme mit der Datenbankanbindung

      Moin Moin

      Wo mir das grad so auffällt, ich bglaub ich bin hier Falsch,
      kann ein Admin bitte diesen Thread nach Support verschieben?

      Danke!

      posted in Betrieb
      S
      Simeon
    • RE: Probleme mit der Datenbankanbindung

      Weitere Infos:

      Also das mit dem kopieren der config.inc.php war wohl eine denkbar schlechte idee. Es handelte sich wohl um die Konfigurationsdatei von V0.9Beta1.
      Ich habe eine weitere in dem unterordner setup gefunden /var/www/i-doit-beta/setup/config_template.inc.php, mit der leif es auch ein wenig besser;-)

      Fehler kommt nichtmehr in Zeile globals.inc.php 253 sondern erst bei globals.inc.php Zeile 271

      Fehlermeldung:
      Fatal error: Argument 1 passed to isys_component_dao_registry::__construct() must not be null, called in /var/www/i-doit-beta/src/globals.inc.php on line 271 and defined in /var/www/i-doit-beta/src/classes/components/isys_component_dao_registry.class.php on line 542

      Aktuelle /var/www/i-doit-beta/src/config.inc.php:

      /**
        * i-doIT
        *
        * Basic configuration
        *
        * @package i-doIT
        * @subpackage General
        * @author Andre Woesten awoesten@i-doit.de* @version 0.9
        * @copyright Copyright 2004, 2005 - synetics GmbH
        * @license http://dev.perl.org/perl6/rfc/346.html Artistic License 2.0
        */

      /**
        * @desc Basic configuration parameters
        * –------------------------------------------------------------------------
        *      base_dir  - Absolute path of base directory
        *      www_dir  - Relative WWW-path of base directory
        *      sess_time - Session time in seconds
        *      theme    - Theme you want to use - name of theme only!
        *      startpage - Script filename of front controller
        /
      $g_config = array
      (
      "base_dir" => $g_absdir . DIRECTORY_SEPARATOR,
      // Relative WWW-Directory to the Rootdirectory
      "www_dir" => "http://149.250.20.147/i-doit-beta/",
      /
      Webhost override: Imagine you have setup a virtual host for mydoit.de,
          but on an Apache server with more than one subdomains. Thus mydoit.de
          is a subdomain for the IP of the underlying system. Some parts of i-doIT
          automatically generate an URL for internal requests (as for CSS & JS
          pre-caching) - hence they use the IP, and not the domain, so the
          request won't arrive in the i-doIT framework. Use this option to
          override the Host used for URL-generation. (or set it to false) */
      "override_host" => false,
      // Session timeout for a user
      "sess_time" => 1800,
      // Used theme
      "theme" => "default",
      // Start page for building links in the framework
      "startpage" => "index.php",
      // Debugging active?
      "debugging" => false,
      // Show button for bug-reporting?
      "bugreport" => true,
      // Show button for forum?
      "forum" => true,
      // MD5-hashed password for administrative use (current pass is 'admin')
      "adminpass" => "21232f297a57a5a743894a0e4a801fc3" // md5('admin')
      // Preselect a mandator after login?
      //"mandant_preselect" => "%config.base.mandatorid%"
      );

      /* Correct path - do NOT delete these lines! */
      $g_config["www_dir"]  = rtrim($g_config["www_dir"], "/");
      $g_config["www_dir"] .= "/";

      /**

      • @desc Directory configuration
      • –-------------------------------------------------------------------------
        *      Array of required global directory structure, the rest is read
        *      and set by the system registry. NOTE: You should NOT modify this!
        */
        $g_dirs = array
        (
        "css_abs" => $g_config["base_dir"] . "src/themes/" . $g_config["theme"] . "/css/",
        "js_abs" => $g_config["base_dir"] . "src/tools/js/",
        "temp" => $g_config["base_dir"] . "temp/",
        "class" => $g_config["base_dir"] . "src/classes/",
        "temp_www" => $g_config["www_dir"]  . "temp/",
        "images" => $g_config["www_dir"]  . "images/",
        "theme_images" => $g_config["www_dir"]  . "src/themes/" . $g_config["theme"] . "/images/",

      /* FILE MANAGER SETTINGS

      Modify them in order to control the file manager, downloads and
        uploads. target_dir must be absolute and tailed by /, furthermore,
        your apache-user (normally www-data) needs full access rights (RWX)
        to this directory. temp_dir is /tmp/ on UNIX systems, otherwise
        configure it here manually for Win.
        The image_dir is used for the uploaded object images www-data needs also
        full access here */
      "fileman" => array(
      "target_dir" => "/var/www/i-doit-beta/storage/",
      "temp_dir" => "/tmp/",
      "image_dir" => "/var/www/i-doit-beta/storage/image/"
      )
      );

      /* JOB CONTROL SYSTEM SETTINGS

      Variables for the Job Control System. Please care, that crontab_path is
        writable by the apache user, so the i-doIT Framework can write its
        changes. On Windows, the crontab file MUST be in the system32-directory,
        since the CRON Service can only read from this path. On Unix-systems,
        you should make a soft link from /etc/cron.d/i-doit or whatever your
        cron directory is to webroot/i-doit/cron/crontab. Also make sure, that
        you are allowed to use the crontab command, normally you must write
        your username into /etc/cron.allow /
      $g_jcs = array
      (
      /
      The JCS user must have admin rights to the i-doIT system! /
      "username" => "root",
      "password" => "getin",
      /
      Windows systems /
      "crontab_path" => "",
      "cronwin_path" => "",
      /
      Unix systems /
      "crontab_path" => "/var/www/i-doit-beta/cron/crons.exe", // CRONTAB File path
      "croncmd_path" => "/var/www/i-doit-beta/cron/crontab", // CRONTAB Control program
      /
      i-doIT doesn't try to automatically evaluate the process ID of crond,
        enter the path into cronunix_pid */
      "cronunix_pid" => "/var/run/crond.pid",
      "default" => array( "hour" => 10,
      "minute" => 30, /10:30/
      "dow" => 0)  /0=sunday,…,7=saturday/
      );

      /**

      • @desc Database configuration

      *      This configuration is for the system database. Don't forget to use
      *      mySQL 4.1 with the InnoDB table-driver. Only TCP/IP Hosts are
      *      supported here, not UNIX domain sockets!
      */

      $g_db_system = array(
      "host" => "localhost",
      "port" => "3306",
      "user" => "root",
      "pass" => "getin",
      "name" => "idoit_beta_sys"
      );

      /**
        * @desc Product info
        * --------------------------------------------------------------------------
        *      Just some internal product information
        */
      $g_product_info = array(
      "version" => "0.9",
      "step" => "beta2"
      );

      /**
        * @desc Proxy
        * --------------------------------------------------------------------------
        *      Proxy configuration
        */
      $g_proxy = array(
      "active" => false,
      "host" => "%config.proxy.host%",
      "port" => "%config.proxy.port%",
      "user" => "%config.proxy.username%",
      "pass" => "%config.proxy.password%"
      );

      /**
        * @desc SOAP
        * --------------------------------------------------------------------------
        *      SOAP Settings - i.e. for the i-doIT Info center category
        */
      $g_soap = array(
      "url" => "http://dev.synetics.de/idic/provider.php",
      "user" => "%config.soap.username%",
      "pass" => "%config.soap.password%"
      );
      ?>

      ^^ Ich will euch ja nicht mit meinen Nap-posts quälen, aber ich bastel halt hier rum. Ohne dabei wirkliche fortschritte zu machen. Bisschen Hilfe wäre schon nicht schlecht, ich mein is ja garnicht brachial kompliziert sich durch die Skripte zu lesen und versuchen den Fehler zu finden.

      Vieleicht sollt ich von der Beta mal die Finger lassen;-( aber reizen würd michs ja schon.

      Naja ich hab schon gelesen das ihr bis zum Hals in arbeit steckt...

      dann wüsche ich Programmcode freie Träume;-)

      Simeon/awoesten@i-doit.de

      posted in Betrieb
      S
      Simeon
    • RE: Probleme mit der Datenbankanbindung

      Ich hab mir die config.inc.php aus dem Forum hier besorgt un entsprechend meiner Kenntnisse angepasst.
      Jetzt bekomme ich MIT der config.inc.php ein Webfenster, total zerissen, ohne Formatierungen und Bilder mit Loginfeldern an denen ich mich nicht anmelden kann.
      OHNE die Datei sieht alles aus wie vorher (was ja auch fast klar war)

      Inhalt der Datei /var/www/i-doit-beta/src/config.inc.php

      /**
        * i-doIT
        *
        * Basic configuration
        *
        * @package i-doIT
        * @subpackage General
        * @author Andre Woesten awoesten@i-doit.de* @version 0.9
        * @copyright Copyright 2004, 2005 - synetics GmbH
        * @license http://dev.perl.org/perl6/rfc/346.html Artistic License 2.0
        */

      /**
        * @desc Basic configuration parameters
        * –------------------------------------------------------------------------
        *      base_dir  - Absolute path of base directory
        *      www_dir  - Relative WWW-path of base directory
        *      sess_time - Session time in seconds
        *      theme    - Theme you want to use - name of theme only!
        *      startpage - Script filename of front controller
        */
      $g_config = array
      (
          "base_dir"  => $g_absdir . "/",
        "www_dir"  => "http://149.250.20.147/idoit/",
        "sess_time"  => 1800,
        "theme"      => "default",
        "startpage"  => "index.php",
        "debugging"  => false,
        //"mandator_preselect" =>"%config.base.mandatorid%"
      );

      /* Correct path */
      $g_config["www_dir"]  = rtrim($g_config["www_dir"], "/");
      $g_config["www_dir"] .= "/";

      /**

      • @desc Directory configuration
      • –-------------------------------------------------------------------------
        *      Array of required global directory structure, the rest is read
        *      and set by the system registry. NOTE: You should NOT modify this!
        */
        $g_dirs = array
        (
          "css_abs"  => $g_config["base_dir"] . "src/themes/" . $g_config["theme"] . "/css/",
          "js_abs"  => $g_config["base_dir"] . "src/tools/js/",
          "temp"      => $g_config["base_dir"] . "temp/",
          "class"      => $g_config["base_dir"] . "src/classes/",
          "temp_www"  => $g_config["www_dir"]  . "temp/",
          "images"  => $g_config["www_dir"]  . "src/themes/" . $g_config["theme"] . "/images/",

      /* FILE MANAGER SETTINGS

      Modify them in order to control the file manager, downloads and
            uploads. target_dir must be absolute and tailed by /, furthermore,
            your apache-user (normally www-data) needs full access rights (RWX)
            to this directory. temp_dir is /tmp/ on UNIX systems, otherwise
            configure it here manually for Win.
            The image_dir is used for the uploaded object images www-data needs also
            full access here */
        "fileman"  => array(
            "target_dir"  => "/var/www/i-doit-beta/storage/",
            "temp_dir"      => "/tmp/",
            "image_dir"      => "/srv/www/i-doit-beta/storage/image/"
        ),

      /* JOB CONTROL SYSTEM SETTINGS

      Variables for the Job Control System. Please care, that crontab_path is
            writable by the apache user, so the i-doIT Framework can write its
            changes. On Windows, the crontab file MUST be in the system32-directory,
            since the CRON Service can only read from this path. On Unix-systems,
            you should make a soft link from /etc/cron.d/i-doit or whatever your
            cron directory is to webroot/i-doit/cron/crontab. Also make sure, that
            you are allowed to use the crontab command, normally you must write
            your username into /etc/cron.allow /
        "jcs"      => array(
            /
      The JCS user must have admin rights to the i-doIT system! /
            "username"      => "root",
            "password"      => "getin",
            /
      Windows systems /
            "crontab_path"  => "/srv/www/htdocs/idoit/cron/crons.exe",
            "cronwin_path"  => "/srv/www/htdocs/idoit/cron",
            /
      Unix systems /
            "crontab_path"  => "/var/www/i-doit-beta/cron/crons.exe",      // CRONTAB File path
            "croncmd_path"  => "/var/www/i-doit-beta/cron/crontab",  // CRONTAB Control program
            /
      i-doIT doesn't try to automatically evaluate the process ID of crond,
              enter the path into cronunix_pid */
            "cronunix_pid"  => "/var/run/crond.pid",

      )
      );

      /**

      • @desc Database configuration
      • –-------------------------------------------------------------------------
        *      This configuration is for the system database. Don't forget to use
        *      mySQL 4.1 with the InnoDB table-driver. Only TCP/IP Hosts are
        *      supported here, not UNIX domain sockets!
        */

      $g_db_system = array(
        "host"  => "localhost",
        "port"  => "3306",
        "user"  => "root",
        "pass"  => "getin",
        "name"  => "idoit_beta_sys"
      );

      /**
        * @desc Product info
        * --------------------------------------------------------------------------
        *      Just some internal product information
        */
      $g_product_info = array(
        "version"  => "0.9",
        "step"      => "beta"
      );

      /**
        * @desc Proxy
        * --------------------------------------------------------------------------
        *      Proxy configuration
        */
      $g_proxy = array(
          "active"    => false,
          "host"      => "192.168.8.65",
          "port"      => "3128",
          "user"      => "",
          "pass"      => ""
      );

      /**
        * @desc SOAP
        * --------------------------------------------------------------------------
        *      SOAP Settings - i.e. for the i-doIT Info center category
        */
      $g_soap = array(
          "url"  => "http://dev.synetics.de/idic/provider.php",
          "user"  => "",
          "pass"  => ""
      );
      ?>

      Wenn jemand noch Informationen braucht einfach posten, ich werd ranholen was geht;-)/awoesten@i-doit.de

      posted in Betrieb
      S
      Simeon
    • Probleme mit der Datenbankanbindung

      Gruss an das Board,

      ich bin ein neuer, intressierte und sehr verzweifelter Linux-Nutzer.

      OS Debian Sarge
      installierte Komponenten:
      apache 2.0.54
      mysql 4.1
      php 5.1
      phpmyadmin

      http://149.250.20.147/ <– apache läuft (standartstartseite, aber er läuft)
      http://149.250.20.147/phpmyadmin <-- webinterface läuft auch
      http://149.250.20.147/i-doit-beta <-- Probs

      und nun zum Problem...
      ich habe in dem Verzeichnis /var/www/i-doit-beta/ meine konfigurationsdateien liegen
      unter /var/www/i-doit-beta/src/ sollte eine Datei namens config.inc.php liegen (diese soll angeblich die informationen für den connect zur Datenbank erhalten) ABER es ist keine da;-/
      ich hab mir anhand der howto die mir zu Verfügung steht (http://www.i-doit.de/media//install.txt) folgende config.inc.php erstellt (meine war ja nicht da)

      $g_db_system = array(
      "host"            => "127.0.0.1",
      "port"            => 3306,
      "user"            => "admin",
      "pass"            => "admin",
      "name"            => "idoit_beta_sys"
      );

      ^^ das wird zwar nich alles sein was dort reingehört (denke ich), ist aber aufjedenfall der teil mit dem er die verbindung zur Datenbank aufbauen kann.

      WENN diese Datei im Verzeichniss /var/www/i-doit-beta/src/ liegt bekomme
      beim connect auf die Seite http://149.250.20.147/i-doit-beta die Fehlermeldung:

      $g_db_system = array ( "host" => "127.0.0.1", "port" => 3306, "user" => "user", "pass" => "pass", "name" => "idoit_beta_sys" );
      Fatal error: Class 'isys_component_database' not found in /var/www/i-doit-beta/src/globals.inc.php on line 253

      WENN diese Datei NICHT im Verzeichnis liegt kommt ein webinterface, das mit im Step 5 folgende Punkte der Checkliste als fehlend makiert:

      Save path for file manager:  DIRECTORY NOT FOUND  
      Temp path for file manager:  DIRECTORY NOT FOUND
      Image path:  DIRECTORY NOT FOUND
      ^^ welchen verdammten File Manager?
      Location of crontab controller: /usr/sbin/crontab MISSING
      ^^ dort befand sich keine crontab, also habe ich die datei crontab aus den installfiles kopiert (steht irgendwas von i-doit template drinnen)
      mySQL Client:  MISSING
      ^^ hab versucht eine Datei zu finden (geht ja schön mit browse), hab aber keinen Plan wie die Datei aussehen soll die ich ihm da zu füttern geben darf
      Database username:  OK
      Database password:  FAILED
      Database root username: root OK
      Database root password:  FAILED
      System Database Name:  NO LINK
      Mandant Database Name:  INVALID
      ^^ das sind die optionen die ich über die config.inc.php einstellen kann (die ich aber nicht in Verzeichnis legen darf... siehe oben). Ich hatte die vermutung das die Informationen aus der config.inc.php in der Datenbank hinterlegt werden. idoit_beta_sys.isys_mandator und habe dort informationen (von denen ich dachte sie seien richtig) per Hand eingetragen.

      so nu geht garnix mmehr weiter mit der config.inc.php bin ich nicht weiter, die Fehlermeldungen gehen auch nicht weg (webinterface), und der weg direkt über die Datenbank is mir ein wenig zu dirty.

      What should i do?

      Simeon

      posted in Betrieb
      S
      Simeon