Problems under symfony 1.3

1 view
Skip to first unread message

ian

unread,
Dec 5, 2009, 3:24:53 PM12/5/09
to pkcontextcms
hi,

I'm having problems with pkContextCMS under 1.3. It's extremely slow
(the symfony toolbar shows >1s for the configuration alone) and the
routes starting with "admin/" are not registered.

This happens when upgrading the cmstest demo-project to 1.3 and also
when installing the plugins into a symfony 1.3 project. Has anyone
experienced similar issues or perhaps could offer some ideas as to how
to fix these?

thanks, ian

Tom Boutell

unread,
Dec 5, 2009, 5:13:01 PM12/5/09
to pkcont...@googlegroups.com
Ian, did you have a different experience under Symfony 1.2?

Do you have APC enabled?

I'm not sure what you mean when you say that the routes starting with
admin/ are not registered. Are you saying there are features that are
not working?

We are using pkContextCMS under 1.3 in a client project that's in
staging right now, with no difficulties thus far.
> --
>
> You received this message because you are subscribed to the Google Groups "pkcontextcms" group.
> To post to this group, send email to pkcont...@googlegroups.com.
> To unsubscribe from this group, send email to pkcontextcms...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pkcontextcms?hl=en.
>
>
>



--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

ian

unread,
Dec 5, 2009, 6:16:47 PM12/5/09
to pkcontextcms
I didn't experience any issues in symfony 1.2.X. APC is turned off.

In symfony 1.2 the dev-log contains approx. 20 messages (of the type)
"Connect sfDoctrineRoute "pk_user_admin_show" (/admin/
user/:id.:sf_format)", none however in symfony 1.3. No difference for
the routes whose associating URL does not start with /admin, e.g.
'Connect sfRoute "pk_media_image_show" (/media/view/:slug)' shows up
in both logfiles.

Are you using a special symfony config? I've tested this with the
latest version of your cmstest demo-app, PHP 5.3.0 (the version that
comes with OS X Snow Leopard).
I will give it a try it on our production server tomorrow.

ian

On Dec 5, 10:13 pm, Tom Boutell <t...@punkave.com> wrote:
> Ian, did you have a different experience under Symfony 1.2?
>
> Do you have APC enabled?
>
> I'm not sure what you mean when you say that the routes starting with
> admin/ are not registered. Are you saying there are features that are
> not working?
>
> We are using pkContextCMS under 1.3 in a client project that's in
> staging right now, with no difficulties thus far.
>
>
>
>
>
> On Sat, Dec 5, 2009 at 3:24 PM, ian <ian.m.banfi...@googlemail.com> wrote:
> > hi,
>
> > I'm having problems with pkContextCMS under 1.3. It's extremely slow
> > (the symfony toolbar shows >1s for the configuration alone) and the
> > routes starting with "admin/" are not registered.
>
> > This happens when upgrading the cmstest demo-project to 1.3 and also
> > when installing the plugins into a symfony 1.3 project. Has anyone
> > experienced similar issues or perhaps could offer some ideas as to how
> > to fix these?
>
> > thanks, ian
>
> > --
>
> > You received this message because you are subscribed to the Google Groups "pkcontextcms" group.
> > To post to this group, send email to pkcont...@googlegroups.com.
> > To unsubscribe from this group, send email to pkcontextcms...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/pkcontextcms?hl=en.

Tom Boutell

unread,
Dec 5, 2009, 9:44:04 PM12/5/09
to pkcont...@googlegroups.com
pk_user_admin_show is an admin generator route. Perhaps those log
differently in 1.3.

If you are using 1.3 then you should be using:

http://svn.symfony-project.com/plugins/pkContextCMSPlugin/sandbox/branches/1.3

As your cmstest project svn URL. Is that what you're using?

I'm not using a special Symfony config, just a checkout of the above
project with the Symfony it pulls down to lib/vendor as an external.

I can get into the users admin area and use the site in general without trouble.

PHP 5.3.0 was very bleeding edge and rather broken, I don't know what
possessed Apple to ship it. They improved their PHP build a lot in
Snow Leopard but choosing 5.3.0 instead of the latest in the 5.2.x
series was a mistake, unless perhaps they intend to push updates
(soon!). I'm using 5.3.1 via MacPorts, which I'm finding to be stable.

APC is not really optional for big PHP libraries like Symfony +
Doctrine + pkContextCMS with lots of classes. The memory and
performance impact of not having all those class files precompiled is
huge, just really ugly... would you recompile your kernel to boot your
Mac every time?

I wish Fabien would simply list it as a requirement, because otherwise
Symfony looks bad in benchmarks done without it. A bytecode cache
should have been in PHP from the beginning, oh well.
> For more options, visit this group at http://groups.google.com/group/pkcontextcms?hl=en.
Reply all
Reply to author
Forward
0 new messages