One problem though, on my testsite I can't edit pages. The install went fine. The module shows, I can click it, but editing just ends in an 404. It refers to a non excisting page like:http://:/?RecentChanges.
Any ideas?
Regards
#!/bin/bash
#enter the location that ninan is installed in
export NINANDIR=/path/to/ninan-install-folder
#Use this to specify the java command
#export JAVABIN="/usr/lib/java/bin/java"
export JAVABIN="java"
#this is a breakdown of the ninan command - the java options and the command itself
#export JAVAOPT="-Xms128m -Xmx256m"
export JAVAOPT="-Xmx128m"
#one day, i'll figur out a way of generating this bit
export NINANCMD="-Djava.awt.headless=true -classpath
./lib/ninan.jar:./lib/mysql-connector-java-3.0.14-production-bin.jar:./lib/hsqldb.jar:./lib/log4j.jar:./lib/commons-lang.jar:./lib/commons-net.jar:./lib/org.mortbay.jetty.jar:./lib/jasper-compiler.jar:./lib/jasper-runtime.jar:./lib/javax.servlet.jar:./lib/ant.jar:./lib/commons-logging.jar:./lib/commons-httpclient-2.0-rc3.jar:./lib/saxpath.jar:./lib/dom4j-1.6.jar:./lib/jaxen-full.jar:./lib/spring-core-1.2.6.jar:./lib/spring-1.2.6.jar:./config:.
dk.team.ninan.core.NinanMain"
if [ `whoami` == root ]
then
echo "Ninan should NOT run as root!"
exit -1
fi
case "$1" in
stop)
kill `cat /var/run/ninand.pid`
echo Killing Process `ps -ef | grep ninan | awk '{print $2}'`
kill `ps -ef | grep ninan | awk '{print $2}'`
;;
start)
/bin/bash -c '
/bin/echo $$ > /var/run/ninand.pid ;
cd $NINANDIR ;
touch $NINANDIR/restart ;
while test -f $NINANDIR/restart ;
do rm $NINANDIR/restart ;
nohup $JAVABIN $JAVAOPT $NINANCMD ;
done' >/dev/null 2>/dev/null &
;;
restart)
$0 stop
sleep 2
$0 start
;;
startl)
$0 start
sleep 2
$0 log
;;
log)
tail -f $NINANDIR/log4j.txt
;;
*)
echo "Usage: $0 {start|stop|log|startl}" >&2
exit 1
;;
esac
date ; wget [url=http://www.ninan.org/modules/newbb/viewforum.php]http://www.ninan.org/modules/newbb/viewforum.php[/url]
Sat Jul 29 13:16:25 BST 2006
--13:16:25-- [url=http://www.ninan.org/modules/newbb/viewforum.php]http://www.ninan.org/modules/newbb/viewforum.php[/url]
=> `viewforum.php'
Resolving [url=http://www.ninan.org...]www.ninan.org...[/url] 82.168.251.8
Connecting to [url=http://www.ninan.org]www.ninan.org[/url][82.168.251.8]:80... connected.
HTTP request sent, awaiting response...
13:18:25 ERROR -1: No data received.
date ; wget [url=http://www.ninan.org/modules/newbb/viewforum.php]http://www.ninan.org/modules/newbb/viewforum.php[/url]
Sat Jul 29 14:34:38 CEST 2006
--14:34:38-- [url=http://www.ninan.org/modules/newbb/viewforum.php]http://www.ninan.org/modules/newbb/viewforum.php[/url]
=> `viewforum.php'
Resolving [url=http://www.ninan.org...]www.ninan.org...[/url] 82.168.251.8
Connecting to [url=http://www.ninan.org]www.ninan.org[/url]|82.168.251.8|:80... connected.
HTTP request sent, awaiting response... 200 OK
Lengte: 1,584 (1.5K) [text/html]
100%[====================================>] 1,584 --.--K/s
14:34:38 (36.84 MB/s) - 'viewforum.php' saved [1584/1584]
Unable to install System. Error(s):
- Could not add nameid field in configcategory table
- Could not add description field in configcategory table
- Could not add module id field in configcategory table
- Could not delete user configuration category
- Could not insert System to database.
xoops_module_pre_update_system executed successfully.
Unknown column 'umode' in 'field list'
INSERT INTO li3Pl04DxW_user_profile (profileid, user_icq, user_from, user_sig, user_viewemail, user_aim, user_yim, user_msnm, user_occ, url, bio, user_intrest, umode, uorder, notify_method, notify_mode, user_regdate, posts, attachsig, timezone_offset, user_mailok, theme, actkey, last_login) SELECT uid, user_icq, user_from, user_sig, user_viewemail, user_aim, user_yim, user_msnm, user_occ, url, bio, user_intrest, umode, uorder, notify_method, notify_mode, user_regdate, posts, attachsig, timezone_offset, user_mailok, theme, actkey, last_login FROM li3Pl04DxW_users
Can't DROP 'block_id'; check that column/key exists
Can't DROP 'module_id'; check that column/key exists
Duplicate column name 'pageid'
xoops_module_update_system executed successfully.
Module System updated successfully.
Back to Module Administration page
Unable to install System. Error(s):
- Could not add nameid field in configcategory table
- Could not add description field in configcategory table
- Could not add module id field in configcategory table
- Could not delete user configuration category
- Could not insert System to database.
xoops_module_pre_update_system executed successfully.
Unknown column 'umode' in 'field list'
INSERT INTO li3Pl04DxW_user_profile (profileid, user_icq, user_from, user_sig, user_viewemail, user_aim, user_yim, user_msnm, user_occ, url, bio, user_intrest, umode, uorder, notify_method, notify_mode, user_regdate, posts, attachsig, timezone_offset, user_mailok, theme, actkey, last_login) SELECT uid, user_icq, user_from, user_sig, user_viewemail, user_aim, user_yim, user_msnm, user_occ, url, bio, user_intrest, umode, uorder, notify_method, notify_mode, user_regdate, posts, attachsig, timezone_offset, user_mailok, theme, actkey, last_login FROM li3Pl04DxW_users
Can't DROP 'block_id'; check that column/key exists
Can't DROP 'module_id'; check that column/key exists
Duplicate column name 'pageid'
xoops_module_update_system executed successfully.
Module System updated successfully.