Fatal error: Call to undefined function: clnclude() in /www/

Gesperrt
fred_x
Beiträge: 7
Registriert: Fr 1. Apr 2005, 15:59
Kontaktdaten:

Fatal error: Call to undefined function: clnclude() in /www/

Beitrag von fred_x »

Code: Alles auswählen

Fatal error: Call to undefined function: clnclude() in /www/htdocs/brennt/contenido/index.php on line 18
nach dem setup bekomme ich diese fehlermeldung

mein server habe ich bei all-inkl


kann mir da wer ein tip geben

server infos

http://www.flame.smokit.de/infophp

sind dort zu finden

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

Beitrag von timo »

hast du die config.php gespeichert?
emergence
Beiträge: 10653
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

Beitrag von emergence »

anscheinend sind bei dir pfad angaben innerhalb der contenido/includes/config.php falsch...

unter http://www.flame.smokit.de/cms/
werden die bilder auch nicht angezeigt
da steht was das nicht richtig sein kann
-> http://www.flame.smokit.de//contenido-4.4.5/cms/upload/logos/contenido_logo.jpg
das fett markierte hat da sicher nichts verloren...

lösch noch mal den inhalt der db
und führ das setup erneut aus...
die config.php datei nochmals in den ordner contenido/includes/ speichern...
*** make your own tools (wishlist :: thx)
fred_x
Beiträge: 7
Registriert: Fr 1. Apr 2005, 15:59
Kontaktdaten:

Beitrag von fred_x »

@ timo ja


und hier mal die config.php



Code: Alles auswählen

<?php

/******************************************
* File      :   config.php
* Project   :   Contenido
* Descr     :   Defines all general
*               variables of Contenido.
*
* © four for business AG
******************************************/



/* Current Contenido Version. You shouldn't change this
   value unless you know what you are doing :). The reason
   why it is placed in the top of this file is to easier
   get out the contenido version. */

$cfg['version'] = "4.4.5";

/* "Workaround" for register_globals=off settings. */
require_once '/www/htdocs/brennt/contenido/includes/globals_off.inc.php';


/* Section 1: Path settings
 * ------------------------
 *
 * Path settings which will vary along different
 * Contenido settings.
 *
 * A little note about web and server path settings:
 * - A Web Path can be imagined as web addresses. Example:
 *   http://192.168.1.1/test/
 * - A Server Path is the path on the server's hard disk. Example:
 *   /var/www/html/contenido    for Unix systems OR
 *   c:/htdocs/contenido        for Windows systems
 *
 * Note: If you want to modify the locations of subdirectories for
 *       some reason (e.g. the includes directory), see Section 8.
 */

/* The root server path to the contenido backend */
$cfg['path']['contenido']               = '/www/htdocs/brennt/contenido/';

/* The web server path to the contenido backend */
$cfg['path']['contenido_fullhtml']      = 'http://www.Flame.smokit.de/contenido/';

/* The root server path where all frontends reside */
$cfg['path']['frontend']                = '/www/htdocs/brennt';

/* The root server path to the conlib directory */
$cfg['path']['phplib']                  = '/www/htdocs/brennt/conlib/';

/* The root server path to the pear directory */
$cfg['path']['pear']                    = '/www/htdocs/brennt/pear/';

/* The server path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg']                 = '/www/htdocs/brennt/contenido/external/wysiwyg/spaw/';

/* The web path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg_html']            = 'http://www.Flame.smokit.de/contenido/external/wysiwyg/spaw/';





/* Section 2: Database settings
 * ----------------------------
 *
 * Database settings for MySQL. Note that we don't support
 * other databases in this release.
 */

/* The prefix for all contenido system tables, usually "con" */
$cfg['sql']['sqlprefix'] = 'con';

/* The host where your database runs on */
$contenido_host = 'localhost';

/* The database name which you use */
$contenido_database = 'brennt';

/* The username to access the database */
$contenido_user = 'brennt';

/* The password to access the database */
$contenido_password = '***;





/* Section 3: Misc settings
 * ----------------------------------
 *
 * Misc user defined settings.
 */

 /* Thumbnail width, in pixels */
$con_cfg['thumb']['width'] = 50;

/* Thumbnail height, in pixels */
$con_cfg['thumb']['height'] = 50;







/* Section 4: Error handling settings
 * ----------------------------------
 *
 * Actually no variables, but important settings
 * for error handling and logging.
 */

/* Don't display errors */
ini_set("display_errors",true);

/* Log errors to a file */
ini_set("log_errors",true);

/* The file in which we write the error log */
ini_set("error_log",$cfg["path"]["contenido"]."logs/errorlog.txt");

/* Report all errors except warnings */
error_reporting (E_ALL ^ E_NOTICE);

/* Various base API functions */
require_once ('/www/htdocs/brennt/contenido/includes/api/functions.api.general.php');




/* Section 5: Color settings
 * ----------------------------------
 *
 * Color definitions for tables and notifications.
 */

$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';





/* Section 6: XML Files
 * ----------------------------------
 *
 * Defines the XML navigation files for different languages.
 */

$cfg['lang']['de_DE']                   = 'lang_de_DE.xml';
$cfg['lang']['en_US']                   = 'lang_en_US.xml';
$cfg['lang']['nl_NL']                   = 'lang_nl_NL.xml';
$cfg['lang']['he_HE']                   = 'lang_he_HE.xml';
$cfg['lang']['fr_FR']                   = 'lang_fr_FR.xml';
$cfg['lang']['it_IT']                   = 'lang_it_IT.xml';




/* Section 7: Template Files
 * ----------------------------------
 *
 * Defines the files for different 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']['generic_left_top']     = 'template.generic_left_top.html';
$cfg['templates']['generic_menu']         = 'template.generic_menu.html';
$cfg['templates']['generic_subnav']       = 'template.generic_subnav.html';
$cfg['templates']['generic_form']         = 'template.generic_form.html';
$cfg['templates']['generic_table_form']   = 'template.generic_table_form.html';
$cfg['templates']['generic_page']		  = 'template.generic_page.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']['systam_variables']	  = 'template.system_variables.html';
$cfg['templates']['system_subnav']		  = 'template.system_subnav.html';
$cfg['templates']['system_errorreport']   = 'template.system_errorreport.html';
$cfg['templates']['systam_variables_mailattach']	= 'template.system_sysval_mailattach.html';

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





/* Section 8: Fixed path settings
 * ----------------------------------
 *
 * Defines fixed path variables for various sub-directories,
 * and compatibility pathes. Modify them on your own risk!
 */

$cfg['path']['contenido_html']          = '../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']['locale']                  = 'locale/';


$cfg['path']['frontendtemplate']        = 'external/frontend/';
$cfg['path']['templates']               = 'templates/standard/';

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

$con_cfg['PathPlugins'] = "plugins/";
$con_cfg['PathClasses'] = "classes/";
$cfgPathStatfiles="statfile/";
$cfgPathXML = 'xml/';
$cfgPathDoc = "doc/";
$cfgPathImg = "img/";
$cfgPathInc = "includes/";
$cfgPathClasses = "classes/";
$cfgPathJs  = "js/";
$cfgPathTpl = "tpl/";
$cfgPathStyle = "styles/contenido.css";
$cfgPathFrontendImg  = "img_site/";
$cfgClient['upl']['forbidden']  = '.php|.htaccess|.htpasswd';
$cfgClient['upl']['protected']  = 'img/,pdf/,swf/,zip/';
$con_cfg['PathFrontendTmp']     = 'cache/';


/* Section 9: Cache settings
 * ----------------------------------
 *
 * Caching options
 */
$cfg["cache"]["disable"] = true;
$cfg["cache"]["dir"]	 = "cache/";
$cfg["cache"]["lifetime"]= 3600;



/* Section 10: Misc settings
 * ----------------------------------
 *
 * Misc settings
 */


/* If you want to measure backend page rendering times, set this
   to true */

$cfg["debug"]["rendering"] = false;

/* E-Mail-Address where bug reports will be sent to */
$cfg['bugreport']['targetemail'] = 'bugreport@contenido.de';

/* The available charsets */
$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'
);

/* Set global vars which are missing on some server configurations */
$HTTP_HOST    = $_SERVER['HTTP_HOST'];
$PHP_SELF     = $_SERVER['PHP_SELF'];
$QUERY_STRING = $_SERVER["QUERY_STRING"];

/* Don't remove these lines. If you do, you'll break the whole system */
include_once ($cfg["path"]["contenido"].$cfg["path"]["includes"]."cfg_sql.inc.php");
include_once ($cfg["path"]["phplib"] . "prepend.php3");


fred_x
Beiträge: 7
Registriert: Fr 1. Apr 2005, 15:59
Kontaktdaten:

Beitrag von fred_x »

emergence hat geschrieben:
lösch noch mal den inhalt der db
und führ das setup erneut aus...
die config.php datei nochmals in den ordner contenido/includes/ speichern...
gemacht und wieder das selbe gekommen :(

Code: Alles auswählen

Fatal error: Call to undefined function: clnclude() in /www/htdocs/brennt/contenido/index.php on line 18
emergence
Beiträge: 10653
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

Beitrag von emergence »

hmm
na zumindestens sieht man nun die bilder...

also wenn sich die contenido/includes/config.php an dieser position befindet könnte es vielleicht am php include_path liegen
lt. deiner phpinfo ausgabe

Code: Alles auswählen

include_path .:.. 
ob das so richtig ist ???

in der contenido/index.php findet sich bei zeile 16

Code: Alles auswählen

include_once ('./includes/config.php');
ändere das mal auf

Code: Alles auswählen

include_once ('/www/htdocs/brennt/contenido/includes/config.php');
mehr als, dass es auch nicht geht, kann auch nicht sein...
*** make your own tools (wishlist :: thx)
fred_x
Beiträge: 7
Registriert: Fr 1. Apr 2005, 15:59
Kontaktdaten:

Beitrag von fred_x »

dann kommt das selbe mit der zeile 18

schade ich habe da auch nicht die große ahnung

was ich da machen sollte
emergence
Beiträge: 10653
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

Beitrag von emergence »

ne wirklich idee hab ich jetzt nicht mehr...
das intressante ist ja das dein frontend geht -> cms/
und das backend nicht...
im frontend wird ja auch die funktion cInclude verwendet und dort gehts...
*** make your own tools (wishlist :: thx)
fred_x
Beiträge: 7
Registriert: Fr 1. Apr 2005, 15:59
Kontaktdaten:

Beitrag von fred_x »

gibts den da nich noch was anderes was ich testen kann oder soll


weil das system finde ich schon recht cool was ich so sehen kann


danke fred
emergence
Beiträge: 10653
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

Beitrag von emergence »

keine ahnung
benenne doch mal die contenido/includes/config.php um...
wie sieht die fehlermeldung dann aus ?
*** make your own tools (wishlist :: thx)
fred_x
Beiträge: 7
Registriert: Fr 1. Apr 2005, 15:59
Kontaktdaten:

Beitrag von fred_x »

Code: Alles auswählen

Warning: main(./includes/config.php) [function.main]: failed to create stream: No such file or directory in /www/htdocs/brennt/contenido/index.php on line 16

Warning: main() [function.main]: Failed opening './includes/config.php' for inclusion (include_path='.:..') in /www/htdocs/brennt/contenido/index.php on line 16

Fatal error: Call to undefined function: clnclude() in /www/htdocs/brennt/contenido/index.php on line 18
fred_x
Beiträge: 7
Registriert: Fr 1. Apr 2005, 15:59
Kontaktdaten:

Beitrag von fred_x »

erledigt online


also wie ich dann gesehen habe hatte ich die 4.4.5


und ein freund hat mir die 4.4.4 gegeben und damit gehts dann jetzt auch :oops:
Gesperrt