Results 1 to 5 of 5

Thread: Fatal error: Call to a member function getarray() on a non-o

  1. #1
    Join Date
    Jul 2007
    Posts
    18

    Default Fatal error: Call to a member function getarray() on a non-o

    The error I get is:
    Fatal error: Call to a member function getarray() on a non-object in /usr/local/www/data-dist/index.php on line 13

    The /includes/config.php file is:
    Code:
    <?
    
    error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
    session_start();
    
    $db_host     = "localhost";
    $db_name     = "-";
    $db_user     = "-";
    $db_pass     = "-";
    
    $config = array();
    
    $config['ffmpeg']          =  "/usr/local/bin/ffmpeg";
    $config['mplayer']          =  "/usr/local/etc/mplayer";
    $config['mencoder']          =  "/usr/local/bin/mencoder";
    $config['flvtool']          =  "/usr/local/bin/flvtool2";
    $config['basedir']        =  "/usr/local/www/data-dist";
    $config['baseurl']        =  "http://84.244.189.113";
    
    include($config['basedir'] . "/include/vshare.php");
    I just moved server and set everything up, All help appreciated!

  2. #2
    Join Date
    May 2007
    Posts
    588

    Default

    try removing the / from after the IP and from basedir

  3. #3
    Join Date
    Jul 2007
    Posts
    18

    Default

    Thank you I have done that, But the error is still the same:
    Code:
    Fatal error: Call to a member function getarray() on a non-object in /usr/local/www/data-dist/index.php on line 13

  4. #4
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    This error is caused by database missing. Can you check if your database have all tables and login details are proper ?

  5. #5
    Join Date
    Jul 2007
    Posts
    18

    Default

    Thank you I had my permissions wrong!

Similar Threads

  1. Fatal error: Call to a member function execute() on a non-ob
    By soundaxis in forum Installation Support
    Replies: 1
    Last Post: 03-03-2008, 06:43 AM
  2. Fatal error: Call to a member function getrows() on a non-ob
    By pataylo in forum Installation Support
    Replies: 1
    Last Post: 02-07-2008, 05:02 AM
  3. Fatal error: Call to undefined function: togdimage()
    By pipermac in forum Installation Support
    Replies: 1
    Last Post: 10-01-2007, 04:54 PM
  4. Replies: 1
    Last Post: 07-01-2007, 10:22 PM
  5. Fatal error: Call to undefined function: togdimage()
    By dlewis23 in forum Installation Support
    Replies: 4
    Last Post: 06-25-2007, 05:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •