Menu

#1 Install issues

open
nobody
None
5
2001-08-07
2001-08-07
Anonymous
No

Fatal error: Cannot instantiate non-existent class:
in /home/username/www/phpgallery/functions/dbi.inc on
line 35

Discussion

  • Chris

    Chris - 2002-01-12

    Logged In: YES
    user_id=371419

    Installation for phpgallery

    1.) Change the config.dist in config.inc.php

    <?php
    
    /\*\*
     \*\*  Copyright \(c\) 2000-2001 David Giffin
     \*\*  Licensed under the GNU GPL. For full terms see
    

    the file COPYING.
    **
    ** Edit this file to reflect your local system
    configuration.
    ** These values reflect global configuration
    settings;
    **
    ** $Id: config.dist,v 1.1 2001/07/18 05:15:10
    agent911 Exp $
    **
    **/

    $default->datasource 
    = "dbi:Pg:dbname=zeilfotos;user=root;pass=yourpass";
    $default->image\_root    
    = "/home/www/giffin/photos";
    
    $default->navigation
    

    = 'includes/navigation.inc';
    $default->header
    = 'includes/header.inc';
    $default->footer
    = 'includes/footer.inc';
    $default->head
    = 'includes/head.inc';
    $default->body
    = 'bgcolor="#FFFFFF" vlink="#0000FF"';

    $default->timeformat     = "M-d-Y";
    $default->row\_off       = "ffffff";
    $default->row\_on        = "f0f0f0";
    $default->header\_row\_color = "c0c0c0";
    
    $default->update\_profile    = 1;
    $default->change\_password   = 1;
    
    ?>
    

    2.) Make a new database with phpmysqladmin for example
    phpgallery
    (can be any name but should be the same as dbname in
    config.inc.php)

    create zeilfotos
    

    3.) Then execute the following query in phpmyadmin in
    database phpgallery:

    grant all on phpgallery.\* to phpgallery@localhost
    

    identified by "yourpass";

    4.) Then run from your browser
    http://www.yoursitename.com/phpgallery/setup/index.php

    press next
    
    You now get a status screen with       Driver 
    MySQL
                           Database
    

    Zeilfotos (die je hebt opgegeven in config.inc.php)
    Username Root
    Password
    xxxxxxx

    5.) Now just follow the steps on the screen and you should
    be able to solve this
    6.) When you are finished (you get an error) just go to
    http://www.yoursitename.com/phpgallery/index.php

    NB. Creating thumbs did not work so made them myself
    and put them in the thumbnail dir.
    You can whatch it at
    http://www.chrisboer.nl/phpgallery/index.php

    Greetz

    Chris cboer@pointit.nl

     
  • Fabian Matthiessen

    Logged In: YES
    user_id=131355

    I have troubles installing phpGallery, too.
    I always get the following error, if I try to create the
    tables: Mysql: connect: You have an error in your SQL
    syntax near '_id values(1000)' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 3
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 3
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2
    Mysql: connect: You have an error in your SQL syntax
    near '' at line 2

    Perhaps you can help me with this.
    Thanks

    Lusor@gmx.de

     

Log in to post a comment.

MongoDB Logo MongoDB