Installation: Nur Text unter www.mydomain.com/serendipity

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
hhaunt
Regular
Posts: 7
Joined: Mon Jan 28, 2008 5:34 pm

Installation: Nur Text unter www.mydomain.com/serendipity

Post by hhaunt »

Hi,

nach der Installation welche einwandfrei durchlief bekomme ich bei Aufruf von www.mydomain.com/serendipity Quellcode im Browser angezeigt:

img {
behavior: url("http://www.mydomain.com/index.php?/plug ... havior.htc");
}



Dies geht natürlich über Seitenlänge weiter. Mysql als auch PHP sind dort einwandfrei aktiv, andere CMS hatten diesen Effekt nicht. Der Aufruf der Adminoberfläche direkt über www.mydomain.com/serendipity_admin funktioniert hingegen.

Ideen?

Gruss
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Installation: Nur Text unter www.mydomain.com/serendipi

Post by garvinhicking »

Hi!

Mit deiner echten URL könnte man vielleicht helfen.

Scheint mir ein problem mit URL rewriting zu sein.

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hhaunt
Regular
Posts: 7
Joined: Mon Jan 28, 2008 5:34 pm

Re:

Post by hhaunt »

garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re:

Post by garvinhicking »

Hi!

Wie sieht deine .htaccess aus?

Möglicherweise setzt dein server mod_speling ein und nimmt einfach eine andere Date zur Darstellung von Serendipity?! Evtl. liegt's auch an einer ungültigen DirectoryIndex einstellung von Apache.

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hhaunt
Regular
Posts: 7
Joined: Mon Jan 28, 2008 5:34 pm

.htaccess

Post by hhaunt »

Hallo,


hier ist die .htaccess:


# BEGIN s9y
DirectoryIndex /index.php

<Files *.tpl.php>
deny from all
</Files>

<Files *.tpl>
deny from all
</Files>

<Files *.sql>
deny from all
</Files>

<Files *.inc.php>
deny from all
</Files>

<Files *.db>
deny from all
</Files>

# END s9y



Gruss
Stefan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: .htaccess

Post by garvinhicking »

Hi!

Hm, die .htaccess sieht in Ordnung aus.

Hast Du bei der Installation irgendwas an den Pfaden verändert? Das von dir gezeigte Phänomen könnte ich mir nur erklären, wenn die Pfade dort auf etwas anderes umgestellt (oder geleert/gelöscht) wurden?

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hhaunt
Regular
Posts: 7
Joined: Mon Jan 28, 2008 5:34 pm

Re:

Post by hhaunt »

Hi,

nee, die Installation ging ins root und die anderen Pfade sind wie vom aktuellen Release. Habs auch dreimal neu installiert mit frischer DB, da mir so einen "stranger" Fehler noch nicht untergekommen ist.

siehe auch http://www.haunted-hamburg.info/pfad.jpg

Auch nichts anderes nebenbei installiert. Wenns kein Sicherheitsrisiko darstellt würde ichs erstmal drauflassen, da mir Serendipity von allen getesteten Lösungen (ca. 60) am besten gefiel.



Gruss
Stefan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re:

Post by garvinhicking »

Hi!

Na, ich bin mir sicher dass wir das in den Griff kriegen.

Hast du bei der Neuinstallation jeweils vorher die Serendipity* Datenbanktabellen gelöscht? Andernfalls wird da nicht viel aktualisiert.

Könntest Du mal einen SQL-Dump deiner serendipity_config Datenbanktabelle zeigen? Dort sind für mich besonders die Werte der *path* Variablen von Interesse.

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hhaunt
Regular
Posts: 7
Joined: Mon Jan 28, 2008 5:34 pm

SQL Dump

Post by hhaunt »

Hallo,

hier der Dump:

-- phpMyAdmin SQL Dump
-- version 2.8.0.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Erstellungszeit: 30. Januar 2008 um 16:09
-- Server Version: 4.1.11
-- PHP-Version: 4.3.10-19
--
-- Datenbank: `usr_s13w145_1`
--

-- --------------------------------------------------------

--
-- Tabellenstruktur für Tabelle `serendipity_config`
--

CREATE TABLE `serendipity_config` (
`name` varchar(255) NOT NULL default '',
`value` text NOT NULL,
`authorid` int(11) default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Daten für Tabelle `serendipity_config`
--

INSERT INTO `serendipity_config` (`name`, `value`, `authorid`) VALUES ('template', 'carl_contest', 0),
('dbNames', '1', 0),
('serendipityPath', '/var/www/htdocs/s13w145/html/', 0),
('uploadPath', 'uploads/', 0),
('serendipityHTTPPath', '/', 0),
('templatePath', 'templates/', 0),
('uploadHTTPPath', 'uploads/', 0),
('baseURL', 'http://www.haunted-hamburg.info/', 0),
('autodetect_baseURL', '', 0),
('indexFile', 'index.php', 0),
('permalinkStructure', 'archives/%id%-%title%.html', 0),
('permalinkAuthorStructure', 'authors/%id%-%realname%', 0),
('permalinkCategoryStructure', 'categories/%id%-%name%', 0),
('permalinkFeedCategoryStructure', 'feeds/categories/%id%-%name%.rss', 0),
('permalinkFeedAuthorStructure', 'feeds/authors/%id%-%realname%.rss', 0),
('permalinkArchivesPath', 'archives', 0),
('permalinkArchivePath', 'archive', 0),
('permalinkCategoriesPath', 'categories', 0),
('permalinkAuthorsPath', 'authors', 0),
('permalinkUnsubscribePath', 'unsubscribe', 0),
('permalinkDeletePath', 'delete', 0),
('permalinkApprovePath', 'approve', 0),
('permalinkFeedsPath', 'feeds', 0),
('permalinkPluginPath', 'plugin', 0),
('permalinkAdminPath', 'admin', 0),
('permalinkSearchPath', 'search', 0),
('permalinkCommentsPath', 'comments', 0),
('allowSubscriptions', '1', 0),
('blogTitle', 'Haunted Hamburg', 0),
('blogDescription', 'Unser Blog', 0),
('blogMail', '', 0),
('lang', 'de', 0),
('charset', 'UTF-8/', 0),
('calendar', 'gregorian', 0),
('lang_content_negotiation', '', 0),
('enablePluginACL', '', 0),
('fetchLimit', '15', 0),
('RSSfetchLimit', '15', 0),
('enforce_RFC2616', '', 0),
('useGzip', '', 0),
('wysiwyg', 'true', 0),
('enablePopup', '', 0),
('embed', 'false', 0),
('top_as_links', '', 0),
('trackReferrer', '1', 0),
('blockReferer', ';', 0),
('rewrite', 'none', 0),
('serverOffsetHours', '0', 0),
('showFutureEntries', '', 0),
('enableACL', '1', 0),
('magick', '', 0),
('convert', '/usr/local/bin/convert', 0),
('thumbSuffix', 'serendipityThumb', 0),
('thumbSize', '110', 0),
('maxFileSize', '', 0),
('maxImgWidth', '', 0),
('maxImgHeight', '', 0),
('onTheFlySynch', '1', 0),
('dynamicResize', '', 0),
('mediaExif', '1', 0),
('mediaProperties', 'DPI:IMAGE;RUN_LENGTH:VIDEO:AUDIO;DATE;COPYRIGHT;TITLE;COMMENT1:MULTI;COMMENT2:MULTI', 0),
('mediaKeywords', '', 0),
('@serendipity_categories_plugin:4a4a4e5d5cae610786d2d3060c935be8/title', 'Kategorien', 0),
('@serendipity_categories_plugin:4a4a4e5d5cae610786d2d3060c935be8/authorid', 'all', 0),
('@serendipity_categories_plugin:4a4a4e5d5cae610786d2d3060c935be8/sort_order', 'category_name', 0),
('@serendipity_categories_plugin:4a4a4e5d5cae610786d2d3060c935be8/sort_method', 'ASC', 0),
('@serendipity_categories_plugin:4a4a4e5d5cae610786d2d3060c935be8/allow_select', '1', 0),
('@serendipity_categories_plugin:4a4a4e5d5cae610786d2d3060c935be8/show_count', '', 0),
('@serendipity_categories_plugin:4a4a4e5d5cae610786d2d3060c935be8/parent_base', 'all', 0),
('@serendipity_categories_plugin:4a4a4e5d5cae610786d2d3060c935be8/hide_parent', '', 0),
('@serendipity_categories_plugin:4a4a4e5d5cae610786d2d3060c935be8/hide_parallel', '', 0),
('@serendipity_syndication_plugin:e0aaadc6152a178fe19cef0e56c50354/title', 'Blog abonnieren', 0);



Gruss
Stefan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: SQL Dump

Post by garvinhicking »

Hi!

Öh, wenn ich http://www.haunted-hamburg.info/ aufrufe dann klappt es!?! Wie kommst du auf "/serendipity" in der URL? :)

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hhaunt
Regular
Posts: 7
Joined: Mon Jan 28, 2008 5:34 pm

Post by hhaunt »

Hi,

wahrscheinlich habe ich mich da zu eng an der Dokumentation orientiert:

<snip>
Installing

Once you have uploaded Serendipity to your web space you can call the installer interface via something like http://yourdomain.com/serendipity/index.php. It will take no longer than 1-2 minutes to install Serendipity.

</snip>

Gruss
Stefan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

:-) Die Standard-Doku geht davon aus, dass man es in /serendipity installiert, nicht in / - was natürlich auch problemlos geht.

Damit schätze ich, dass dann dein Problem behoben ist? :)

(Der Grund warum Du das CSS siehst ist vermutlich, weil deine apache mod_speling aktiviert hat und die erste Datei nimmt, die mit dem namen "serendipity" anfängt (und das ist die serendipity.css.php))(

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hhaunt
Regular
Posts: 7
Joined: Mon Jan 28, 2008 5:34 pm

Post by hhaunt »

Hi,

Thanx!

jupp, alles behoben. Das mit der serendipiy.css.php habe ich auch schon angenommen.

Gruss
Stefan
Post Reply