Page 1 of 1

local install isn't working

Posted: Thu May 12, 2005 3:03 am
by Guest
System
---------
Win XP
Apache 1.3
PHP 5.0.2
Postgre 8.0

But when I go to http://localhost/

Code: Select all

<html>
<head>
    <title>Personal blog </title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta name="Powered-By" content="Serendipity v.0.8" />
    <link rel="stylesheet" type="text/css" href="http://localhost\/index.php?/serendipity.css" />
    <link rel="alternate"  type="application/rss+xml" title="Personal blog RSS feed" href="http://localhost\/index.php?/feeds/index.rss2" />
    <link rel="alternate"  type="application/x.atom+xml"  title="Personal blog Atom feed"  href="http://localhost\/index.php?/feeds/atom.xml" />


</head>

<body>

<div id="serendipity_banner">
    <h1><a class="homelink1" href="http://localhost\/">Personal blog</a></h1>
    <h2><a class="homelink2" href="http://localhost\/">My little place on the web...</a></h2>
</div>

<table id="mainpane">
    <tr>

        <td id="content" valign="top"><!-- CONTENT START -->


<!-- ENTRIES START -->
    

                No entries to print
        
    <div class='serendipity_entryFooter' style="text-align: center">
    
            (Page 1 of 1, totalling 0 entries)
    
    
    
    </div>
<!-- ENTRIES END -->
I think it has something to do with the way the links are getting translated. Any help will be appreciated.

Posted: Thu May 12, 2005 3:05 am
by h0liday
I registered but, I forgot to login. :shock:

Posted: Thu May 12, 2005 3:10 pm
by garvinhicking
You seem to have entered "\" in your path configuration. Only use "/" forward slashes in your config.

Regards,
Garvin

Posted: Fri May 13, 2005 12:48 am
by h0liday
I don't remember putting '\' anywhere in the configs.

Here's my local config...

Code: Select all

<?php
	/*
	  Serendipity configuration file
	  Written on Wed, 11 May 2005 19:35:51 -0500
	*/

	$serendipity['versionInstalled']  = '0.8';
	$serendipity['dbName']            = 'sd_blog';
	$serendipity['dbPrefix']          = 'serendipity_';
	$serendipity['dbHost']            = 'localhost';
	$serendipity['dbUser']            = 'sd_blog';
	$serendipity['dbPass']            = 'sd_blog1';
	$serendipity['dbType']            = 'postgres';
	$serendipity['dbPersistent']      = false;

	// End of Serendipity configuration file
	// You can place your own special variables after here:

?>
I can't seem to find the path in any of the *.php or *.php.inc files.

Posted: Fri May 13, 2005 2:48 am
by h0liday
I've figured it out... Thanks for the help.. :D

For some reason these entries were set in the serendipity_config table in my database.

serendipityHTTPPath = "\/"
and the baseURL = "http://localhost\/"

I manually updated these entries and everything is working fine now.