Hi, i got this error that i can't figure out.. Maybe you can help;

Notice: mbConfig(): The script tried to execute a method or access a
property of an incomplete object. Please ensure that the class
definition "classCoreDBtable" of the object you are trying to operate
on was loaded _before_ unserialize() gets called or provide a
__autoload() function to load the class definition in
on line 540

function mbConfig ($name) {

        $value = null;

540:    if (class_exists('classCoreDBtable') &&
isset($_SESSION["mb_site_preferences"]) &&
is_array($_SESSION["mb_site_preferences"]->rec)) {

                $sp = $_SESSION["mb_site_preferences"];

                if (array_key_exists($name, $sp->rec)) $value = $sp->rec[$name];


        //defaults required?

        if (is_null($value)) {

                switch ($name) {

                case "sp_theme": $value="mediaBeez_default"; break;

                case "sp_thumb_width" : $value="95"; break;

                case "sp_thumb_height" : $value = "95"; break;

                case "sp_midres_width" : $value="800"; break;

                case "sp_midres_height" : $value = "600"; break;

                case "sp_buttonTheme" : $value="orangeGreenBlue"; break;

                case "sp_menu_theme" : $value="whiteBlue"; break;



require_once ("defines_mediaBeez.php");
require_once ('core_db_table.php');


So i do include the class, yet i get this error.
Any clues will be much appreciated..

Greetings from Rene7705,

My free open source webcomponents:
  http://mediabeez.ws/downloads (and demos)

My music (i'm DJ firesnake)


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to