Fehlermeldung bei Admin Login

Gesperrt
juergenr
Beiträge: 9
Registriert: Di 29. Jul 2003, 13:47
Kontaktdaten:

Fehlermeldung bei Admin Login

Beitrag von juergenr »

Fatal error: Cannot instantiate non-existent class: contenido_perm in /home/emd.at/www/zatbr/conlib/local.php on line 271

diese Fehlermeldung bekomme ich jedesmal wenn ich mich für den Administrationsbereich anmelden will?? offline geht es bei mir am lokalen webserver, jedoch online nicht?

kenne mich nicht sonderlich gut aus, und vielleicht hat jemand einen guten Tipp für mich.

lg
juergenr
Beiträge: 9
Registriert: Di 29. Jul 2003, 13:47
Kontaktdaten:

das stand zu meinem Fehler in der errorlog.txt

Beitrag von juergenr »

2003-Jul-Tue 15:58:07: error 1064 (You have an error in your SQL syntax.
Check the manual that corresponds to your MySQL server version for the
right syntax to use near 'FROM con_phplib_active_sessions ORDER BY DESC' at line 1)
- Invalid SQL: SELECT FROM con_phplib_active_sessions ORDER BY DESC<br><br>
timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo »

Welche PHP-Version benutzt du "online"? Welche MySQL-Version?

Grüße,
Timo
juergenr
Beiträge: 9
Registriert: Di 29. Jul 2003, 13:47
Kontaktdaten:

Hallo

Beitrag von juergenr »

PHP Version 4.1.2
Mysql: 3.23.49


danke für die schnelle reaktion!
timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo »

sieht eigentlich ganz gut aus. Was steht denn in deiner config.php? Der Fehler kommt daher, daß in der Variable für die Datenbank-Tabellen nichts drinsteht.
juergenr
Beiträge: 9
Registriert: Di 29. Jul 2003, 13:47
Kontaktdaten:

meine config.php

Beitrag von juergenr »

<?php

/******************************************
* File : config.php
* Project : Contenido
* Descr : Defines all general
* variables of Contenido.
*
* Author : Olaf Niemann
* Jan Lengowski
* Timo Hummel
*
* Created : some time ago
* Modified : 14.05.2003
*
* © four for business AG
******************************************/

#
# Report all errors for developing
#
#error_reporting (E_ALL);

#
# CFG PATHES
#
$cfg['path']['contenido'] = '/home/emd.at/www/zatbr/contenido/';
$cfg['path']['contenido_html'] = '../contenido/';
$cfg['path']['contenido_fullhtml'] = 'http://www.emd.at/zatbr/contenido/';

$cfg['path']['statfile'] = 'statfile/';
$cfg['path']['includes'] = 'includes/';

$cfg['path']['xml'] = 'xml/';
$cfg['path']['images'] = 'images/';
$cfg['path']['classes'] = 'classes/';

$cfg["path"]["cronjobs"] = 'cronjobs/';
$cfg['path']['scripts'] = 'scripts/';
$cfg['path']['styles'] = 'styles/';
$cfg["path"]['plugins'] = 'plugins/';

$cfg['path']['frontend'] = '/home/emd.at/www/zatbr';
$cfg['path']['frontendtemplate'] = 'external/frontend/';
$cfg['path']['templates'] = 'templates/standard/';
$cfg['path']['xml'] = 'xml/';
$cfg['path']['phplib'] = '/home/emd.at/www/zatbr/conlib/';

$cfg['path']['wysiwyg'] = '/home/emd.at/www/zatbr/contenido/external/wysiwyg/spaw/';
$cfg['path']['wysiwyg_html'] = 'http://www.emd.at/zatbr/contenido/exter ... iwyg/spaw/';

$cfg['sql']['sqlprefix'] = 'con';
#
# Parse all GET, POST and COOKIE vars
#
require_once '/home/emd.at/www/zatbr/contenido/includes/globals_off.inc.php';

#
# MySQL Setup
#
$contenido_host = 'localhost';
$contenido_database = 'emd_zatbr';
$contenido_user = 'gelöscht';
$contenido_password = 'gelöscht';


#
# Path
#
$cfgPath['xml'] = 'xml/';
$cfgPath['xmlroot'] = 'language/';


// PLUGINS
$con_cfg['PathPlugins'] = "plugins/";
//$plugin = new Plugin;
//$plugin->search();
$con_cfg['PathClasses'] = "classes/";


#
# HTML Colors
#
$cfg['color']['table_header'] = '#a9aec2';
$cfg['color']['table_light'] = '#F4F4F7';
$cfg['color']['table_dark'] = '#E8E8EE';
$cfg['color']['table_border'] = '#747488';
$cfg['color']['table_light_offline'] = '#E9E5E5';
$cfg['color']['table_dark_offline'] = '#E2D9D9';
$cfg['color']['notify_error'] = '#660000';
$cfg['color']['notify_warning'] = '#666600';
$cfg['color']['notify_info'] = '#006600';
$cfg['color']['notify'] = '#006600';


#
# Language files
#
$cfg['lang']['de'] = 'lang_de.xml';

#
# Thumbnails for Upload
#

$con_cfg['thumb']['width'] = 100;
$con_cfg['thumb']['height'] = 100;

#
# Templates
#
$cfg['templates']['frameset'] = 'frameset.html';
$cfg['templates']['frameset_content'] = 'frameset_content.html';
$cfg['templates']['frameset_menuless_content'] = 'frameset_menuless_content.html';
$cfg['templates']['header'] = 'header.html';
$cfg['templates']['submenu'] = 'submenu.html'; # 2nd layer

$cfg['templates']['subnav'] = 'template.subnav.html'; # 3rd layer

$cfg['templates']['generic_list'] = 'generic_list.html';
$cfg['templates']['generic_select'] = 'template.select.html';

$cfg['templates']['left_top'] = 'template.left_top.html';
$cfg['templates']['right_top_blank'] = 'template.right_top_blank.html';

$cfg['templates']['newsletter_left_top'] = 'template.newsletter_left_top.html';
$cfg['templates']['newsletter_menu'] = 'template.newsletter_menu.html';
$cfg['templates']['newsletter_edit'] = 'template.newsletter_edit.html';

$cfg['templates']['recipient_left_top'] = 'template.recipient_left_top.html';
$cfg['templates']['recipient_menu'] = 'template.recipient_menu.html';
$cfg['templates']['recipient_edit'] = 'template.recipient_edit.html';

$cfg['templates']['con_edit_form'] = 'template.con_edit_form.html';
$cfg['templates']['con_str_overview'] = 'template.con_str_overview.html';
$cfg['templates']['con_art_overview'] = 'template.con_art_overview.html';
$cfg['templates']['con_left_top'] = 'template.con_left_top.html';
$cfg['templates']['con_subnav'] = 'template.con_subnav.html';

$cfg['templates']['str_overview'] = 'template.str_overview.html';

$cfg['templates']['upl_left_top'] = 'template.upl_left_top.html';
$cfg['templates']['upl_dirs_overview'] = 'template.upl_dirs_overview.html';
$cfg['templates']['upl_files_overview'] = 'template.upl_files_overview.html';


$cfg['templates']['lay_overview'] = 'template.lay_overview.html';
$cfg['templates']['lay_edit_form'] = 'template.lay_edit_form.html';


$cfg['templates']['mod_overview'] = 'template.mod_overview.html';
$cfg['templates']['mod_edit_form'] = 'template.mod_edit_form.html';

$cfg['templates']['tpl_overview'] = 'template.tpl_overview.html';
$cfg['templates']['tpl_edit_form'] = 'template.tpl_edit_form.html';

$cfg['templates']['style_files_overview'] = 'template.style_files_overview.html';
$cfg['templates']['style_edit_form'] = 'template.style_edit_form.html';
$cfg['templates']['style_left_top'] = 'template.style_left_top.html';
$cfg['templates']['style_new_form'] = 'template.style_new_form.html';

$cfg['templates']['js_files_overview'] = 'template.js_files_overview.html';
$cfg['templates']['js_edit_form'] = 'template.js_edit_form.html';
$cfg['templates']['js_left_top'] = 'template.js_left_top.html';
$cfg['templates']['js_new_form'] = 'template.js_new_form.html';

$cfg['templates']['stat_left_top'] = 'template.stat_left_top.html';
$cfg['templates']['stat_overview'] = 'template.stat_overview.html';
$cfg['templates']['stat_top'] = 'template.stat_top.html';
$cfg['templates']['stat_menu'] = 'template.stat_menu.html';

$cfg['templates']['rights_left_top'] = 'template.rights_left_top.html';
$cfg['templates']['rights_menu'] = 'template.rights_menu.html';
$cfg['templates']['rights_overview'] = 'template.rights_overview.html';
$cfg['templates']['rights_details'] = 'template.rights_details.html';
$cfg['templates']['rights_create'] = 'template.rights_create.html';

$cfg['templates']['log_menu'] = 'template.log_menu.html';
$cfg['templates']['log_main'] = 'template.log_main.html';

$cfg['templates']['left_top_blank'] = 'template.left_top_blank.html';
$cfg['templates']['subnav_blank'] = 'template.subnav_blank.html';

$cfg['templates']['tplcfg_edit_form'] = 'template.tplcfg_edit_form.html';

$cfg['templates']['lang_overview'] = 'template.lang_overview.html';
$cfg['templates']['lang_menu'] = 'template.lang_menu.html';
$cfg['templates']['lang_edit'] = 'template.lang_edit.html';
$cfg['templates']['lang_left_top'] = 'template.lang_left_top.html';

$cfg['templates']['client_menu'] = 'template.client_menu.html';
$cfg['templates']['client_edit'] = 'template.client_edit.html';
$cfg['templates']['client_left_top'] = 'template.client_left_top.html';

$cfg['templates']['mycontenido_settings'] = 'template.mycontenido_settings.html';
$cfg['templates']['mycontenido_overview'] = 'template.mycontenido_overview.html';
$cfg['templates']['mycontenido_start'] = 'template.mycontenido_start.html';
$cfg['templates']['mycontenido_lastarticles'] = 'template.mycontenido_lastarticles.html';
$cfg['templates']['mycontenido_subnav'] = 'template.mycontenido_subnav.html';

$cfg['templates']['grouprights_left_top'] = 'template.grouprights_left_top.html';
$cfg['templates']['grouprights_create'] = 'template.grouprights_create.html';
$cfg['templates']['grouprights_subnav'] = 'template.grouprights_subnav.html';
$cfg['templates']['grouprights_memberlist'] = 'template.grouprights_memberlist.html';
$cfg['templates']['grouprights_memberselect'] = 'template.grouprights_memberselect.html';
$cfg['templates']['grouprights_details'] = 'template.grouprights_details.html';
$cfg['templates']['grouprights_menu'] = 'template.grouprights_menu.html';
$cfg['templates']['grouprights_overview'] = 'template.grouprights_overview.html';

$cfg['templates']['welcome'] = 'template.welcome.html';
$cfg['templates']['info'] = 'template.info.html';
$cfg['templates']['symbolhelp'] = 'template.symbolhelp.html';


$cfg['templates']['blank'] = 'template.blank.html';

#
# For backward compatibility
# we define the old vars.
# For new files always use
# the new vars.
#
//SOME MORE PATHES
$cfgPathStatfiles="statfile/";
$cfgPathXML = 'xml/';
$cfgPathDoc = "doc/";
$cfgPathImg = "img/";
$cfgPathInc = "includes/";
$cfgPathClasses = "classes/";
$cfgPathJs = "js/";
$cfgPathTpl = "tpl/";
$cfgPathStyle = "styles/contenido.css";
$cfgPathFrontendImg = "img_site/";
#$cfgPathContenidoPhplib = str_replace('contenido/*', 'conlib/', $cfgPathContenido . '*');
$cfgClient['upl']['forbidden'] = '.php|.htaccess|.htpasswd';
$cfgClient['upl']['protected'] = 'img/,pdf/,swf/,zip/';
$con_cfg['PathFrontendTmp'] = 'cache/';

$cfg['AvailableCharsets'] = array(
'iso-8859-1',
'iso-8859-2',
'iso-8859-3',
'iso-8859-4',
'iso-8859-5',
'iso-8859-6',
'iso-8859-7',
'iso-8859-8',
'iso-8859-9',
'iso-8859-10',
'iso-8859-11',
'iso-8859-12',
'iso-8859-13',
'iso-8859-14',
'iso-8859-15',
'windows-1250',
'windows-1251',
'windows-1252',
'windows-1257',
'koi8-r',
'big5',
'gb2312',
'utf-8',
'utf-7',
'x-user-defined',
'euc-jp',
'ks_c_5601-1987',
'tis-620',
'SHIFT_JIS'
);
// THESE WORDS are not mentioned as keywords -> $keyword_out[$lang]
#$keyword_out[1]=array
#("der","die","das","ich","du","er","sie","es","wir","ihr","sie","ich","und","mit","ist","eine","des","den","für","ihnen","ihren",
# "von","sowie","zu","sich","hat","in","auf","von","im","out","off","werden","dem","sind","eines","bei","an","dass","vor","kann","können",
# "einem","durch","auch","wurde","wird","einer","ein","zur","aus","an","nun","nach","nbsp","haben","uns","unsren","unser",
# "am","alle","seit","unsere","waren","war","wurden","unsrer","sowohl","ob","einen","aber","vielen","vom","so","wie","ihre","was","zum","als");

#
# Include PHPLib
#
include_once ($cfg["path"]["contenido"].$cfg["path"]["includes"]."cfg_sql.inc.php");
include_once ($cfg["path"]["phplib"] . "prepend.php3");


?>
juergenr
Beiträge: 9
Registriert: Di 29. Jul 2003, 13:47
Kontaktdaten:

weiter

Beitrag von juergenr »

hoffe das hilft dir meinen fehler zu finden.

lg
timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo »

Und sonst steht nichts in deinem error-Log? Kommt mir ein wenig spanisch vor :)

Du hast die 4.3.1 im Einsatz, oder? Kannst du mal die 4.3.2b testen? Da sind einige Pfad-Geschichten gefixt.
juergenr
Beiträge: 9
Registriert: Di 29. Jul 2003, 13:47
Kontaktdaten:

Beitrag von juergenr »

werd ich machen! melde mich dann, ob es funzt oder nicht,

trotzdem danke
timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo »

Was mir gerade noch einfällt (woran es allerdings nicht liegen sollte):

Hast du register_globals in deiner php.ini auf ON oder auf OFF? Rausbekommen kannst du es, indem du eine neue Datei erstelllst und sie mit folgendem Inhalt in deinem Browser ausführst:

Code: Alles auswählen

<?php

phpinfo();

?>
juergenr
Beiträge: 9
Registriert: Di 29. Jul 2003, 13:47
Kontaktdaten:

Beitrag von juergenr »

register_globals On On

hoffe das hilft dir
juergenr
Beiträge: 9
Registriert: Di 29. Jul 2003, 13:47
Kontaktdaten:

Beitrag von juergenr »

bei beiden versionen das selbe,

dachte ich mir auch, weil sie 4.3.1b ja auch offline funzt.

hmm, was kann ich noch machen?
juergenr
Beiträge: 9
Registriert: Di 29. Jul 2003, 13:47
Kontaktdaten:

Beitrag von juergenr »

hab den fehler,

die dazei perm.php hatte beim übertragen einen fehler produziert.

das war alles.

trotzdem danke
timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo »

Dann bin ich ja beruhigt :)

Grüße und viel spaß mit Contenido!
Timo
Gesperrt