Cannot make a section on the same level of Publication

General discussions from the users' point of view
Discussioni generali dal punto di vista degli utenti

Cannot make a section on the same level of Publication

Postby orazio.nelson » 17 Jul 2010, 13:31

Hallo,
I'm trying to create a new section on the same level of default "Publication" section, but the result is a blank page with some errors (debug level 2)

Warning (2): Missing argument 1 for AreasController::view(), called in C:\xampp\htdocs\bedita\cake\libs\object.php on line 116 and defined [APP\controllers\modules\areas_controller.php, line 47]
Code
AreasController::view() - APP\controllers\modules\areas_controller.php, line 47
Object::dispatchMethod() - CORE\cake\libs\object.php, line 116
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194
[main] - APP\webroot\index.php, line 89
Notice (8): Undefined variable: id [APP\controllers\modules\areas_controller.php, line 49]
Code
AreasController::view() - APP\controllers\modules\areas_controller.php, line 49
Object::dispatchMethod() - CORE\cake\libs\object.php, line 116
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194
[main] - APP\webroot\index.php, line 89
Notice (8): Undefined variable: id [APP\controllers\modules\areas_controller.php, line 50]
Code | Context
AreasController::view() - APP\controllers\modules\areas_controller.php, line 50
Object::dispatchMethod() - CORE\cake\libs\object.php, line 116
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194
[main] - APP\webroot\index.php, line 89

Fatal error: Class name must be a valid object or a string in C:\xampp\htdocs\bedita\cake\libs\class_registry.php on line 140


How to solve the problem?

tnx
nelson
orazio.nelson
 
Posts: 2
Joined: 13 Jul 2010, 19:26

Re: Cannot make a section on the same level of Publication

Postby alberto pagliarini » 02 Aug 2010, 08:37

Hi orazio.nelson,

the default "Publication" item you find in Publishing module is the root of the section's tree. It's the container of an entire publication (your web site for example). Sections reside inside a publication. If you want to create another publication you have to click on "New Publication" but keep in mind that is a distinct entity (another web site). In this way BEdita can handle multiple websites with the same backend and so you can reuse your contents for many publications.

hope it helps you
alberto
alberto pagliarini
BEdita Dev Staff
BEdita Dev Staff
 
Posts: 43
Joined: 18 Jun 2009, 20:11


Return to How to use BEdita / Come usare BEdita

Who is online

Users browsing this forum: No registered users and 1 guest

cron