Demoapp Setup Wizard

Hi,

I downloaded the openbiz from svn to my local windows xp. I ran the Demoapp setup wizard to the last step. At  step 3: Application Configuration the startus column shows OK. When I click Finish, I get the following:

[2010-07-23 02:51:56 (GMT)] An exception occurred while executing this script:
Error message: #256, Unable to location template file view_home.tpl.
Script name and line number of error: C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\Resource.php:283

function: errorHandler ( 256, "Unable to location template file view_home.tpl.", "C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\Resource....", 283, Array(11) ) @ C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\sysheader.inc 117
function: userErrorHandler ( 256, "Unable to location template file view_home.tpl.", "C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\Resource....", 283, Array(11) ) @
function: trigger_error ( "Unable to location template file view_home.tpl.", 256 ) @ C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\Resource.php 283
function: getTplFileWithPath ( "view_home.tpl", "easy" ) @ C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\BizSystem.php 544
function: getTplFileWithPath ( "view_home.tpl", "easy" ) @ C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\easy\ViewRenderer.php 37
function: render ( Object(EasyView) ) @ C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\easy\EasyView.php 274
function: _render ( ) @ C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\easy\EasyView.php 237
function: render ( ) @ C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\BizController.php 221
function: renderView ( "easy.v_Home", "", "", Null, "" ) @ C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\BizController.php 107
function: dispatchRequest ( ) @ C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\BizController.php 32
function: include_once ( "C:\Program Files\Zend\Apache2\htdocs\myapp\openbiz\bin\BizContro..." ) @ C:\Program Files\Zend\Apache2\htdocs\myapp\baseapp\bin\controller.php 7

Any help will be appreciated.

 

Thans,

 

Kenotu.

I just followed "kenotu on

I just followed "kenotu on Fri, 07/23/2010 - 23:36." to look into it, and found it was due to something mismatch between the folder tree and the code in file 'openbiz/bin/Resource.php'. The following is a list of all folders named 'template*' under baseapp.

 

baseapp/js/ckeditor/plugins/templates
baseapp/js/ckeditor/plugins/templates/templates
baseapp/modules/common/templates
baseapp/modules/easy/templates
baseapp/modules/tool/templates
baseapp/modules/trac/templates
baseapp/themes/default/templates

 

 But code in function Resource::getTplFileWithPath() searches '*/template/*' only rather than '*/templates/*' either. Anyhow, it helps nothing by just fixing Resource::getTplFileWithPath(), since baseapp (abandoned ?) is as if not compatible with openbiz-2.4 core any more ...

Regretfully to see that the '*/jim/*' part was missing in the link given by "support on Mon, 07/26/2010 - 14:05.", so I looked either into appbuilder and cubi folders, and found mixed '*/template/*' and '*/templates/*' like in the following.

appbuilder/modules/tool/template
appbuilder/templates

and

cubi/js/ckeditor/plugins/templates
cubi/js/ckeditor/plugins/templates/templates
cubi/modules/cache/template
cubi/modules/collaboration/template
...
cubi/modules/translation/template
cubi/modules/user/template
cubi/themes/adafith/template
cubi/themes/default/template

Is that intended?

Sorry for the naming issue

Sorry for the naming issue on template and templates. Something to clarify:

  1. Cubi is the active official application platform based on Openbiz 2.4 core
  2. Baseapp is no longer the official reference app. Like you found, it is not compatible with 2.4
  3. "template" is the correct name used in Cubi code. "templates" as folder name is deprecated
  4. 3rd party library might include "templates". E.g. CKEditor. It is not Cubi standard.

- support

Please use Cubi instead of

Please use Cubi instead of baseapp. Cubi document can be found
at http://www.phpopenbiz.org/jim/node/522

- support