Installed spip on DD-WRT

I was able to install spip on my ASUS WL-500g Premium wireless router using the DD-WRT linux distribution. I use thttpd as a webserver. It seems to run fairly slowly, but the CPU is probably slower then modern standards.

The installation when well once I restarted the web server to active php-mysql.

However, I can't enter the private area to configure further. When I try it asks me for a login, but no password. When I enter my login it just takes me back to the Home page.

Hi,

In fact, I thought about ‹ memory_limit › in php.ini
The official documentation says that it’s 128M by default, this should be enough…
(http://php.net/ini.core)

You can also configure an op-code cache for PHP :
APC, eAccelerator, or XCache
http://en.wikipedia.org/wiki/PHP_accelerator

For MySQL, maybe ‹ memcached › can help…

hope it helps,

.Gilles

On Mon, Dec 15, 2008 at 5:19 PM, Darwin O Connor <doconnor@reamined.on.ca> wrote:

Gilles VINCENT wrote:

Hi Darwin,

I forward your message to spip-dev
http://news.gmane.org/gmane.comp.web.spip.devel

just a comment though :
How much memory do you allocate to MySql ? By default, it’s 8Mo on some distribs, and it’s not enough for the private area : I would advise 32Mo or more

Which memory setting should I change? I tried inceasing key_buffer_size from 16K to 32M, but it didn’t help.

Gilles VINCENT wrote:

Hi,

In fact, I thought about 'memory_limit' in php.ini
The official documentation says that it's 128M by default, this should be enough..
(http://php.net/ini.core)

It had been set to 8M, but I tried 32M and 128M, but the problem remains. When I try to enter the Private area, even with an invalid username, it redirects me to the Home page.

Where do you think I could find an error message?

On Fri, Dec 12, 2008 at 4:41 PM, Darwin O Connor <doconnor@reamined.on.ca> wrote:

I was able to install spip on my ASUS WL-500g Premium wireless router using the DD-WRT linux distribution. I use thttpd as a webserver. It seems to run fairly slowly, but the CPU is probably slower then modern standards.

The installation when well once I restarted the web server to active php-mysql.

However, I can't enter the private area to configure further. When I try it asks me for a login, but no password. When I enter my login it just takes me back to the Home page.

On Mon, Dec 15, 2008 at 7:25 PM, Darwin O Connor <doconnor@reamined.on.ca> wrote:

In fact, I thought about ‹ memory_limit › in php.ini

It had been set to 8M, but I tried 32M and 128M, but the problem remains. When I try to enter the Private area, even with an invalid username, it redirects me to the Home page.

Ah, maybe you are victim of the « subsection » bug of SPIP2.0.
Which version do you install : spip 1.92 ou SPIP2.0 ?

Where do you think I could find an error message?

For error message you can check
tmp/prive_spip.log
tmp/prive_mysql.log
and tmp/spip.log

.Gilles

On Fri, Dec 12, 2008 at 4:41 PM, Darwin O Connor <doconnor@reamined.on.ca> wrote:

I was able to install spip on my ASUS WL-500g Premium wireless router using the DD-WRT linux distribution. I use thttpd as a webserver. It seems to run fairly slowly, but the CPU is probably slower then modern standards.

The installation when well once I restarted the web server to active php-mysql.

However, I can’t enter the private area to configure further. When I try it asks me for a login, but no password. When I enter my login it just takes me back to the Home page.