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 2007-08-17 19:18:18

WildSioux
Member
Registered: 2007-03-05
Posts: 71

Phprojekt groupware "ctype" problem

I have downloaded this groupware program to install on my DNS323 for a demo to the place I work.  I want to show them this program for listing internal company contacts.  I expect they would want to see a working version before installing it on their own servers.

Anyways, I ran the setup.php file and everything installed fine.  This is using sqlite built in the php 5.2.3 that I downloaded from fonz's website.  I am using his funplug 0.3 as well with lighttpd.  All of that is working fine because I have jalbum running with php and this setup for phprojekt ran fine.

The problem I run into is after the setup/installation of phprojekt is done.  It says, run "index.php" to start the program.  I enter that and it just shows me a blank page.  I did some searching on the phprojekt forums and found others with the same problem. 

This is quoted from that discussion...

>undefined function: ctype_alnum() in
>/var/data/www/projekt.hsf.cz/lib/html/library/HTMLPurifier/ConfigSchema.php
>on line 156.

I had the same problem after installing phpprojekt
my OS - SuSE Linux 10.0

Solution:
- install package php5-ctype with yast
- as root type: rcapache2 restart

I don't know much about all of this stuff.  But I know enough that I have been able to get lighttpd with php running thanks to fonz!  I think this problem is related to the php 5.2.3 file/setup that is running.  This is no fault to fonz. 

Would it be possible to get this ctype module/settings loaded into php 5.2.3 so I can run this phprojekt?  I chose this program because all of the others I have seen require mysql or postgresql...something the dns can't run (I have read).

Thanks, Mike

Offline

 

#2 2007-08-18 00:23:28

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

Re: Phprojekt groupware "ctype" problem

WildSioux wrote:

Would it be possible to get this ctype module/settings loaded into php 5.2.3

It was a simple matter of recompiling php with the "--enable-ctype" switch. Let us know, if it works:
http://www.inreto.de/dns323/fun-plug/0. … -5.2.3.tgz

PS: That's the php version without gd. If you need the gd-version, I can recompile that one as well.

Last edited by fonz (2007-08-18 00:24:04)

Offline

 

#3 2007-08-18 18:54:04

WildSioux
Member
Registered: 2007-03-05
Posts: 71

Re: Phprojekt groupware "ctype" problem

Thanks fonz for your quick response.  I copied the new php files to the bin folder and restarted lighttpd.  I tried to install the program and made it through but still am getting a blank index.php

I also tried to install phpnuke since that can run on sqlite.  But during the installation process it says enter the mysql properties.  I tried it anyways but again get a blank screen when it tries to create the database using just localhost.

I think the problem now may be that its not connecting to a database (i.e. no database there or its not running correctly)...  Is there something I need to do to get sqlite running?  Thanks again...

EDIT:  Fonz, recompile the php-gd version with this "--enable-ctype" switch.  That may or may not do the trick but the phpnuke program said in the pre-test that php-gd was not installed.  Either way, I think it has something to do with the sql database issue.

Last edited by WildSioux (2007-08-18 20:12:25)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB