|
From: <jea...@gm...> - 2006-05-14 10:00:18
|
i am following along on the blog tutorial with wasp 1.2 and i'm am running
into a few issues that i'm hoping someone might have a quick answer to. som=
e
of the other issues might be bug worthy, but i thought i would check first
to make sure it wasn't the more probable - operator error.
phing lamely did not alert me to the fact that i hadn't provided my mysql
password, so it couldn't generate wrappers properly.
the default text in build.properties for the database.url should totally
read:
database.url=3D mysql://user:password@localhost:port/database
to prevent any such issues for those just filling in values in the file.
even after generating the wrappers properly and copy&pasting the draw
function in CategoryIndexPage.php from the tutorial, it renders a blank
page. i checked the php log and in fact it is a wrapper issue:
[13-May-2006 23:56:15] PHP Fatal error: Class 'CategoryWrapper' not found
in
/Volumes/local/Users/bananas/Sites/blog-wasp/Category/CategoryIndexPage.php
on line 46
line 46 is:
$oCategories =3D new CategoryWrapper();
Blog_config.php indicates that it knows where the wrappers should be:
//data object wrapper directory
registerPath('DB_HOME', '/Volumes/local/Users/bananas/Sites/blog-wasp/db/')=
;
and the wrappers are certainly there:
bananas.sea-urchin ~ -=3D> ls /Volumes/local/Users/bananas/Sites/blog-wasp/=
db/
CatagoryWrapper.php EntryWrapper.php dataobjects
bananas.sea-urchin ~ -=3D>
how strange, anyone have any ideas what happened here? seems as though i am
missing an include somewhere...
oh and the link to the blog tutorial screencast seems to be somewhat dead:
http://wasp.sourceforge.net/content/files/WASP-Demo.mov
cheers,
jean-pierre
|