Likes Likes:  0
Resultaten 1 tot 7 van de 7
Geen

Onderwerp: poweradmin

  1. #1
    poweradmin
    geregistreerd gebruiker
    15 Berichten
    Ingeschreven
    31/08/05

    Locatie
    Venray

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: nee
    KvK nummer: 12053794
    Ondernemingsnummer: nvt

    Thread Starter

    poweradmin

    ik ben bezig met de installatie van poweradmin
    als ik het install.php draai

    krijg ik de volgende foutmeldingen:
    Notice: Use of undefined constant DB_PORTABILITY_DELETE_COUNT - assumed 'DB_PORTABILITY_DELETE_COUNT' in C:\PHP4\pear\DB\mysql.php on line 823

    Notice: Use of undefined constant DB_PORTABILITY_DELETE_COUNT - assumed 'DB_PORTABILITY_DELETE_COUNT' in C:\PHP4\pear\DB\mysql.php on line 823

    Notice: Use of undefined constant DB_PORTABILITY_DELETE_COUNT - assumed 'DB_PORTABILITY_DELETE_COUNT' in C:\PHP4\pear\DB\mysql.php on line 823

    Notice: Use of undefined constant DB_PORTABILITY_ERRORS - assumed 'DB_PORTABILITY_ERRORS' in C:\PHP4\pear\DB\mysql.php on line 880

    Notice: Use of undefined constant DB_ERROR_CONSTRAINT_NOT_NULL - assumed 'DB_ERROR_CONSTRAINT_NOT_NULL' in C:\PHP4\pear\DB\mysql.php on line 882

    Notice: Use of undefined constant DB_PORTABILITY_DELETE_COUNT - assumed 'DB_PORTABILITY_DELETE_COUNT' in C:\PHP4\pear\DB\mysql.php on line 823

    Notice: Use of undefined constant DB_PORTABILITY_DELETE_COUNT - assumed 'DB_PORTABILITY_DELETE_COUNT' in C:\PHP4\pear\DB\mysql.php on line 823

    Notice: Use of undefined constant DB_PORTABILITY_DELETE_COUNT - assumed 'DB_PORTABILITY_DELETE_COUNT' in C:\PHP4\pear\DB\mysql.php on line 823

    Notice: Use of undefined constant DB_PORTABILITY_DELETE_COUNT - assumed 'DB_PORTABILITY_DELETE_COUNT' in C:\PHP4\pear\DB\mysql.php on line 823

    Notice: Use of undefined constant DB_PORTABILITY_DELETE_COUNT - assumed 'DB_PORTABILITY_DELETE_COUNT' in C:\PHP4\pear\DB\mysql.php on line 823

    is dit bij iemand bekent??

    Gr,

    2securehosting

  2. #2
    poweradmin
    geregistreerd gebruiker
    1.151 Berichten
    Ingeschreven
    27/02/05

    Locatie
    Valkenswaard

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1 Berichten zijn liked


    Registrar SIDN: Nee
    KvK nummer: Nee
    Ondernemingsnummer: Nee

    uhm maar wat staat er op lijn 823 in de php?

  3. #3
    poweradmin
    geregistreerd gebruiker
    15 Berichten
    Ingeschreven
    31/08/05

    Locatie
    Venray

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: nee
    KvK nummer: 12053794
    Ondernemingsnummer: nvt

    Thread Starter
    Origineel geplaatst door izdesign
    uhm maar wat staat er op lijn 823 in de php?
    regel 823

    if ($this->options['portability'] & DB_PORTABILITY_DELETE_COUNT) {
    // "DELETE FROM table" gives 0 affected rows in MySQL.
    // This little hack lets you know how many rows were deleted.
    if (preg_match('/^\s*DELETE\s+FROM\s+(\S+)\s*$/i', $query)) {
    $query = preg_replace('/^\s*DELETE\s+FROM\s+(\S+)\s*$/',
    'DELETE FROM \1 WHERE 1=1', $query);

    regel 882
    $this->errorcode_map[1048] = DB_ERROR_CONSTRAINT_NOT_NULL;

  4. #4
    poweradmin
    geregistreerd gebruiker
    1.892 Berichten
    Ingeschreven
    17/08/05

    Locatie
    Amsterdam

    Post Thanks / Like
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    35 Berichten zijn liked


    Naam: Wieger Bontekoe
    Bedrijf: Skynet ICT B.V.
    Functie: CEO
    URL: skynet-ict.nl
    Registrar SIDN: Nee
    View wbontekoe's profile on LinkedIn

    Code:
    if ($this->options['portability'] & defined("DB_PORTABILITY_DELETE_COUNT")) {
    	// "DELETE FROM table" gives 0 affected rows in MySQL.
    	// This little hack lets you know how many rows were deleted.
    	if (preg_match('/^\s*DELETE\s+FROM\s+(\S+)\s*$/i', $query)) {
    		$query = preg_replace('/^\s*DELETE\s+FROM\s+(\S+)\s*$/', 'DELETE FROM \1 WHERE 1=1', $query);
    	
    //laatste regel stukkie
    $this->errorcode_map[1048] = ((!defined("DB_ERROR_CONSTRAINT_NOT_NULL")) ? '' : DB_ERROR_CONSTRAINT_NOT_NULL);
    Skynet ICT B.V. - The cause of the problem is: the printer thinks its a router.



  5. #5
    poweradmin
    geregistreerd gebruiker
    15 Berichten
    Ingeschreven
    31/08/05

    Locatie
    Venray

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: nee
    KvK nummer: 12053794
    Ondernemingsnummer: nvt

    Thread Starter
    probleem in regel 823 is weg nu krijg ik onderstaande error

    Notice: Use of undefined constant DB_PORTABILITY_ERRORS - assumed 'DB_PORTABILITY_ERRORS' in C:\PHP4\pear\DB\mysql.php on line 880

    dit is vanaf regel 880
    if ($this->options['portability'] & DB_PORTABILITY_ERRORS) {
    $this->errorcode_map[1022] = DB_ERROR_CONSTRAINT;
    $this->errorcode_map[1048] = ((!defined("DB_ERROR_CONSTRAINT_NOT_NULL")) ? '' : DB_ERROR_CONSTRAINT_NOT_NULL);
    $this->errorcode_map[1062] = DB_ERROR_CONSTRAINT;
    } else {
    // Doing this in case mode changes during runtime.
    $this->errorcode_map[1022] = DB_ERROR_ALREADY_EXISTS;
    $this->errorcode_map[1048] = DB_ERROR_CONSTRAINT;
    $this->errorcode_map[1062] = DB_ERROR_ALREADY_EXISTS;
    }
    $errno = $this->errorCode(mysql_errno($this->connection));
    }
    return $this->raiseError($errno, null, null, null,
    @mysql_errno($this->connection) . ' ** ' .
    @mysql_error($this->connection));
    }

  6. #6
    poweradmin
    geregistreerd gebruiker
    849 Berichten
    Ingeschreven
    26/12/03

    Locatie
    Zwolle

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Naam: Daniël
    Registrar SIDN: Nee
    Ondernemingsnummer: nvt

    Ik heb dit ook gehad. Ik denk dat het met de installatie van PEAR te maken heeft. Ik heb het niet op kunnen lossen maar je mag er vanuit gaan dat het niet in het script zit toch?

  7. #7
    poweradmin
    geregistreerd gebruiker
    54 Berichten
    Ingeschreven
    27/06/03

    Locatie
    Tilburg

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: ja
    KvK nummer: nvt
    Ondernemingsnummer: nvt

    Ik heb 'apt-get install php4-pear' ofzo gedaan, en toen was het probleem voor mij iig opgelost.. Maar neem aan dat je dat zelf ook al had uitgeprobeerd?

Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2021 Webhostingtalk.nl.
Web Statistics