DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-09-26 21:44:37

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Gallery, Lighttpd, PHP, ctype_digit() error?

Hi,

I just installed the menalto Gallery G1 on my DNS-323.

I basically followed instructions from Shadowandy, which are pretty straightforward.

http://www.shadowandy.net/2008/01/creat … ns-323.htm

It works nice, but for one thing:

When I try to change some album properties for example, it fails with this error:

Code:

Fatal error: Call to undefined function ctype_digit() in /mnt/HD_a2/Web/gallery-1.5.9/lib/valchecks.php on line 158

Might this be to some missing library or the wrong compile option on the php package? I used the packages from fonze's ffp 0.5

one of the compile options is

Code:

--enable-ctype=shared

Offline

 

#2 2008-09-26 22:30:17

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Gallery, Lighttpd, PHP, ctype_digit() error?

In /ffp/etc/php.ini, try adding:

Code:

[php]
...
extension=ctype.so

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB