/&cat3 ? wcms findet Seite nicht...

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
bastain
Posts: 122
Joined: Sat 11. Dec 2004, 15:59

/&cat3 ? wcms findet Seite nicht...

Post by bastain »

Also irgendwas stimmt aber mit der Verzeichnisangabe nicht. Ich habe jetzt zum Beispiel alles am laufen und phpwcms ins das verzeichnis http://www.domain.de/phpwcms/ installiert, aber nur als sitename http://www.domain.de angegeben. Soweit so gut.

Aber wenn ich unter Seitenstruktur verschiedene Kategorien angebe und dann auf Struktur sichern gehe, passiert folgendes:

Beim ersten Mal (wenn also die Unterkategorie noch nicht gespeichert wurde, erhalte ich den 404-Fehler von DF, in der Adresszeile steht http://www.domain.de/&cat3/

Wenn ich den Backbuton drücke, bin ich wieder im Menü, drücke auf Seitenstruktur und sehe, dass die gerade angelegte Kategorie trotz Fehlermeldung gespeichert wurde. Wenn ich diese Kategorie dann einfach nochmal speichere kommt nicht mehr http://www.domain.de/&cat3/ sondern nur noch http://www.domain.de, bzw. die index.html die da liegt.

Also da stimmt irgendwas nicht....

Danke!
Bastian
Pappnase

Post by Pappnase »

hallo

kann es sein das du eien firewall anhast!?
wenn ja schalte sie ab.

http://www.phpwcms.de/forum/viewtopic.php?t=4634
bastain
Posts: 122
Joined: Sat 11. Dec 2004, 15:59

Post by bastain »

Also andere Speichervorgänge in phpwcms gehen ja auch, kann mir nicht vorstellen, dass das an meinem Fli4L-Router liegt.
Pappnase

Post by Pappnase »

hallo

hast du schon den cache geleert!?
welche release benutzt du!?

ist es ein neu install oder ein geupdatete version!?
welches programm hast du zum hochladen benutzt!?
bastain
Posts: 122
Joined: Sat 11. Dec 2004, 15:59

Post by bastain »

Es ist neu installiertes System, mit der neuesten Version, habe Kbear zum hochladen benutzt und zwar nach eer Anleitung von pepperkorn. Funktioniert auch alles, bis auf den beschriebenen Fehler...
Pappnase

Post by Pappnase »

hallo

bitte lade nochmal das ganze system neu hoch! hebe aber deine alte conf.inc.php auf. desweiteren leere deinen cache. und wenn das alles nix hilft poste mal bitte deine conf.inc.php ohne passwörter.
Pappnase

Post by Pappnase »

hallo

mache mal bitte folgendes! lader bitte nochmal den include ordner hoch! hebe aber deine inc_conf datein auf.
bastain
Posts: 122
Joined: Sat 11. Dec 2004, 15:59

Post by bastain »

<?php

// database values
$phpwcms["db_host"] = "*****";
$phpwcms["db_user"] = "*****";
$phpwcms["db_pass"] = "*****";
$phpwcms["db_table"] = "";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 0;

// site values
$phpwcms["site"] = "http://www.gbmm.de/";
$phpwcms["admin_email"] = "*****";

// paths
$phpwcms["root"] = "php_cms"; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["file_tmp"] = "phpwcms_tmp"; //default: "phpwcms_tmp"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["dir_thlist"] = "thumb_list"; //default: "thumb_list"
$phpwcms["dir_preview"] = "thumb_preview"; //default: "thumb_preview"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"

// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 400; //max height of the large preview image
$phpwcms["max_time"] = 1800; //logout after max_time/60 seconds

// other stuff
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 1; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 1; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "iso-8859-1"; //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"] = 0; //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms["jpg_quality"] = 75; //JPG Quality Range 25-100
$phpwcms["sharpen_level"] = 1; //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms["allow_ext_init"] = 1; //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"] = 1; //allow including of custom external scripts at frontend rendering

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = '********'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'Admin FUNDUS_CMS'; // reply/from name
$phpwcms['SMTP_HOST'] = '********'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'smtp'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 1; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = '*******'; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = '******'; // default SMTP password


// Try to check and uncomment the DOCUMENT_ROOT if you have problems
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT'] = '**********';


?>
Pappnase

Post by Pappnase »

hallo

bitte rufe mal die document_root.php auf und vergleiche damit mal deine conf.inc.php
bastain
Posts: 122
Joined: Sat 11. Dec 2004, 15:59

Post by bastain »

Also ich habe keinen Fehler gesehen.....das eigenartige ist ja auch, dass ich den Fehler NUR bei der Seitenstruktur-Speicherung bekomme. Sonst geht alles einwandfrei...




<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>phpwcms DOCUMENT_ROOT test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
body { background-color: #FFFFFF;}
h1 {font-size: 24px;}
h2 {font-size: 21px;}
pre {font-size: 14px;}
-->
</style></head>
<body>
<h2>phpwcms DOCUMENT_ROOT test</h2>
<p>This file has to be placed in your web root - do not <br>put it into any subdir of your webspace</p>
<?php

$doc_root = str_replace("\\", '/', $_SERVER['DOCUMENT_ROOT']);

echo "<pre>";

echo '1) your default $_SERVER[\'DOCUMENT_ROOT\']: <span style="color:#009933">'.$doc_root;
echo "</span>\n";
echo '2) real DOCUMENT_ROOT based on this file : <span style="color:#CC3300">';
$path = preg_replace('/(.*)[\/|\\\].(.*)/', '$1', $_SERVER['PATH_TRANSLATED']);

echo $path;
echo "</span></pre>";

?>

If <strong>(1)</strong> and <strong>(2)</strong> not equal then add following<br>
line at the end of your <strong>conf.inc.php</strong> but before ending "?>":
<pre style="color:#CC3300">
$_SERVER['DOCUMENT_ROOT'] = '<?php echo $path ?>';
</pre>
Check if this is corresponding with the subdir<br>
in which phpwcms is installed:
<pre style="color:#CC3300">$phpwcms['root'] = "<?php

$subdir = str_replace($doc_root, '', $path);
if(trim($subdir)) {
echo preg_replace('/^\/(.*)/', '$1', $subdir);
}
?>";</pre>
If so - everything is fine too, also if this is empty.<br>
Maybe some leading/ending slash "/" is there.<br>
That's no problem here, but remove leading or<br>
ending slashes.
Do never use the backslash "\"<br>
in paths on Windows - this may fail.
<hr size="1" noshade>
<span style="font-size:11px">Copyright &copy; 2004 Oliver
Georgi, <a href="http://www.phpwcms.de">http://www.phpwcms.de</a></span>
</body>
</html>
Pappnase

Post by Pappnase »

sorry

aber es bringt nichst wenn du den den quelltext denr document_root.php hier postest! ich denke immernoch das der fehler irgendwoe in den paden ist oder beim upload was nicht funktioniert hat!
bastain
Posts: 122
Joined: Sat 11. Dec 2004, 15:59

Post by bastain »

Gerade noch ein/der gleiche Fehler aufgefallen. Wenn ich in der Artikelübersicht im Backend bin und bei einem Artikel dann "Inhalt nach unten" oder "Inhalt nach oben" wähle, passiert folgendes:

Ich bin auf:

http://www.gbmm.de/php_cms/phpwcms.php? ... 2&s=1&id=2

drücke dann per Pfeil auf

http://www.gbmm.de/php_cms/include/inc_ ... t=3:10|4:0

und lande per diesem click auf

http://www.gbmm.de

----

Bei Create Thumbnail werde ich auch auf http://www.gbmm.de geschmissen......
bastain
Posts: 122
Joined: Sat 11. Dec 2004, 15:59

Post by bastain »

Ich habe bei der Installation alle vorgeschlagenen Pfade übernommen. Hätte ich da vielleicht was ändern müssen?
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Dir geht anscheinend der REFERER Wert flöten - Firewall, Einstellung, Blocker oder sonstwas.

Sollte nicht am Pfad liegen.

Prüfe das mal, indem Du folgende Dateien in einem verzeichnis erstellst:

1.html

Code: Select all

<a href="2.php">Referer-Test</a>
2.php

Code: Select all

<?php
echo 'Referer Value: '.$_SERVER['HTTP_REFERER'];
?>
Wenn Du dem Link in 1.html folgst, sollte bei Aufruf von 2.php eine vollständige Angabe zu sehen sein, von welcher Seite Du gerade kommst.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
bastain
Posts: 122
Joined: Sat 11. Dec 2004, 15:59

Post by bastain »

Ich habe eben schon selbst mal drüber nachgedacht, dass das problem am Browser liegen könnte. Jetzt habe ich meine Privoxy-Einstellungen gecheckt und habe in der Sektion -hide-referer die Domain dazugesellt und jetzt gehts.

Gibt es sonst noch eine kritische Einstellung, an die ich denken sollte?

Und vielen Dank für die Lösung....endlich :)
Post Reply