From: Rob H. <ro...@na...> - 2003-02-27 18:03:49
|
On Thu, Feb 27, 2003 at 02:16:40PM +0000, lu fang wrote: > Hi, > I just downloaded sandweb-beta and install it successfully. But when I run > it, I can not see the login screen, instead, i got this error displayed in > my browser: > > software error: > HTML::Template : Attempt to set nonexistent parameter 'image_dir' - this > parameter name doesn't match any declarations in the template file : > (die_on_bad_params => 1) at /usr/lib/perl5/site_perl/5.6.1/SandWeb/UI.pm > line 252 Hmm.. that sounds almost like it's still using the old login.html template instead of the new one ( the image_dir parameter should be specified, even if it's empty it shouldn't get that message ). Did you change the default install path or anything? > > I have installed sandweb-alpha and can make it run properly before, and i > didn't do anything special in the installation process of this beta > version(just add some perl modeules mentioned in the INSTALL file). Can > anyone tell me how to fix this problem? thanks a lot! Can you do "ls -la /usr/local/lib/sandweb/templates/login.html" and also "cat /usr/local/etc/sandweb/sandweb.cfg" Send the output of those two commands, just to make sure that the templates are in the right place, they are the right version, and that the .cfg file is pointing to them ( I'll be able to tell from the output ). -- Rob |