On Apr 21, 1:36 pm, Lawrence Krubner <[email protected]> wrote:
> So, I've been having some troubles. We just moved a new site (we'd
> barely started work on it, really) from a server that had been running
> Symfony 1.1 to a new server running 1.2. As Lee Bolding said, moving
> and upgrading at the same time guarantees some pain. But I've been
> reading tutorials and forum posts and now it seems we've most of the
> issues worked out.
>
> But here is one that still puzzles me. The front page gives a
> "Template not set" error:
>
> http://lawrence.sds5.com/esociety/web/test_dev.php/
>
> Other pages render:
>
> http://lawrence.sds5.com/esociety/web/test_dev.php/comment/index
>
> So this problem is just with the front page. Perhaps basic routing
> stuff changed between version 1.1 and 1.2? This is the whole of my
> routing.yml file:
>
> # default rules
> homepage:
> url: /
> param: { module: dashboard, action: index }
>
> default_symfony:
> url: /symfony/:action/*
> param: { module: default }
>
> default_index:
> url: /:module
> param: { action: index }
>
> default:
> url: /:module/:action/*
>
> This page was working on the old server, but now it is not.
>
> In the actions.class.php of the dashboard module, I attempted to make
> the template explicit:
>
> public function executeIndex($request)
> {
> $this->setTemplate('index');
> }
>
> This has no effect.
>
> Any ideas what I should look to fix?
Okay, I got this working now.
In fact, the whole site is working. We've successfully upgraded from
Symfony 1.1 to 1.2.
I'll say again, the upgrade is much harder than what I'd expect from a
small increment number upgrade.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---