Seite 1 von 1

:oops: Website wird nicht geladen!

Verfasst: Mi 14. Jul 2004, 09:12
von robger
Hy kann jemand helfen?

unter
http://pixelprojet.de/roberto/cms
kommt diese Meldung:

Code: Alles auswählen

Fatal error: Could not display error page. Error to display was: 'No start article in this category'
und eine Loginbox

Hab aber Startartikel festgelegt, Administartion geht alles, Kann alles geladen und geschrieben

Achso

Verfasst: Mi 14. Jul 2004, 09:13
von robger
Hab version 4.4.4

Diese Fehler wird immer in der Contenido Error Log geschrieb

Verfasst: Mi 14. Jul 2004, 09:32
von robger
[14-Jul-2004 10:30:21] Invalid SQL: SELECT
A.idlang
FROM
con_clients AS A,
con_lang AS B
WHERE
idclient='' AND
A.idlang=B.idlang AND
B.active='1'
LIMIT
0,1<br><br>
[14-Jul-2004 10:30:21] next_record called with no query pending.

Verfasst: Mi 14. Jul 2004, 09:33
von emergence
wie sieht die cms/config.php aus ?

Antwort

Verfasst: Do 15. Jul 2004, 07:58
von robger
config ist drin (auszug):

Code: Alles auswählen

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

/* "Workaround" for register_globals=off settings. */
require_once '/home/www/web43/html/roberto/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']               = '/home/www/web43/html/roberto/contenido/';

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

/* The root server path where all frontends reside */
$cfg['path']['frontend']                = '/home/www/web43/html/roberto';

/* The root server path to the conlib directory */
$cfg['path']['phplib']                  = '/home/www/web43/html/roberto/conlib/';

/* The root server path to the pear directory */
$cfg['path']['pear']                    = '/home/www/web43/html/roberto/pear/';

/* The server path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg']                 = '/home/www/web43/html/roberto/contenido/external/wysiwyg/spaw/';

/* The web path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg_html']            = 'http://www.pixelprojet.de/roberto/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 = 'usr_web43_2';

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

/* 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;

Verfasst: Do 15. Jul 2004, 08:51
von Halchteranerin
Hast Du die direkt beim Setup speichern koennen, oder musstest Du sie erst lokal speichern und dann uebertragen? Falls letzteres, hast Du sie an die richtige Stelle (contenido/includes/config.php) kopiert?

Davon abgesehen, verstehe ich nicht, wieso bei Dir alle Kategorien doppelt vorhanden sind. Wenn man eine offline setzt, wird die gleichnamige ebenfalls offline gesetzt. Ich wuerde sagen, irgendwas ist bei Deiner Installation vermurkst. Versuch's mit einer kompletten Neuinstallation (vorher auch die Datenbankeintraege entfernen, einschliesslich Tabellen).

Sorry

Verfasst: Do 15. Jul 2004, 09:05
von robger
Ergab sich so
sorry

Verfasst: Do 15. Jul 2004, 10:08
von emergence
das ist deine cms/config.php ?
dann hast du ein problem...
dein auszug darf sich eigentlich nur in contenido/includes/config.php befinden.

die config datei sollte dort mindestens so aussehen (aus contenido/external/frontend/config.php):

Code: Alles auswählen

<?php

//path to contenido, for all inclusions
$contenido_path = "!PATH!";

$load_lang = "!LANG!";
$load_client = "!CLIENT!";

/* Set to 1 to brute-force module regeneration */
$force = 0;

?>
die drei platzhalter solltest du entsprechend ersetzen... ca. so
'!PATH!' -> '../contenido/' -> relativer pfad zu contenido
"!LANG!" -> "1" -> verwendete sprach id
"!CLIENT!" -> "1" -> verwendete client id

die zweigleisigkeit hab ich entfernt...

??

Verfasst: Do 15. Jul 2004, 10:34
von robger
Die config.php in external/frontend muss ich ändern? hab ich gemacht, muss aber dort bleiben?

und die config.php in cms/ ist doch un wichtig oder? in der muss nicht geändert werden oder?
da steht das schon drin was in der config.php in external/frontend steht

und die config.php in include hab ich oben gepostet

Re: ??

Verfasst: Do 15. Jul 2004, 10:46
von emergence
:?:
steht ja oben -> wenn das deine cms/config.php datei ist hast du ein problem...
robger hat geschrieben:Die config.php in external/frontend muss ich ändern?
nein, die musst du nicht ändern (ich hab nur den auszug von dort)
robger hat geschrieben:hab ich gemacht, muss aber dort bleiben?
auf das kriegst du jetzt keine antwort
robger hat geschrieben:und die config.php in cms/ ist doch un wichtig oder?
nein, wieder falsch
robger hat geschrieben:in der muss nicht geändert werden oder?
doch, das ist die wichtige datei in der die änderungen vorgenommen werden müssen..
robger hat geschrieben:da steht das schon drin was in der config.php in external/frontend steht
wenn nur das schon drinnen steht würde das stimmen...
robger hat geschrieben:und die config.php in include hab ich oben gepostet
die datei in include ist vollkommen egal bei deinem problem...

Verfasst: Do 15. Jul 2004, 11:17
von Halchteranerin
also doch wie von mir im anderen Thread vorgeschlagen, alles neu installieren, und diesmal richtig. Am besten die readme.txt vorher lesen! Und das, was bei den einzelnen Installationsschritten steht, DURCHLESEN, nicht einfach weiterklicken. Und sonst keine Dateien aus einem Verzeichnis ins andere kopieren/verschieben, nur weil sie ZUFAELLIG den gleichen Namen haben. Dann klappt's auch mit Contenido. :lol:

antwort

Verfasst: Do 15. Jul 2004, 12:18
von robger
in der cms/config.php steht das drin:

Code: Alles auswählen

<?php

//path to contenido, for all inclusions
$contenido_path = "../contenido/";
$errorfont = "font3";
//fo the language file
$language="de";

/* Required: language and client */
$load_lang = "1";
$load_client = "1";

/* idcatart of the newsletter control page */
$newsletteridcatart = 37;

$frontend_debug["container_display"] = false;
$frontend_debug["module_display"] = false;
$frontend_debug["module_timing"] = false;

/*
* Uncomment this to benefit from the "alldebug" functionality :)

if ($HTTP_GET_VARS["alldebug"] == 1)
{
$frontend_debug["container_display"] = true;
$frontend_debug["module_display"] = true;
$frontend_debug["module_timing"] = true;
$force = 1;
} 
*/


?>

Verfasst: Do 15. Jul 2004, 13:13
von emergence
nun ja, wenn man nacheinander untere links anklickt

http://www.pixelprojet.de/roberto/cms/f ... geclient=1
http://www.pixelprojet.de/roberto/cms/f ... angelang=1

in der reihenfolge !

ist die seite zu sehen...

aus irgendeinem grund, der für mich nicht nachvollziehbar ist, wird
load_lang und load_client in der cms/config.php ignoriert... oder nicht eingelesen...

wenn du nichts am system sonst gedreht hast, ist es am besten, alles nochmal neu zu installieren...