Why do you try to include wp-blog-header.php in Symfony?

Any risk of name collisions between Symfony variables and WordPress
variables? Or constants?



On Sep 23, 4:14 pm, Nat <nattay...@gmail.com> wrote:
> Does anyone know anything about Wordpress + Symfony together?  Thanks
> in advance
>
> I've taken over development of a CMS built on symfony with Wordpress
> added on to manage the news (the CMS handles relatively static
> content, whereas the Wordpress handles day-to-day content.)
>
> The two systems run independently, except that the symfony CMS grabs
> the latest headlines and also blog URL from Wordpress.  This worked
> fine until Wordpress 2.8.4 (previous compatibility version was 2.7.2)
>
> The call that causes the symfony CMS to fail is "require_once('path/to/
> wp-blog-header.php'); This causes the symfony "render" command to fail
> and I get a blank page with no source.  Without the blog code,
> everything works fine.
>
> Here is the log:
> Sep 23 15:35:30 symfony [info] {sfRouting} connect "/"
> Sep 23 15:35:30 symfony [info] {sfRouting} connect "/synch/*"
> Sep 23 15:35:30 symfony [info] {sfRouting} connect "/optout"
> Sep 23 15:35:30 symfony [info] {sfRouting} connect "/process-optout"
> Sep 23 15:35:30 symfony [info] {sfRouting} connect "/"
> Sep 23 15:35:30 symfony [info] {sfRouting} connect "/symfony/:action/
> *"
> Sep 23 15:35:30 symfony [info] {sfRouting} connect "/:module"
> Sep 23 15:35:30 symfony [info] {sfRouting} connect "/:module/:action/
> *"
> Sep 23 15:35:30 symfony [info] {sfContext} initialization
> Sep 23 15:35:31 symfony [info] {sfController} initialization
> Sep 23 15:35:31 symfony [info] {sfRouting} match route [home] "/"
> Sep 23 15:35:31 symfony [info] {sfRequest} request parameters array
> (  'module' => 'main',  'action' => 'index',)
> Sep 23 15:35:31 symfony [info] {sfController} dispatch request
> Sep 23 15:35:31 symfony [info] {sfFilter} executing filter
> "sfRenderingFilter"
> Sep 23 15:35:31 symfony [info] {sfFilter} executing filter
> "sfWebDebugFilter"
> Sep 23 15:35:31 symfony [info] {sfFilter} executing filter
> "sfBasicSecurityFilter"
> Sep 23 15:35:31 symfony [info] {sfFilter} executing filter
> "sfCommonFilter"
> Sep 23 15:35:31 symfony [info] {sfFilter} executing filter
> "sfFlashFilter"
> Sep 23 15:35:31 symfony [info] {sfFilter} executing filter
> "sfExecutionFilter"
> Sep 23 15:35:31 symfony [info] {sfAction} call "mainActions->executeIndex()"
>
> Sep 23 15:35:31 symfony [info] {sfAction} change layout to
> "homeLayout"
> Sep 23 15:35:31 symfony [info] {sfView} initialize view for "main/
> index"
> Sep 23 15:35:31 symfony [info] {sfView} render "C:\wamp\www\main\apps
> \frontend\modules/main/templates/indexSuccess.php"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to