Module: Pages

Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Sat, 2013-03-16 02:15

Hello!

Thanks by this module!

Could you help me?

I´m trying to use it, but it´s giving an error.

Please, take a look:

----------------------------------------------------------------------

Kohana_404_Exception [ Page Not Found ]:
The page you requested, pages/show/Introdução, could not be found.

1. MODPATH/pages/controllers/pages.php[ 31 ]

26 ->where("name", "=", $page_name)
27 ->find_all();
28
29 // If it doesn't exist, display a 404 error.
30 if (count($existing_page) == 0) {
31 throw new Kohana_404_Exception();
32 }
33
34 // Set up breadcrumbs.
35 $breadcrumbs = array();
36 $root = item::root();
----------------------------------------------------------------------

2.{Chamada interna do PHP} » Pages_Controller->show( argumentos )

page_name
string(12) "Introdução"
----------------------------------------------------------------------

3.SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( argumentos )

object
array(0)
args
array(1) (
0 => string(12) "Introdução"
)
----------------------------------------------------------------------

4. {Chamada interna do PHP} » Kohana_Core::instance( argumentos )

0
NULL
----------------------------------------------------------------------

5. SYSPATH/core/Event.php[ 208 ] » call_user_func_array( argumentos )

function_name
array(2) (
0 => string(6) "Kohana"
1 => string(8) "instance"
)
parameters
array(1) (
0 => NULL
)
----------------------------------------------------------------------

6. APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( argumentos )

name
string(14) "system.execute"
----------------------------------------------------------------------

7. DOCROOT/index.php[ 113 ] » require( argumentos )

0
string(64) "/home/obrasdarte/www/galeriaobrasdarte/application/Bootstrap.php"
----------------------------------------------------------------------

Thanks,

Tony

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Sun, 2013-03-17 18:10

Just guessing here, but it may not like the characters used in the name "Introdução"

Try renaming the page to "Introducao"