Hi,

I finally found the reason for this behavior.

My earlier workshops with  Jobeet where with version 1.2. and I had
cleaned away Jobeet.class  from lib-directory when starting workshop
with v. 1.4.

I put it back and now everything runs fine.

Strange is that I did not got any errors  due to lacking class file
though there were out several calls  to slugify-method of this class.

On 12 joulu, 16:12, George <hirv...@gmail.com> wrote:
> Hi,
>
> When refractoring  the action in the function  execute_index
>
> from call  $this->jobeet_job_list = 
> Doctrine::getTable('JobeetJob')->getActiveJobs();
>
> into  call
>  $this->categories = Doctrine::getTable('JobeetCategory')->getWithJobs
> ();
>
> I get a white page.
> when debugging getWithJobs with var_dump as follows
>
> public function getWithJobs()
>   {
>     $q = $this->createQuery('c')
>       ->leftJoin('c.JobeetJobs j')
>       ->where('j.expires_at > ?', date('Y-m-d H:i:s', time()));
>      var_dump($q);die();
>
>     return $q->execute();
>   }
> it ends up with infinite loop with lots of output into screen.
>
> Symfonys own error hangling gives no error.
> Problem seems to be alias handling  c.JobeetJobs
> So how to handle this?

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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