You are not logged in.
EDIT: pretty old one, just marked it as solved.
Hi, i installed serendipity on my archlinux, but i can't get it running.
I tried the LAMP wiki to install apache, mysql and php. I tested the php installation with the test.php in my serendipity dir - and this works. However when i access the index.php of serendipity i get an empty page.
I tried the following:
Code:
# nc 127.0.0.1 80
GET /serendipity HTTP/1.0
HTTP/1.1 301 Moved Permanently
Date: Sat, 16 Feb 2008 02:23:04 GMT
Server: Apache
Location: http://speedy.bachstrasse.de/serendipity/
Content-Length: 320
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://speedy.bachstrasse.de/serendipity/">here</a>.</p>
<hr>
<address>Apache Server at speedy.bachstrasse.de Port 80</address>
</body></html>
I wonder why Firefox does not display this 'Moved permanently' info.
Last edited by train (2014-12-24 12:27:41)
Offline
I have no clue about configuring apache. I tried the installation steps at :
http://s9y.org/36.html
When i try to access the site via firefox: http://127.0.0.1/serenpidity, i get the following:
GET /serendipity/ HTTP/1.1
Host: speedy.bachstrasse.de
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.12) Gecko/20080208 BonEcho/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cache-Control: max-age=0
HTTP/1.0 500 Internal Server Error
Date: Sat, 16 Feb 2008 14:58:41 GMT
Server: Apache
Content-Length: 0
Connection: close
Content-Type: text/html
Offline
I found out, that php can't find the session_start:
# cat /var/log/messages
Feb 19 20:34:13 localhost httpd: PHP Fatal error: Call to undefined function session_start() in /home/httpd/html/test2.php on line 1
PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Jan 26 2008 23:50:28)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Server version: Apache/2.2.8 (Unix)
Server built: Jan 17 2008 20:21:14
But i have no clue where to look at.
Offline
Report the problem to the serendipity developer(s) - you might get a response here, but you would probably get a faster one by going to the source.
Offline
Hi, i finally got this fixed:
The following entry in /etc/php/php.ini solved this:
extension=session.so
Thank you.
Offline