|
From: Jon <jo...@3e...> - 2003-03-10 19:07:36
|
hi! Recently installed OI, all working fine, looks great, dead chuffed, mum's proud. Two things: 1) [probably a documentation issue] Following http://openinteract.sourceforge.net/docs/developer.shtml ... setting up the 'fruit' package, changing only the name of the demo code from 'fruit' to 'demo', and changing the spec of the initial MySQL table. All was going fine, including... oi_manage --base_dir=/usr/local/OpenInteract --package_file=demo-0.01.tar.gz install_package But All Of A Sudden: [root@3evtowers demo]# oi_manage --base_dir=/usr/local/OpenInteract --website_dir=/home/httpd/OIdemo --package=demo apply_package Running apply_package... ========================= Status of the packages you requested to be applied: demo (0.01) FAILED!: Cannot install package to website. Error: Website name not set in package object. Hard to trace, as I cannot find this defined anywhere - the error is indeed accurate! :) Saying where "Website name" is set might make the error msg more useful if that's unproblematic. FWIW my package.conf the default one spat out by the create_skeleton. I can give more stats as to my environment as required, not posting 'em now cos I had the whole thing working. Just can't apply my new package :( 2) [documentation/idiot-proofing/functionality tweak] Out-of-the-box do Pages > Create. For location put something a bit silly like oooooohhh 'demopage'. Add some copy, save it ("Status Object created properly."), view it - 404 error. Now it can be seen in the list, but can't be edited cos it can't be found, so you can't remove it through the UI as far as I can see. How do you delete it safely - I assume ripping out of the DB isn't as it would mess up some internal records of OI? (I have no problems using '/demopage.html' etc). Failing that, maybe change the "Must be unique; use only letters and numbers, no spaces or other characters" copy by the Location: widget to be more all-inclusive, or surely it's possible not to create the page in the 1st place if OI predicts it will result in a 404 (can't see why this shouldn't be possible). Apart from that it looks really cool, sitting nicely between bare templating systems and overweight CMS's. I've been evaluating mod_perl-y things like this for about a month and I'd like to settle with OI. TIA, jon |