Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-03-19 11:24:45

Chrisk
New Member
Registered: 2013-03-19
Posts: 3

How do I ... install textpattern on Lighttpd?

Greetings,

Debian 6
lighttpd/1.4.28 (ssl) – a light and fast webserver
mysql Ver 14.14 Distrib 5.1.66, for debian-linux-gnu (x86_64) using readline 6.1
PHP 5.3.3-7+squeeze15 with Suhosin-Patch (cgi-fcgi) (built: Mar 4 2013 13:07:16)

lighttpd is up and running with:
simple-vhost.conf, fastcgi.conf, fastcgi-php.conf, textpattern.conf

phpinfo installed in the vhost docroot shows al lot of information

I can log into mysql as user textpattern with the password stored in debian-db.php, the database
textpattern exists but has no tables.

Calling http://mydomain/tp/textpattern/setup/index.php with an external browser gives a 404
and the page shows this:
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /usr/share/textpattern/textpattern/lib/txplib_misc.php on line 180

Help welcome.

Christian

Offline

#2 2013-03-19 14:21:44

Chrisk
New Member
Registered: 2013-03-19
Posts: 3

Re: How do I ... install textpattern on Lighttpd?

Resolved. Calling the setup is restricted (by textpattern.conf) to local and the domain name has to be localhost.

How can I re-run the setup?

Christian

Last edited by Chrisk (2013-03-19 14:27:56)

Offline

#3 2013-03-19 15:55:54

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: How do I ... install textpattern on Lighttpd?

Chrisk wrote:

How can I re-run the setup?

Chris, You should be able to just delete the config.php. You may also want to drop the tables from the database – or you could create a new one.

Offline

#4 2013-03-19 18:55:46

Chrisk
New Member
Registered: 2013-03-19
Posts: 3

Re: How do I ... install textpattern on Lighttpd?

Yes. I didn’t find out how to delete the db in mysql nor how to create a new one. But dpkg-reconfigure textpattern did the trick.

Thank you. I’m in.

Christian

Offline

Board footer

Powered by FluxBB